Fórumok
use Javascript Variable in Theme
Nisarg Parikh, módosítva 13 év-val korábban
use Javascript Variable in Theme
Expert Bejegyzések: 262 Csatlakozás dátuma: 2009.12.31. Legújabb bejegyzések
Hi All,
I am using Liferay 6.0
I have one script that take the viewPortHeight in theme.
I want to use that height in velocity mapping file.
Can I do this? It yes, how can I achieve this functionality?
Nisarg
I am using Liferay 6.0
I have one script that take the viewPortHeight in theme.
I want to use that height in velocity mapping file.
Can I do this? It yes, how can I achieve this functionality?
Nisarg
Faris Abdulla, módosítva 13 év-val korábban
RE: use Javascript Variable in Theme
Regular Member Bejegyzések: 183 Csatlakozás dátuma: 2009.09.02. Legújabb bejegyzések
Hi,
You can put your javascript in javascript.js of your theme. You can invoke the function using element id or class.
You can put your javascript in javascript.js of your theme. You can invoke the function using element id or class.