Jump to content

I Need help with function MM_openBrWindow


Linne

Recommended Posts

Linne,Chocolate570 is dead on.This is what you can do with those links to stop that.

<html><head>  <title></title><script type="text/javascript">function MM_openBrWindow(URL,name,specs,replace) { //v2.0  window.open(URL,name,specs,replace);}</script></head><body><a href="http://w3schools.invisionzone.com/style_emoticons/default/smile.gif"  onclick="MM_openBrWindow(this.href,'','width=681,height=515'); return false;">  Open Image</a></body></html>

The "return false" makes it work like you want.Thanks,

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...