Forum » Programiranje » Dreamweaver mouseover koda problem
Dreamweaver mouseover koda problem
s-rok ::
Zdravo!
Imam en majhen problem...namreč ko odprem .html dokument v Firefoxu deluje vredu, medtem ko pa v drugih brskalnikih pa ne deluje tako kot bi moralo...tukaj vam prilagam še kodo in internetno stran, kjer je koda uporabljena...
link do strani
Upam, da boste ugotovili za kaj se gre:)
Hvala lepa in Lep pozdrav
Rok S
Imam en majhen problem...namreč ko odprem .html dokument v Firefoxu deluje vredu, medtem ko pa v drugih brskalnikih pa ne deluje tako kot bi moralo...tukaj vam prilagam še kodo in internetno stran, kjer je koda uporabljena...
link do strani
<sub> <script type="text/javascript"> <!-- function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; } function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && d.getElementById) x=d.getElementById(n); return x; } function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } //--> </script> </head> <body> <p><a href="http://www.ilirska-bistrica.si/" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('1','','http://www.shrani.si/f/3z/Bi/1oDPrcLA/b.png',1)"><img src="http://www.shrani.si/f/27/VN/wPtVXqk/a.png" alt="Občina Ilirska Bistrica" name="1" width="120" height="120" border="0" id="1" /></a> <a href="http://www.givo.si/" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('2','','http://www.shrani.si/f/z/112/2OPLMdeI/b.png',2)"><img src="http://www.shrani.si/f/3t/5u/3GIOhLWH/a.png" alt="Givo" name="2" width="120" height="120" border="0" id="2" /></a> <a href="http://www.banka-koper.si/" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('3','','http://www.shrani.si/f/2F/9G/4PA6dQuE/b.png',3)"><img src="http://www.shrani.si/f/3d/nd/4ymYOvUt/a.png" alt="Banka Koper" name="3" width="120" height="120" border="0" id="3" /></a> <a href="http://www.plama-pur.si/" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('4','','http://www.shrani.si/f/1S/CR/2EGMxyoh/b.png',4)"><img src="http://www.shrani.si/f/3h/NA/IehMyGb/a.png" alt="Plama-pur" name="4" width="120" height="120" border="0" id="4" /></a> <a href="http://www.triglav.si/" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('5','','http://www.shrani.si/f/3D/YX/TMzHDJf/b.png',5)"><img src="http://www.shrani.si/f/2n/13k/1TKUuJGk/a.png" alt="Triglav" name="5" width="120" height="120" border="0" id="5" /></a></p> <p><a href="http://www.kompas-mts.si/" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('6','','http://www.shrani.si/f/c/c/AxMCVVJ/b.png',6)"><img src="http://www.shrani.si/f/2K/am/1J9yzQeD/a.png" alt="Kompas MTS" name="6" width="120" height="120" border="0" id="6" /></a> <a href="http://www.primorje.si/" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('7','','http://www.shrani.si/f/2H/10M/4YgnqlUW/b.png',7)"><img src="http://www.shrani.si/f/8/Kt/1UKEJZGj/a.png" alt="Primorje" name="7" width="120" height="120" border="0" id="7" /></a> <a href="http://www.delo.si/" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('8','','http://www.shrani.si/f/3l/EF/1ywxZkbU/b.png',8)"><img src="http://www.shrani.si/f/1p/gn/3PESnac4/a.png" alt="Delo.si" name="8" width="120" height="120" border="0" id="8" /></a> <a href="http://www.skb.si/" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('9','','http://www.shrani.si/f/2s/MP/21xzl2xq/b.png',9)"><img src="http://www.shrani.si/f/V/JO/1pyEzVl3/a.png" alt="SKB Banka" name="9" width="120" height="120" border="0" id="9" /></a> <a href="http://www.javor.si/" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('10','','http://www.shrani.si/f/40/eq/2zN6WKO3/b.png',10)"><img src="http://www.shrani.si/f/34/lx/EM01sNG/a.png" alt="Javor" name="10" width="120" height="120" border="0" id="10" /></a></p> <p><a href="http://www.schenker.si/" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('11','','http://www.shrani.si/f/b/h7/3m4pDjOX/b.png',11)"><img src="http://www.shrani.si/f/3s/Ph/4PCXBSJx/a.png" alt="InterTRANS" name="11" width="120" height="120" border="0" id="11" /></a> <a href="http://www.ilirika.si/" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('12','','http://www.shrani.si/f/42/5N/4ZybeSW9/b.png',12)"><img src="http://www.shrani.si/f/2n/10/1RfEGmqD/a.png" alt="Ilirika" name="12" width="120" height="120" border="0" id="12" /></a> <a href="http://www.bess.si/" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('13','','http://www.shrani.si/f/L/u7/181PqGd4/b.png',13)"><img src="http://www.shrani.si/f/2F/dE/4JTiuicl/a.png" alt="Bess" name="13" width="120" height="120" border="0" id="13" /></a> <a href="http://www.grafik.si/" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('14','','http://www.shrani.si/f/r/51/4HrBJJiL/b.png',14)"><img src="http://www.shrani.si/f/2Y/Oz/LVuzHAx/a.png" alt="Grafik" name="14" width="120" height="120" border="0" id="14" /></a> <a href="http://www.ozs.si/" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('15','','http://www.shrani.si/f/Y/4r/LvzV2OT/b.png',15)"><img src="http://www.shrani.si/f/1N/qi/2ezwlcND/a.png" alt="Obrtno-podjetniška zbornica Slovenije" name="15" width="120" height="120" border="0" id="15" /></a></p> <p><a href="http://www.euro-mb.si/" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('16','','http://www.shrani.si/f/2y/rA/2zrpWweT/b.png',16)"><img src="http://www.shrani.si/f/2e/wj/ie8ccUt/a.png" alt="Euro-mb" name="16" width="120" height="120" border="0" id="16" /></a> <a href="http://www.teles.si/" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('17','','http://www.shrani.si/f/1m/9a/XZ2Yw85/b.png',17)"><img src="http://www.shrani.si/f/3o/s5/4MciLvDI/a.png" alt="Teles" name="17" width="120" height="120" border="0" id="17" /></a> <a href="http://www.pro-tom.si/" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('18','','http://www.shrani.si/f/2I/Cz/1Eak89Ts/b.png',18)"><img src="http://www.shrani.si/f/I/xZ/1NRNDbAl/a.png" alt="Pro tom" name="18" width="120" height="120" border="0" id="18" /></a> <a href="http://www.agencijaplahutnik.com/" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('19','','http://www.shrani.si/f/3w/qN/1pm2w0B4/b.png',19)"><img src="http://www.shrani.si/f/9/Ib/3VdE7HlP/a.png" alt="Agencija Plahutnik" name="19" width="120" height="120" border="0" id="19" /></a> <a href="http://www.korotan-kranj.si/" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('20','','http://www.shrani.si/f/m/yK/IRDVc69/b.png',20)"><img src="http://www.shrani.si/f/3E/Lk/2DP89HTl/a.png" alt="Korotan" name="20" width="120" height="120" border="0" id="20" /></a></p> </div> </body> </html> </sub>
Upam, da boste ugotovili za kaj se gre:)
Hvala lepa in Lep pozdrav
Rok S
roksamsa.com
- spremenil: s-rok ()
povso ::
Žal ti ne znam pomagat pri problemu, spletna stran mi je pa zelo zelo zelo všeč!!!
Procesor: AMD Athlon 64 x2 Dual Core Processor 6400+,
Grafična kartica: nVidia GeForce 8500 GT 512 MB,
RAM: DDR2 2x2GB 800/PC6400 Patriot PDC24G6400ELK, Extreme Perform
Grafična kartica: nVidia GeForce 8500 GT 512 MB,
RAM: DDR2 2x2GB 800/PC6400 Patriot PDC24G6400ELK, Extreme Perform
s-rok ::
Am škoda:)...drugače pa hvala...hihi...moja prva stran...zdej mam še nekaj drugih podobnih projektov:)
Še enkrat hvala...
Še enkrat hvala...
roksamsa.com
preem ::
sej res, da je na netu dosti težko prepoznat sarkazem, sam mali, naučit se boš mogu, če ne ti trda prede
pa kak špeh od kode ta dreamweaver generira :X, treba se bo mal html sintakse naučit pa te stvari sam delat ;)
pa kak špeh od kode ta dreamweaver generira :X, treba se bo mal html sintakse naučit pa te stvari sam delat ;)
mambli ::
Živjo,
predlagam da uporabiš CSS za take stvari. Tukaj imaš en članek : http://wellstyled.com/css-nopreload-rol...
predlagam da uporabiš CSS za take stvari. Tukaj imaš en članek : http://wellstyled.com/css-nopreload-rol...
s-rok ::
aha...hvala mambli:)..bom poskusil;)
aja pa preem ne pametuj...in jst nism mali zate!...ki si pamtn..bi mi rajši povedal kako in kaj!...
LP
Rok
aja pa preem ne pametuj...in jst nism mali zate!...ki si pamtn..bi mi rajši povedal kako in kaj!...
LP
Rok
roksamsa.com
Vredno ogleda ...
Tema | Ogledi | Zadnje sporočilo | |
---|---|---|---|
Tema | Ogledi | Zadnje sporočilo | |
! | Vse, kar ste si želeli vprašati o CSS, pa si niste upali. (strani: 1 2 3 4 … 23 24 25 26 )Oddelek: Izdelava spletišč | 348218 (7355) | sunniegoldie |
» | Pomoč pri spletni strani (strani: 1 2 3 )Oddelek: Izdelava spletišč | 8165 (5626) | gepard69 |
» | Kako se naučiš html in css?Oddelek: Izdelava spletišč | 2937 (2136) | mile |
» | Izdelava menija? (strani: 1 2 )Oddelek: Izdelava spletišč | 7239 (6246) | Jackass |
» | Še ena tema...oceni stranOddelek: Izdelava spletišč | 1834 (1576) | cahahopie |