Jump to content

A little help with this


Html

Recommended Posts

Hi there, I'd like this code to work, by clicking on an image and then it opens my custom window.

<a href="images/ocean.jpg" target="_blank"><img border="0" src="thumbimages/oceanthumb.jpg" alt="Ocean animation render"></a>

And the javascript

<a href="java script:location='ocean.html';window.open('ocean2.html','characters','height=150,width=150,scrollbars=yes')">Ocean 2</a>

Hope this makes some sense.

Link to comment
Share on other sites

I don't really understand what you want to do, but if you want to open a normal page and a pop-up at the same time, use this:

<a href="ocean.html" onclick="window.open('ocean2.html','characters','height=150,width=150,scrollbars=yes')">Ocean 2</a>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...