Sothink Dhtml ile hazılanan menü görünmüyor[çözüldü]

Kodla Büyü

erdogan_y

Seçkin Üye
Seçkin Üye
Mesajlar
387
Arkadaşlar Sothink DHTML programı ile menü hazırladım, yerel olarak çalışıyor ama sunucuya attığım zaman çalışmıyor. Linkleri filan değiştiriyorum ama servera yüklediğimde menü görünmüyor. Ne yapabilirim.
 
Re: Sothink Dhtml ile hazılanan menü görünmüyor

javascript sunucu taraflı değil browser taraflı çalışan bir dildir. kendi bilgisayarında çalışıp da sunucuda çalışmaması için hiç bir neden yok.
hata sendedir, muhtemelen dosyaların yolu yanlıştır. file:\\C:\\\... gibi yolları düzelt...
 
Re: Sothink Dhtml ile hazılanan menü görünmüyor

Rüzgara Karşı' Alıntı:
javascript sunucu taraflı değil browser taraflı çalışan bir dildir. kendi bilgisayarında çalışıp da sunucuda çalışmaması için hiç bir neden yok.
hata sendedir, muhtemelen dosyaların yolu yanlıştır. file:\\C:\\\... gibi yolları düzelt...
st_siteroot="file:///E|/siteismi";
yukarıdaki bölümü sunucuya göre nasıl değiştirmeliyim.
 
Re: Sothink Dhtml ile hazılanan menü görünmüyor

erdogan_y' Alıntı:
Rüzgara Karşı' Alıntı:
javascript sunucu taraflı değil browser taraflı çalışan bir dildir. kendi bilgisayarında çalışıp da sunucuda çalışmaması için hiç bir neden yok.
hata sendedir, muhtemelen dosyaların yolu yanlıştır. file:\\C:\\\... gibi yolları düzelt...
st_siteroot="file:///E|/siteismi";
yukarıdaki bölümü sunucuya göre nasıl değiştirmeliyim.
hmmm bu dizinin amacı ne? "/" yapmayı dene...
diğer dosyaların yollarına da bakmayı unutma
 
Re: Sothink Dhtml ile hazılanan menü görünmüyor

öncelikle hocam tşk. kodlar aşağıdaki gibi değiştirmem gereken yerler nasıl olması gerekiyor.
Kod:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Başlıksız Belge</title>


<script type="text/javascript" id="sothink_dhtmlmenu"> <!--
 st_siteroot="file:///E|/deneme";
 st_jspath="/stmenu.js";
 if(!window.location.href.indexOf("file:") && st_jspath.charAt(0)=="/")
  document.write('<script type="text/javascript" src="'+st_siteroot+st_jspath+'"><\/script>');
 else 
  document.write('<script type="text/javascript" src="'+st_jspath+'"><\/script>');
//--> </script>
</head>

<body>
<table width="100%" border="0">
  <tr>
    <td><a href="http://www.dhtml-menu-builder.com"  style="display:none;visibility:hidden;">Javascript DHTML Drop Down Menu Powered by dhtml-menu-builder.com</a>
