Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

check javascript with smarty?

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General
View previous topic :: View next topic  
Author Message
blackhawkmx
Smarty Regular


Joined: 20 May 2005
Posts: 76

PostPosted: Fri Oct 31, 2008 3:54 pm    Post subject: check javascript with smarty? Reply with quote

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
View user's profile Send private message
Celeb
Administrator


Joined: 17 Apr 2007
Posts: 1025
Location: Vienna

PostPosted: Fri Oct 31, 2008 4:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP