noscript create message if Javascript is disabled

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
9 4
7 followers
582 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: User Interface
Developed by: volkmar
Created on: Sep 8, 2011
Last updated: 13 years ago

Downloads

show all

Related Extensions