AddpopupLink
AddpopupLink 1.0.4
New in 1.0.4 : class and Id support
New in 1.0.3 : better string parameter support
Exemple to add this 2 variables var1=test1 and var2=test2 to the link use &stringAPL=`var1:test1|var2:test2`
Works with MODx Version(s): All
Submitted: Jul 12th 2007 | License: GPL - GNU Public | Downloads: 1594
Submitted: Jul 12th 2007 | License: GPL - GNU Public | Downloads: 1594
Add a pop-up link towards an other MODx page
Use a javascript who can be or not included in the page
Parameters :
Example Usage
[[AddpopupLink? &destpageidAPL=`5` &widthpopAPL=`450` &heightpopAPL=`320` &textlabelAPLlink=`Text of the link ]]
Description
Add a pop-up link towards an other MODx pageUse a javascript who can be or not included in the page
Instructions
Installation- Create a new snippet named "AddpopupLink"
- Copy/Paste the code in it
- Save
Parameters :
- &destpageidAPL : id of the page where you want to open in popup (needed)
- &textlabelAPLlink : Text of the link (needed)
- &widthpopAPL : Width of the pop-up window
- &heightpopAPL : Height of the pop-up window
- &stringAPL : String parameter to add to the link (V 1.0.2)
- &urlImageLinkAPL : path to the image link (V 1.0.2)
- &idAPL : id of the link (V 1.0.4) Thx to gl330k
- &classAPL : css class for the link (V 1.0.4) Thx to gl330k
- &nojsincluded : &nojsincluded=`1` if you not want the js fonction be included in the outpout. If the js is not included you need to put it in a .js file called by your template
Example Usage
[[AddpopupLink? &destpageidAPL=`5` &widthpopAPL=`450` &heightpopAPL=`320` &textlabelAPLlink=`Text of the link ]]
Previous Releases
AddpopupLink 1.0.2
New in 1.0.2 :
- add &stringAPL parameter to include a var string ex: &var1=TOTO&var2=1
- add &urlImageLinkAPL parameter to put image link
Extras
No results found.