forum.coppermine-gallery.net

No Support => General discussion (no support!) => Topic started by: rybosom on November 02, 2004, 01:38:22 pm

Title: open new window in field for image description
Post by: rybosom 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?


Title: Re: open new window in field for image description
Post by: Nibbler on November 02, 2004, 02:15:57 pm
functions.inc.php bb_decode function.

Triple posting == bad.
Title: Re: open new window in field for image description
Post by: Joachim Müller 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
Title: Re: open new window in field for image description
Post by: rybosom on November 03, 2004, 07:54:19 pm
ok, thanks for help and I will keep rules in next time :)
Title: Re: open new window in field for image description
Post by: sylmedia 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 !