forum.coppermine-gallery.net
No Support => General discussion (no support!) => Topic started 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?
-
functions.inc.php bb_decode function.
Triple posting == bad.
-
"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
-
ok, thanks for help and I will keep rules in next time :)
-
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 !