Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: open new window in field for image description  (Read 3727 times)

0 Members and 1 Guest are viewing this topic.

rybosom

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 25
open new window in field for image description
« on: November 02, 2004, 01:38:22 pm »

how to add link like <a href="#" onclick="window.open('http://yoursite.com/', 'Okno', 'menubar=no, toolbar=no, location=no, directories=no, status=no, scrollbars=no, resizable=no, fullscreen=no, channelmode=no, width=757, height=363, left=30, top=30')"><b>Url Text</b></a> in fields for image description?
 
Or how to change [ url=http://yoursite.com/ ]Url Text[ /url ] to open new window with  'menubar=no, toolbar=no, location=no, directories=no, status=no, scrollbars=no, resizable=no, fullscreen=no, channelmode=no, width=757, height=363, left=30, top=30' parameters?


« Last Edit: November 03, 2004, 08:54:44 pm by GauGau »
Logged

Nibbler

  • Guest
Re: open new window in field for image description
« Reply #1 on: November 02, 2004, 02:15:57 pm »

functions.inc.php bb_decode function.

Triple posting == bad.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: open new window in field for image description
« Reply #2 on: November 03, 2004, 05:30:20 am »

"general discussion" is not the place support requests should go to. Your question actually is a request for support, as you're expecting an answer, not only chit chat. Make sure to post on the proper support board for your version next time you post.

[edit]
[:| I just found you even posted in the photography section, and your posting got moved here. If you don't care to respect board rules you will hardly find people will bother to actually help you >:(
[/edit]

Joachim
« Last Edit: November 03, 2004, 05:53:57 am by GauGau »
Logged

rybosom

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 25
Re: open new window in field for image description
« Reply #3 on: November 03, 2004, 07:54:19 pm »

ok, thanks for help and I will keep rules in next time :)
Logged

sylmedia

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: open new window in field for image description
« Reply #4 on: May 08, 2005, 09:13:39 pm »

I am trying the same thing and it's not working. Any solutions ?

In the bb_decode function I changed :
Code: [Select]
$bbcode_tpl['url']  = '<span class="bblink"><a href="{URL}" target="_blank">{DESCRIPTION}</a></span>';to
Code: [Select]
$bbcode_tpl['url']  = '<span class="bblink"><a href="javascript:;" onMouseUp="MM_openBrWindow("{URL}","Popup","width=640, height=480")" >{DESCRIPTION}</a></span>';

Thanks !
Logged
Pages: [1]   Go Up
 

Page created in 0.034 seconds with 19 queries.