mirror of
https://github.com/e107inc/e107.git
synced 2025-07-28 18:30:53 +02:00
e_css - new header details, discussion about css class naming in progress
This commit is contained in:
@@ -1,21 +1,17 @@
|
|||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
+---------------------------------------------------------------+
|
* e107 website system
|
||||||
| e107 website system
|
*
|
||||||
| /e107_admin/header.php
|
* Copyright (C) 2001-2008 e107 Inc (e107.org)
|
||||||
|
|
* Released under the terms and conditions of the
|
||||||
| <20>Steve Dunstan 2001-2002
|
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
||||||
| http://e107.org
|
*
|
||||||
| jalist@e107.org
|
* Unobtrusive JS support
|
||||||
|
|
*
|
||||||
| Released under the terms and conditions of the
|
* $Source: /cvs_backup/e107_0.8/e107_files/e_css.php,v $
|
||||||
| GNU General Public License (http://gnu.org).
|
* $Revision: 1.3 $
|
||||||
|
|
* $Date: 2009-08-20 08:38:30 $
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_files/e_css.php,v $
|
* $Author: secretr $
|
||||||
| $Revision: 1.2 $
|
|
||||||
| $Date: 2009-08-14 23:22:36 $
|
|
||||||
| $Author: bugrain $
|
|
||||||
+---------------------------------------------------------------+
|
|
||||||
*/
|
*/
|
||||||
if (!defined('e107_INIT')) { exit; }
|
if (!defined('e107_INIT')) { exit; }
|
||||||
// No JavaScript support using CSS
|
// No JavaScript support using CSS
|
||||||
@@ -31,24 +27,17 @@ if (!defined('e107_INIT')) { exit; }
|
|||||||
echo "
|
echo "
|
||||||
<style type='text/css' id='e-core-css'>
|
<style type='text/css' id='e-core-css'>
|
||||||
/* Used to hide elements when JavaScript is enabled */
|
/* Used to hide elements when JavaScript is enabled */
|
||||||
.e-hide-if-js {
|
.e-hide-if-js { display: none; }
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
<style type='text/css' id='e-js-css'>
|
<style type='text/css' id='e-js-css'>
|
||||||
/* Used to show elements when JavaScript is disabled */
|
/* Used to show elements when JavaScript is disabled */
|
||||||
.e-show-if-js {
|
.e-show-if-js { display: none; }
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
/* Used to hide elements when JavaScript is disabled */
|
/* Used to hide elements when JavaScript is disabled */
|
||||||
.e-hide-if-js {
|
.e-hide-if-js { display: block; }
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
a.e-hide-if-js,
|
a.e-hide-if-js,
|
||||||
span.e-hide-if-js,
|
span.e-hide-if-js,
|
||||||
button.e-hide-if-js {
|
button.e-hide-if-js { display: inline; }
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
<script type='text/javascript'>
|
<script type='text/javascript'>
|
||||||
$('e-js-css').disabled=true;
|
$('e-js-css').disabled=true;
|
||||||
|
Reference in New Issue
Block a user