Html Posted April 28, 2007 Share Posted April 28, 2007 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 More sharing options...
msd Posted April 29, 2007 Share Posted April 29, 2007 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.