NAVIGATION
This shows you the differences between two versions of the page.
deutsch:ersetzer_rts:frontend_render:ext_popup [2009/04/25 08:05] 127.0.0.1 external edit |
deutsch:ersetzer_rts:frontend_render:ext_popup [2018/06/03 18:09] (current) |
||
---|---|---|---|
Line 2: | Line 2: | ||
====== EXT_POPUP ====== | ====== EXT_POPUP ====== | ||
+ | |||
+ | **Öffnet einen externen Link in einem neuen Pop-Up Fenster.** //(Angaben: Link, Fensterbreite, Fensterhöhe).// | ||
+ | |||
Tag: **[EXT_POPUP:link, width, height]link_text[/EXT_POPUP]** | Tag: **[EXT_POPUP:link, width, height]link_text[/EXT_POPUP]** | ||
Line 8: | Line 11: | ||
Forum: [[http://forum.phpwcms.org/viewtopic.php?f=8&t=18029|[EXT_POPUP:link, width, height]link_text[/EXT_POPUP]]] | Forum: [[http://forum.phpwcms.org/viewtopic.php?f=8&t=18029|[EXT_POPUP:link, width, height]link_text[/EXT_POPUP]]] | ||
- | Filename: rt_ext_popup.php | + | Dateiname: rt_ext_popup.php |
- | Folder: /template/inc_script/frontend_render/ | + | Verzeichnis: /template/inc_script/frontend_render/ |
**Bedingung:** ##$phpwcms['allow_ext_render'] = 1;## -> [[http://www.phpwcms-docu.de/confincphp_de.phtml|/config/phpwcms/conf.inc.php]] | **Bedingung:** ##$phpwcms['allow_ext_render'] = 1;## -> [[http://www.phpwcms-docu.de/confincphp_de.phtml|/config/phpwcms/conf.inc.php]] | ||
+ | |||
+ | Update KH 07.05.2010: Linkausführung <a href="....." bei Klick unterdrückt | ||
---- | ---- | ||
Line 29: | Line 34: | ||
phpWCMS Version: >= 1.3.3 | phpWCMS Version: >= 1.3.3 | ||
- | modified: 01.11.2008 | + | modified: KH 01.11.2008 |
- | last modified: -- | + | last modified: KH 07.05.2010: Suppressed link execution <a href="....." |
Description: | Description: | ||
Line 67: | 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 84: | 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 ====== |