how to change the target frame link in html using script(java or some other script)? -
i new forum. have few image buttons on top, when click each image open links on bottom frame(object).. have tried few lines. got 1 static link working. want different links each button.
<html> <head> <meta http-equiv="content-language" content="zh-cn"> <meta http-equiv="content-type" content="text/html; charset=gb2312"> <title>new web</title> </head> <body> <div style="margin: 0 auto; width:1107px; height:1512px;"> <p><img border="0" src="images/home.jpg" name="home" onclick="onbutton1();" width="95" height="94"> <img border="0" src="images/googlemaps.jpg" name="googlemap" onclick="onbutton1();" width="91" height="90"> <img border="0" src="images/restaurants1.jpg" width="93" height="91"> <img border="0" src="images/barsclubs.jpg" width="99" height="94"> <img border="0" src="images/spa1.jpg" width="110" height="94"> <img border="0" src="images/taxishuttle.jpg" width="97" height="95"> <img border="0" src="images/airline1.jpg" width="111" height="97"><img border="0" src="images/tourattractions.jpg" width="102" height="96"> <img border="0" src="images/couponsdeals.jpg" width="100" height="96"> <img border="0" src="images/shopping1.jpg" width="93" height="96"></p> <object type="text/html" data="http://www.yahoo.com/" style="width:100%; height:39%; margin:1%"> </object> </div> </body> </html>
Comments
Post a Comment