ďťż
Podstrony
|
telcocafeWitam mam taki problem poniewaz gdy chce zastapic butony funkcją onmouseover to mi sie lay rozlazio to kod: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <script language="Javascript" type="text/Javascript"> <!-- 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_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_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> <title>Premus Homepage</title> <meta http-equiv="Content-Type" content="text/html; charset=windows-1250"> </head> <body leftmargin="0" topmargin="0" bgcolor="#ffffff" marginheight="0" marginwidth="0"> <!-- ImageReady Slices (Untitled-1.psd) --> <table id="Table_01" border="0" cellpadding="0" cellspacing="0" height="769" width="1025"> <tbody> <tr> <td rowspan="8"> <img src="images/Untitled-1_01.gif" alt="" height="745" width="8"></td> <td colspan="6"> <img src="images/Untitled-1_02.gif" alt="" height="114" width="524"></td> <td colspan="7"> <img src="images/Untitled-1_03.gif" alt="" height="114" width="492"></td> <td> <img src="images/spacer.gif" alt="" height="114" width="1"></td> </tr> <tr> <td colspan="12"> <img src="images/Untitled-1_04.gif" alt="" height="2" width="991"></td> <td rowspan="8"> <img src="images/Untitled-1_05.gif" alt="" height="638" width="25"></td> <td> <img src="images/spacer.gif" alt="" height="2" width="1"></td> </tr> <tr> <td colspan="3" rowspan="2"> <img src="images/Untitled-1_06.gif" alt="" height="2" width="201"></td> <td rowspan="3"> <a href="portfolio.html"><img style="border: 0px solid; width: 189px; height: 135px;" src="images/Untitled-1_07.gif" alt=""></a></td> <td colspan="8"> <img src="images/Untitled-1_08.gif" alt="" height="1" width="601"></td> <td> <img src="images/spacer.gif" alt="" height="1" width="1"></td> </tr> <tr> <td rowspan="4"> <img src="images/Untitled-1_09.gif" alt="" height="139" width="5"></td> <td colspan="2" rowspan="2"> <a href="kontakt.html"><img style="border: 0px solid; width: 194px; height: 134px;" src="images/Untitled-1_10.gif" alt=""></a></td> <td rowspan="4"> <img src="images/Untitled-1_11.gif" alt="" height="139" width="2"></td> <td rowspan="2"> <a href="download.html"><img style="border: 0px solid; width: 194px; height: 134px;" src="images/Untitled-1_12.gif" alt=""></a></td> <td colspan="3"> <img src="images/Untitled-1_13.gif" alt="" height="1" width="206"></td> <td> <img src="images/spacer.gif" alt="" height="1" width="1"></td> </tr> <tr> <td rowspan="4"> <img src="images/Untitled-1_14.gif" alt="" height="627" width="4"></td> <td> <a href="omnie.html"><img style="border: 0px solid; width: 191px; height: 133px;" src="images/Untitled-1_15.gif" alt=""></a></td> <td rowspan="3"> <img src="images/Untitled-1_16.gif" alt="" height="138" width="6"></td> <td rowspan="4"> <img src="images/Untitled-1_17.gif" alt="" height="627" width="10"></td> <td> <a href="oprace.html"><img style="border: 0px solid; width: 191px; height: 133px;" src="images/Untitled-1_18.gif" alt=""></a></td> <td rowspan="2"> <img src="images/Untitled-1_19.gif" alt="" height="137" width="5"></td> <td> <img src="images/spacer.gif" alt="" height="133" width="1"></td> </tr> <tr> <td rowspan="2"> <img src="images/Untitled-1_20.gif" alt="" height="5" width="191"></td> <td rowspan="2"> <img src="images/Untitled-1_21.gif" alt="" height="5" width="189"></td> <td colspan="2" rowspan="2"> <img src="images/Untitled-1_22.gif" alt="" height="5" width="194"></td> <td rowspan="2"> <img src="images/Untitled-1_23.gif" alt="" height="5" width="194"></td> <td> <img src="images/Untitled-1_24.gif" alt="" height="4" width="191"></td> <td> <img src="images/spacer.gif" alt="" height="4" width="1"></td> </tr> <tr> <td colspan="2" rowspan="3"> <img src="images/Untitled-1_25.gif" alt="" height="497" width="196"></td> <td> <img src="images/spacer.gif" alt="" height="1" width="1"></td> </tr> <tr> <td colspan="8"> <img src="images/Untitled-1_26.gif" alt="" height="489" width="781"></td> <td> <img src="images/spacer.gif" alt="" height="489" width="1"></td> </tr> <tr> <td colspan="11" rowspan="2"> <img src="images/Untitled-1_27.gif" alt="" height="23" width="803"></td> <td> <img src="images/spacer.gif" alt="" height="7" width="1"></td> </tr> <tr> <td colspan="3"> <img src="images/Untitled-1_28.gif" alt="" height="16" width="221"></td> <td> <img src="images/spacer.gif" alt="" height="16" width="1"></td> </tr> <tr> <td> <img src="images/spacer.gif" alt="" height="1" width="8"></td> <td> <img src="images/spacer.gif" alt="" height="1" width="4"></td> <td> <img src="images/spacer.gif" alt="" height="1" width="191"></td> <td> <img src="images/spacer.gif" alt="" height="1" width="6"></td> <td> <img src="images/spacer.gif" alt="" height="1" width="189"></td> <td> <img src="images/spacer.gif" alt="" height="1" width="5"></td> <td> <img src="images/spacer.gif" alt="" height="1" width="129"></td> <td> <img src="images/spacer.gif" alt="" height="1" width="65"></td> <td> <img src="images/spacer.gif" alt="" height="1" width="2"></td> <td> <img src="images/spacer.gif" alt="" height="1" width="194"></td> <td> <img src="images/spacer.gif" alt="" height="1" width="10"></td> <td> <img src="images/spacer.gif" alt="" height="1" width="191"></td> <td> <img src="images/spacer.gif" alt="" height="1" width="5"></td> <td> <img src="images/spacer.gif" alt="" height="1" width="25"></td> <td></td> </tr> </tbody> </table> <!-- End ImageReady Slices --> </body> </html> I chce wstawic funkcje zamiast tego: <a href="omnie.html"><img style="border: 0px solid; width: 191px; height: 133px;" src="images/Untitled-1_15.gif" alt=""></a></td> TO: <a href="omnie.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image1','','images/1.gif',1)"> <img src="images/Untitled-1_15.gif" name="Image16" width="191px" height="133px" border="0"></a> Robie tak i mi sie lay rozlazi pomocy co zrobic :( A moze znacie inny sposob latwiejszy wykorzystania funkcji onmouseover? :huh: fajnie by bylo gdybys podal adres to by bylo lepiej widac o co chodzi i jak to wyglada ;) kod nie jest krotki ;D ok juz rozwiazalem problem temat do zamkniecia;] Użytkownik Kogut edytował ten post 05 grudzień 2006, 21:00 |
|||
Sitedesign by AltusUmbrae. |