Script Categories













User Details >>> Css Support Redirect.

Cascading Style Sheets (CSS) are supported in version 4.0 and new browsers. So, you can easily redirect visitors to your site who have CSS (those with version 4.0+ browsers) to your CSS page, and send everyone else who doesn't have CSS to a normal page without CSS.

Add the below code to the <body> section of your page:

<div id="checkcss" style="position:absolute;"></div>
<script language="javascript" type="text/javascript">
/* Visit http://www.yaldex.com/ for full source code
and get more free JavaScript, CSS and DHTML scripts! */
<!-- Begin
var yes = "<b>Your browser supports and has CSS enabled.\nYou would have been forwarded to the CSS page automatically, but this is just a demo.</b>";
var no  = "<b>Your browser does not support CSS, or you have it disabled.\nYou would have been forwarded to the non-CSS page automatically, but this is just a demo.</b>";

// How should we look for the (CSS) DIV ?

checktype =document.getElementById('checkcss');
document.write((checktype) ? yes : no);
//  End -->
</script>

JavaScript Editor Get Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.



Code was highlighted by 1st JavaScript Editor (The Best JavaScript Editor!).

http://www.cashadvance-loans.net/north-dakota/cash-advance-bismarck-nd/ . Bitcoin Gambling Site


©