css support redirect




JavaScript Source Code 3000: User Details: CSS Support Redirect






























CSS Support Redirect







Cascading Style Sheets (CSS), supported in version 4.0 and new browsers, allows webmasters to have more control over how their sites are viewed. Because some visitors do browse with them turned off, this script checks if CSS is supported AND enabled -- If CSS is on, they are redirected to your CSS-enhanced page. Otherwise, they are sent to a normal page without CSS. Cool!



















JavaScript Source Code 3000: User Details: CSS Support Redirect
Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Apple-s). The script is yours!!!





    





<!-- ONE STEP TO INSTALL CSS SUPPORT REDIRECT:

1. Copy the coding into the BODY of your HTML document -->

<!-- STEP ONE: Paste this code into the BODY of your HTML document -->

<BODY>

<div id="checkcss" style="position:absolute;"></div>

<SCRIPT LANGUAGE="JavaScript">
<!-- Original: Ronnie T. Moore, Editor -->
<!-- Web Site: JavaScript Source Code 3000 -->

<! >
<! >

<!-- Begin
var yes = "yes-css.html"; // CSS page
var no = "no-css.html"; // Non-CSS page

// How should we look for the (CSS) DIV ?
// Netscape will look with: document.checkcss
// Internet Explorer will look with: checkcss

checktype = document.layers ? document.checkcss : checkcss;

window.location = (checktype) ? yes : no;
// End -->
</script>



<!-- Script Size: 0.89 KB -->













Wyszukiwarka

Podobne podstrony:
CSS ForbiddenProperties
css 4
SupportedSourceVersion
RCI 3600 Tec Support
css atrybuty
css 1 fdg7wtwlj75ukmn7gveas4vvpia6o5q5vkgdvta
03 CSS wydruk
les09 styles css
supporting material?9B4FF
XHTML CSS i JavaScript Pierwsza pomoc twowpp
Supporting Shelves
02 Technical Support

więcej podobnych podstron