forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: andi_k on August 11, 2006, 09:55:56 am

Title: Custom menu link in new window with custom size
Post by: andi_k on August 11, 2006, 09:55:56 am
Hi
I already managed to open my custom link in a new window.
But now I want to turn this window into a popup with a specified size, no toolbars...etc. As less browser functions as possible.
Any help?

Thx
Title: Re: Custom menu link in new window with custom size
Post by: Gizmo on August 11, 2006, 12:34:28 pm
Check out this tutorial - http://javascript.about.com/library/blpopup1a.htm (http://javascript.about.com/library/blpopup1a.htm).
Title: Re: Custom menu link in new window with custom size
Post by: andi_k on August 11, 2006, 06:44:22 pm
ok i tried it - cannot handle it
can you help me? this is what my custon button look like

addbutton($sub_menu_buttons,'{CUSTOM_LNK_LNK}','{CUSTOM_LNK_TITLE}','{CUSTOM_LNK_TGT}" target="_blank','custom_link',$template_sub_menu_spacer);

can you make it?
Title: Re: Custom menu link in new window with custom size
Post by: Joachim Müller on August 11, 2006, 07:20:26 pm
target="_blank' is just wishful thinking, you can't make up code. The line you refer to is a function call that doesn't expect a parameter "target".