Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Custom menu link in new window with custom size  (Read 3852 times)

0 Members and 1 Guest are viewing this topic.

andi_k

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Custom menu link in new window with custom size
« 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
Logged

Gizmo

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1015
    • BullsEye Photos
Re: Custom menu link in new window with custom size
« Reply #1 on: August 11, 2006, 12:34:28 pm »

Logged
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision

andi_k

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: Custom menu link in new window with custom size
« Reply #2 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?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Custom menu link in new window with custom size
« Reply #3 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".
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.