This widget create a discreet message if javascript isn't enabled in the browser.
Requirements ¶
Yii 1.1.7 or above...
Usage ¶
- extract the widget file under .../protected/extensions
- put in a view (.../protected/views/layouts/main) a code blocks like the following after the body tag...
Sample ¶
....
<body>
<?php $this->beginWidget('ext.noscript.XNoScriptMessage'); ?>
Dear user, the application need javascript support!
Please enable Javascript in your browser!
<?php $this->endWidget(); ?>
<div class="container" id="page">
....
Change log ¶
Version 1.0 ¶
- initial release
Why the down votes?
Please share your thoughts and help improve the extension.
Update: made this suggestion.
down votes
I dont unterstand the down votes. The extension was inspired by Yaml Css Framework.
Thanks ..
Thanks for this simple yet awesome extension ...
Down votes again
If we have such simple extension, list this one to just write Lorem Ipsum text, then why we can't have something like
noscript
?If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.