Hi, I found this script on the "tips & tricks" page and I just need some help as to where I add this. Do I add to the body of the page html ? and How do I go about making it work for when you click on the text links etc.
The code is as follows:.......
Simple way to open window as a popup.
on the link just type this:
Code:
"#" onClick="window.open('http://www.yourdomain/yourpage.html', '','width=300,height=300'); return false;"
Change the page name and the size according what you want
If you are using Bluevoda, eliminate the first quote " of the code because will be automatic added by Bluevoda itself.
make like this:
Code:
#" onClick="window.open('http://www.yourdomain/yourpage.html', '','width=300,height=300'); return false;"
Please note, this is only work after you publish your page
The code is as follows:.......
Simple way to open window as a popup.
on the link just type this:
Code:
"#" onClick="window.open('http://www.yourdomain/yourpage.html', '','width=300,height=300'); return false;"
Change the page name and the size according what you want
If you are using Bluevoda, eliminate the first quote " of the code because will be automatic added by Bluevoda itself.
make like this:
Code:
#" onClick="window.open('http://www.yourdomain/yourpage.html', '','width=300,height=300'); return false;"
Please note, this is only work after you publish your page
Comment