Jackal Posted October 13, 2007 Report Share Posted October 13, 2007 function rollover(img_name, img_src){ document[img_name].src = img_src; } <li><a href="index.php?id=5" onmouseover="rollover('id5', 'css/images/menu_5r.gif')" onmouseout="rollover('id5', 'css/images/menu_5.gif')"><img id="id5" src="css/images/menu_5.gif" /></a></li> Esmu vairākas reizes pārbaudijis arī iztīrijis cache, bet uz IE un Operas neiet. Kas varētu būt par problēmu? Firebug errorus arī neparāda. Link to comment Share on other sites More sharing options...
Vebers Posted October 13, 2007 Report Share Posted October 13, 2007 (edited) Tādā veidā vari nemaz nebrīnīties, ka uz citiem browseriem nestrādā! function rollover(img_name, img_src){ document.getElementById(img_name).src = img_src; } Edited October 13, 2007 by MakaTaNaw Link to comment Share on other sites More sharing options...
Jackal Posted October 13, 2007 Author Report Share Posted October 13, 2007 paldies tagad strādā Link to comment Share on other sites More sharing options...
Recommended Posts