Jump to content

help inserting dynamic data into javascript with php following:


quanpq

Recommended Posts

<!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>function changeimage(towhat,url){if (document.images){document.images.targetimage.src=towhat.srcgotolink=url}}function warp(){window.location=gotolink}</script><script language="JavaScript1.1">var myimages=new Array()var gotolink="#"function preloadimages(){for (i=0;i<preloadimages.arguments.length;i++){myimages=new Image()myimages.src=preloadimages.arguments}}</script></head><body><script>preloadimages("Images/primagold.com.vn","Images/plane2.gif","images/pilot-beach-resort-9.jpg","http://www.javascriptkit.com/script/script2/plane4.gif","http://www.javascriptkit.com/script/script2/plane5.gif")</script><a href="java script:warp()"><img src="Images/plane2.gif" name="targetimage" border=0></a><a href="b2.htm" onMouseover="changeimage(myimages[0],this.href)">Plane 1</a><a href="f15.htm" onMouseover="changeimage(myimages[1],this.href)">Plane 2</a><a href="su27.htm" onMouseover="changeimage(myimages[2],this.href)">Plane 3</a><a href="jet.htm" onMouseover="changeimage(myimages[3],this.href)">Plane 4</a><a href="boeing.htm" onMouseover="changeimage(myimages[4],this.href)">Plane 5</a></body></html>similar results website http://www.premierleague.comask for your help ?thanks

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...