NAVIGATION
This shows you the differences between two versions of the page.
english:phpwcms_replacer_rts:frontend_render:ext_popup [2009/04/25 08:06] 127.0.0.1 external edit |
english:phpwcms_replacer_rts:frontend_render:ext_popup [2018/06/03 18:09] (current) |
||
---|---|---|---|
Line 2: | Line 2: | ||
===== EXT_POPUP ===== | ===== EXT_POPUP ===== | ||
+ | |||
+ | **Open a extern link in a new pop up window who is e.g. 800px wide and 600px high.** | ||
Tag: **[EXT_POPUP:link, width, height]link_text[/EXT_POPUP]** | Tag: **[EXT_POPUP:link, width, height]link_text[/EXT_POPUP]** | ||
Line 12: | Line 14: | ||
Folder: /template/inc_script/frontend_render/ | Folder: /template/inc_script/frontend_render/ | ||
- | Switch: $phpwcms['allow_ext_render'] = 1; (/config/phpwcms/conf.inc.php) | + | Condition: |
+ | * $phpwcms['allow_ext_render'] = 1; (/config/phpwcms/conf.inc.php) | ||
+ | |||
+ | Update KH 07.05.2010: Suppressed link execution <a href="....." | ||
---- | ---- | ||
---- | ---- | ||
Line 29: | Line 35: | ||
modified: 01.11.2008 | modified: 01.11.2008 | ||
- | last modified: -- | + | last modified: KH 07.05.2010: Suppressed link execution <a href="....." |
Description: | Description: | ||
Line 66: | Line 72: | ||
function MM_openBrWindow(theURL,winName,features) { //v2.0 | function MM_openBrWindow(theURL,winName,features) { //v2.0 | ||
window.open(theURL,winName,features); | window.open(theURL,winName,features); | ||
+ | return false; | ||
} | } | ||
//--> | //--> | ||
Line 83: | Line 90: | ||
// The replace parameter **** | // The replace parameter **** | ||
- | $my_replace = '<a href="#" onClick="MM_openBrWindow(\'$1\',\'New_window\',\'scrollbars=yes,resizable=yes,width=$2,height=$3\')">$4</a>'; | + | $my_replace = '<a href="#" onClick="return MM_openBrWindow(\'$1\',\'New_window\',\'scrollbars=yes,resizable=yes,width=$2,height=$3\')">$4</a>'; |
// And do it ====== | // And do it ====== |