AddpopupLink 1.0.2
Add a pop-up link towards an other MODx page
Works with MODx Version(s): 0.9.5, 0.9.2.2, 0.9.2.1, 0.9.2, 0.9.1
Submitted: Feb 6th 2007 | License: GPL - GNU Public | Downloads: 939
This resource has been deprecated.
Parameters :
Example Usage
[[AddpopupLink? &destpageidAPL=`5` &widthpopAPL=`450` &heightpopAPL=`320` &textlabelAPLlink=`Text of the link ]]
Submitted: Feb 6th 2007 | License: GPL - GNU Public | Downloads: 939
This resource has been deprecated.
Description
Add a pop-up link towards an other MODx page
Use 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)
- &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 ]]
Updates
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