open new window in field for image description open new window in field for image description
 

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]

Main Menu

open new window in field for image description

Started by rybosom, November 02, 2004, 01:38:22 PM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

rybosom

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?



Nibbler

functions.inc.php bb_decode function.

Triple posting == bad.

Joachim Müller

#2
"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

rybosom

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

sylmedia

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

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


Thanks !