Topic: How to create a popuplink in the navbar

I want a link displayed in the navigation bar and if you click on it a popup opens.
I've tried this a few times but it doesn't work. Can someone help me?

$links[] = '<a href="register.php">'.$lang_common['Register'].'</a> | <a href="login.php">'.$lang_common['Login'].'</a>'  ;

I want the textlink after 'Login'
This is the code for the popup below. If I add this, then it says 'Parse Error' ...

<a href="blablabla.html" onclick="window.open('blablabla.html','blablabla',
'width=200,height=100,scrollbars=yes,toolbar=yes,location=yes'); return false">Textlink</a>

Re: How to create a popuplink in the navbar

Nope. Only one link. smile

3 (edited by ConnyT 2004-04-19 17:55)

Re: How to create a popuplink in the navbar

If you write

$links[] = '<a href="#" onclick="window.open(\'blabla.html\',\'blablabla\', \'width=200,height=100,scrollbars=yes,toolbar=yes,location=yes\'); return false">Textlink</a>';

"Textlink" will be added to the menubar.. (Note the  \' and href="#" )

Re: How to create a popuplink in the navbar

Thx, it works smile