Jump to content

help inserting dynamic data into javascript with php following:


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

Edited by quanpq
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...