PDA

View Full Version : _blank on Go Menu



Nyoman
02-21-2006, 02:05 PM
Actually i posted this tips for the answer of the question from one of our friend Limebrook1 on the other thread http://www.vodahost.com/vodatalk/general-support-issues/4545-getting-pages-open-new-window.html#post19996
and Navaldesign suggest me to post here again and yes, that was a good idea.
this is about how to make a new window open (_blank target) for Go Menu feature on bluevoda, because right now blue voda doesn't have it yet and for sure will be for the next version.
so while we are waiting for the BV new version, we can play a little bit and do a trick on it.
here we go:

create go menu using bluevoda
right click go menu area then click html properties
insert this script in after tag of go menu html :
<SCRIPT LANGUAGE="JavaScript">
<!--
function Open(page)
{
OpenWin = this.open(page, "CtrlWindow", "toolbar=yes,menubar=yes,location=yes,scrollbars=ye s,resizable=yes");
}
//-->
</SCRIPT>

Now go to Go menu properties, double click go menu area, add whatever option you want to put, and on the URL instead of only put the http://www.yourdomain/yourpage.html you have to write javascript:Open('http://www.yourdomain/yourpage.html')Hope will help