Jump to content

link with javascript


cip6791

Recommended Posts

Hi

 

Why won't this work ?

 

<a href="javascript:warp()" target="_parent"><img src="img/sub_index_hydra_bio.jpg" name="targetimage" width="546" height="352" border="0"></a></div>

 

This is in an iframe. I have 3 links on the left side and the image changes when mouse is hovered on any link. The links point  to different pages. I would like the images to do the same. If I take out the target=_parent, the images have links, but in the iframe. Can anybody help ?

 

Thanks

 

p.s. this is the page:

http://pixeltennis.com/noutati_cosmetice_roc.html

Link to comment
https://forums.phpfreaks.com/topic/119050-link-with-javascript/
Share on other sites

Archived

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

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.