Log in

View Full Version : I've created a popup menu for the navbar.. Need confirmation if the code is OK :)


iadmirevb
06-06-2009, 02:26 AM
I want to create a new popup menu for the navbar. I've look around and i've found what i believe is the right way to do it. I just need a confirmation if it is , indeed, the right way to create a menu in the navbar that pops up.

I've tried it and it seems to work, but just need to know from someone that knows...

Here's my code:

<!-- menu with popup -->
<td class="vbmenu_control"><a href="#" onclick="window.open('radio.php','radio','statusbar=no,menu bar=no,toolbar=no,scrollbars=yes,resizable=yes,wid th=220,height=520'); return false;">$vbphrase[fanclub_radio]</a></td>
<!-- / menu with popup -->

i've notice that, for example, the menu 'Quick Links/Open Contact Popup' there's is something like '$session[sessionurl]' and something like '&amp;focus=1'. Should i include that in my code?


Thanks
Marco

josh2007
06-06-2009, 10:04 PM
Take a look at this article

https://vborg.vbsupport.ru/showthread.php?t=122523