|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
blackhawkmx Smarty Regular
Joined: 20 May 2005 Posts: 76
|
Posted: Fri Oct 31, 2008 3:54 pm Post subject: check javascript with smarty? |
|
|
is there a way to check if javascript is disabled or enabled with smarty, in an if statement within the .tpl code?
thanks _________________ Bring it back to basics. You and I can make it right! |
|
Back to top |
|
Celeb Administrator
Joined: 17 Apr 2007 Posts: 1025 Location: Vienna
|
Posted: Fri Oct 31, 2008 4:21 pm Post subject: |
|
|
You can do everything you could do with a normal HTML page. At the time your page is rendered you can't have any idea if the user has javascript enabled or not. _________________ Darn computers always do what I tell them to instead of what I want them to do. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|