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: Window.open in the image description field  (Read 2598 times)

0 Members and 1 Guest are viewing this topic.

sylmedia

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Window.open in the image description field
« on: May 11, 2005, 03:11:00 am »

I'am trying to open a new window with the JavaScript window.open() function in the image description field. Any solutions ?

In the page functions.inc.php I tried to modified the bb_decode function. Here is what I did and it's not working :

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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Window.open in the image description field
« Reply #1 on: May 11, 2005, 11:02:18 am »

do not double-post; you already posted the very same question here: http://forum.coppermine-gallery.net/index.php?topic=11395.msg82224#msg82224
There are several reasons why people won't answer your questions, read http://coppermine.sourceforge.net/faq.php#lamesupport
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 20 queries.