By kingjohno on
Hey,
I'm trying to get a new browser window to open up when someone clicks on an image.
I've currently got the following code, however it doesn't seem to be opening anything.
<div align="center"><img src="http://johno.stunix.hertzweb.net/secureaccess.png" width="350" height="100" onclick="MM_openBrWindow('http://www.pandorabots.com/pandora/talk?botid=951f1a381e36add9','sdfgh','width=600,height=400')" /></div>
http://johno.stunix.hertzweb.net/drupal/?q=node/8
The button isn't going to connect to drupal in any way, but links to a pandorabots site.
Cheers,
Mark
Comments
i'm not sure about the
i'm not sure about the MM_openBrWindow function (is that a preinstalled Dreamweaver function?), but if you have to do it, here are some links on how to best handle forcing a new browser window:
http://www.456bereastreet.com/archive/200603/the_target_attribute_and_op...
http://www.alistapart.com/articles/popuplinks/