<script type="text/javascript">
<!--
stm_bm(["menu4d8f",900,"/","blank.gif",0,"","",0,0,0,0,50,1,0,0,"","",0,0,1,1,"default","hand","file:///E|/deneme",1,25],this);
stm_bp("p0",[0,4,0,0,0,4,0,16,100,"",-2,"",-2,90,0,0,"#999999","transparent","",3,0,0,"#E6FAB4 #788C32 #788C32 #E6FAB4"]);
stm_ai("p0i0",[0,"Home","","",-1,-1,0,"#","_self","","","","",0,0,0,"","",0,0,0,1,1,"#9cc2c9",0,"#9cc2c9",0,"","",3,3,1,1,"#BEE6F0 #64878C #64878C #BEE6F0","#64878C #BEE6F0 #BEE6F0 #64878C","#333366","#333366","bold 8pt Arial","bold 8pt Arial",0,0,"","","","",0,0,0],80,20);
stm_aix("p0i1","p0i0",[0,"Products","","",-1,-1,0,"#","_self","","","","",0,0,0,"0604scroll2ldlalr.gif","0604scroll2ldlalr.gif",16,9],90,20);
stm_bp("p1",[1,4,0,0,0,4,0,0,100,"",-2,"",-2,58,0,0,"#999999","transparent","",3,0,0,"#000000"]);
stm_aix("p1i0","p0i0",[0,"Sothink DHTMLMenu","","",-1,-1,0,"#","_self","","","","",0,0,0,"","",0,0,0,0,1,"#e6e6e6",0,"#e6e6e6",0,"","",3,3,1,1,"#FFFFFF #A0A0A0 #A0A0A0 #FFFFFF","#A0A0A0 #FFFFFF #FFFFFF #A0A0A0","#4B4B4B","#000000","8pt Arial","8pt Arial"],120,20);
stm_aix("p1i1","p1i0",[],120,20);
stm_aix("p1i2","p1i0",[0,"Sothink DHTMLMenu","","",-1,-1,0,"#","_self","","","","",0,0,0,"","",0,0,0,0,1,"#e6e6e6",0,"#e6e6e6",0,"","",3,3,1,1,"#FFFFFF #A0A0A0 #A0A0A0 #FFFFFF","#FFFFFF #A0A0A0 #A0A0A0 #FFFFFF","#999999","#999999"],120,20);
stm_aix("p1i3","p1i0",[],120,0);
stm_aix("p1i4","p1i0",[],120,0);
stm_aix("p1i5","p1i0",[],120,0);
stm_ep();
stm_aix("p0i2","p0i0",[0,"Contact"],80,20);
stm_aix("p0i3","p0i1",[0,"Download"],90,20);
stm_bpx("p2","p1",[]);
stm_aix("p2i0","p1i0",[],120,20);
stm_aix("p2i1","p1i0",[],120,20);
stm_aix("p2i2","p1i0",[],120,20);
stm_ep();
stm_aix("p0i4","p0i0",[0,"Search"],80,20);
stm_aix("p0i5","p0i0",[0,"Sitemap"],80,20);
stm_ep();
stm_em();
//-->
</script>

    
</td>
  </tr>
</table>
</body>
</html>
 
Re: Sothink Dhtml ile hazılanan menü görünmüyor

Kod:
st_siteroot="file:///E|/deneme";
st_jspath="/stmenu.js";
yerine
Kod:
st_siteroot="";
st_jspath="stmenu.js";
yaz.
kodun bir yerinde "file:///E|/deneme" var. bunun yerine "/" koy, o olmazsa "" koy.
Kod:
if(!window.location.href.indexOf("file:") && st_jspath.charAt(0)=="/")
  document.write('<script type="text/javascript" src="'+st_siteroot+st_jspath+'"><\/script>');
else
  document.write('<script type="text/javascript" src="'+st_jspath+'"><\/script>');
yerine
Kod:
  document.write('<script type="text/javascript" src="'+st_jspath+'"><\/script>');
yaz.
yapamazsan dizini zipleyip bana yolla, bakarım...
 
merhabalar...

benim dosyalarda herhangi bir problem olmamasına rağmen aynı problem bende de var. template olarak yapıyorum ama dreamveaverda gorunsede f5 yaptığımda goruntude menu olmuyor. tam olarak problem ne anlayamadım yardımcı olursanız sevinirim.
 
eris' Alıntı:
merhabalar...

benim dosyalarda herhangi bir problem olmamasına rağmen aynı problem bende de var. template olarak yapıyorum ama dreamveaverda gorunsede f5 yaptığımda goruntude menu olmuyor. tam olarak problem ne anlayamadım yardımcı olursanız sevinirim.
dreamweaver'daki görünüm moduna aldanma, senin dosya yollarında da sorun vardır...
 
Hocam söylediklerinizi yaptım ama bir türlü sothing dhtml menü gözükmedi.
Kodlar aşağıda yardımlarınızı bekliyorum, iyi çalışmalar..

Kod:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script type="text/javascript" id="sothink_dhtmlmenu"> <!--
 st_siteroot="/";
 st_jspath="stmenu.js";
 document.write('<script type="text/javascript" src="'+st_jspath+'"><\/script>');
//--> </script>
</head>

