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

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

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 1 Guest 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 !