<body>
<span><a href="http://www.dhtml-menu-builder.com"  style="display:none;visibility:hidden;">Javascript DHTML Drop Down Menu Powered by dhtml-menu-builder.com</a>
<script id="sothink_widgets:dwwidget_dhtmlmenu7_10_2010.pgt" type="text/javascript">
<!--
stm_bm(["menu79fb",940,"/","blank.gif",0,"","",1,0,250,0,500,1,0,0,"","",0,0,1,2,"hand","hand","file:///K|/Documents%20and%20Settings/Ali%20Hayati%20Ateş/Desktop",1,25],this);
stm_bp("p0",[0,4,0,0,0,0,0,7,100,"",-2,"",-2,50,0,0,"#999999","transparent","",3,0,0,"#000000","",-1,-1,0,"","",3,"",20,20,0,"","you-big1.gif",3,"",-1,-1,0,"","",3,"",20,20,0,"","zuo-big1.gif",3,"","","","",20,20,20,20,20,20,20,20]);
stm_ai("p0i0",[0,"Anasayfa","","",-1,-1,0,"#","_self","","","","",0,0,0,"","",0,0,0,1,1,"#E6EFF9",1,"#FFD602",1,"middle.gif","2-middle.gif",3,3,0,0,"#E6EFF9","#000000","#FFFFFF","#000000","bold 8pt Verdana","bold 8pt Verdana",0,0,"middle.gif","2-left.gif","right.gif","2-right.gif",2,2,41],126,41);
stm_aix("p0i1","p0i0",[0,"Ürünler","","",-1,-1,0,"#","_self","","","","",0,0,0,"","",7,7,0,1,1,"#E6EFF9",1,"#FFD602",1,"middle.gif","2-middle.gif",3,3,0,0,"#E6EFF9","#000000","#FFFFFF","#000000","bold 8pt Verdana","bold 8pt Verdana",0,0,"left.gif"],126,41);
stm_bp("p1",[1,4,0,0,0,0,0,7,100,"progid:DXImageTransform.Microsoft.Wipe(GradientSize=1.0,wipeStyle=1,motion=forward,enabled=0,Duration=0.30)",5,"progid:DXImageTransform.Microsoft.Wipe(GradientSize=1.0,wipeStyle=1,motion=reverse,enabled=0,Duration=0.30)",4,80,0,0,"#999999","transparent","",3,0,0,"#000000"]);
stm_aix("p1i0","p0i0",[0,"Ledler","","",-1,-1,0,"#","_self","","","","",0,0,0,"","",7,7,0,1,1,"#E6EFF9",1,"#FFD602",1,"3-middle.gif","2-middle.gif",3,3,0,0,"#E6EFF9","#000000","#FFFFFF","#000000","bold 8pt Verdana","bold 8pt Verdana",0,0,"3-left.gif","2-left.gif","3-right.gif"],200,33);
stm_bpx("p2","p1",[1,2,0,0,0,0,0,0]);
stm_aix("p2i0","p1i0",[0,"Led Nedir?","","",-1,-1,0,"#","_self","","","","",0,0,0,"","",0,0],250,33);
stm_aix("p2i1","p2i0",[0,"150W Akıllı Sokak Lambası"],250,33);
stm_aix("p2i2","p2i0",[0,"Pozitif Solar Led Projektörler"],250,33);
stm_aix("p2i3","p2i0",[0,"Led Trafik ve İşaret Lambaları"],250,33);
stm_aix("p2i4","p2i0",[0,"Süper Fluxe Projektörler"],250,33);
stm_aix("p2i5","p2i0",[0,"Power Ledler"],250,33);
stm_aix("p2i6","p2i0",[0,"Ledli Sokak Aydınlatma Armatürleri"],250,33);
stm_aix("p2i7","p2i0",[0,"Yeni Teknoloji Led Armatürler"],250,33);
stm_aix("p2i8","p2i0",[0,"206 ve 306 Led Sokak Armatürleri"],250,33);
stm_ep();
stm_aix("p1i1","p1i0",[0,"Sox Lamba İle Aydınlatma"],200,33);
stm_bpx("p3","p2",[]);
stm_aix("p3i0","p2i0",[0,"Sox 36W Lamba İle Aydınlatma"],126,33);
stm_aix("p3i1","p2i0",[0,"Sox E66W Lamba İle Aydınlatma"],126,33);
stm_aix("p3i2","p2i0",[0,"Sox E91W Lamba İle Aydınlatma"],126,33);
stm_ep();
stm_aix("p1i2","p2i0",[0,"RGB Aydınlatma"],200,33);
stm_aix("p1i3","p1i0",[0,"Bataryalar"],200,33);
stm_bpx("p4","p2",[]);
stm_aix("p4i0","p2i0",[0,"Jel Tipi Bataryalar"],126,33);
stm_aix("p4i1","p2i0",[0,"Kuru Tip Bataryalar"],126,33);
stm_aix("p4i2","p2i0",[0,"Az Bakımlı Stasyoner Aküler"],126,33);
stm_ep();
stm_aix("p1i4","p2i0",[0,"Panel Bağlantı Kabloları\r\n"],200,33);
stm_aix("p1i5","p2i0",[0,"Panel Montaj Sehbaları"],200,33);
stm_aix("p1i6","p2i0",[0,"Light Box"],200,33);
stm_aix("p1i7","p2i0",[0,"Solar Power Box"],200,33);
stm_aix("p1i8","p2i0",[0,"Şarj Regülatörleri"],200,33);
stm_aix("p1i9","p2i0",[0,"Voltaj Regülatörleri"],200,33);
stm_aix("p1i10","p2i0",[0,"İnvertörler"],200,33);
stm_aix("p1i11","p2i0",[0,"Karanlık Sensörleri"],200,33);
stm_ep();
stm_aix("p0i2","p0i1",[0,"Güneş Enerjisi Sistemleri"],220,41);
stm_bpx("p5","p1",[]);
stm_aix("p5i0","p1i0",[0,"Genel bilgiler"],220,33);
stm_bpx("p6","p2",[]);
stm_aix("p6i0","p2i0",[0,"Solar Hücreler"],126,33);
stm_aix("p6i1","p2i0",[0,"Güneş Panelleri"],126,33);
stm_aix("p6i2","p2i0",[0,"Monokristal Paneller"],126,33);
stm_aix("p6i3","p2i0",[0,"Polikristal Paneller"],126,33);
stm_ep();
stm_aix("p5i1","p2i0",[0,"Ev ve İşyeri Aydınlatması"],220,33);
stm_aix("p5i2","p2i0",[0,"Cadde ve Sokak Aydınlatması"],220,33);
stm_aix("p5i3","p2i0",[0,"Solar GSM Baz İstasyonu"],220,33);
stm_aix("p5i4","p2i0",[0,"Sistem Beslemesi"],220,33);
stm_aix("p5i5","p2i0",[0,"Tarımda Solar Enerji Kullanımı"],220,33);
stm_ep();
stm_aix("p0i3","p0i1",[0,"Solar Galeri"],126,41);
stm_bpx("p7","p2",[1,4]);
stm_aix("p7i0","p2i0",[0,"Resim Galerisi"],126,33);
stm_ep();
stm_aix("p0i4","p0i0",[0,"Kataloglarımız","","",-1,-1,0,"#","_self","","","","",0,0,0,"","",7,7,0,1,1,"#E6EFF9",1,"#FFD602",1,"middle.gif","2-middle.gif",3,3,0,0,"#E6EFF9","#000000","#FFFFFF","#000000","bold 8pt Verdana","bold 8pt Verdana",0,0,"left.gif","2-left.gif","middle.gif","2-right-noborder.gif",2,1],126,41);
stm_bpx("p8","p7",[]);
stm_aix("p8i0","p2i0",[0,"Türkçe"],126,33);
stm_aix("p8i1","p2i0",[0,"English"],126,33);
stm_ep();
stm_aix("p0i5","p0i4",[0,"Bize Ulaşın","","",-1,-1,0,"#","_self","","","","",0,0,0,"","",0,0],126,41);
stm_ep();
stm_em();
//-->
</script>
</span>
</body>
</html>
 
:D çok teşekkür ederim kardeş. Sanırım problem js ve image dosyalarını çağırırken yanlış çağırmışım.

İyi çalışmalar..
 
Kardeş anlayamadım söylediğini. Java gerekmez diyorsun sende java ile çağırmışsın sayfaya. Birde swf derken pgt dosyasını mı kastediyorsun?


İyi çalışmalar..
 
hocam bu tür dosya dizin sorunlar çıkmaması için siteyi dreamweaver a tanımlı hale getrin (site-new site menüsünden). yolları otomatik olarak düzenlenecektir. aksi halde yollar url://C:.... şeklinde görünür o zamanda lokalde çalışır sunucuda çalışmaz
 
BBNET
Geri
Üst