NOTE: If any of the codes below begin with */--></script> it means that this Advanced Editor (AE) method must be used with it. In some cases, I have left my own working URLs in the code - merely substitute your URLs for mine.
Detects your visitors screen widths and instantly directs the visitor to the appropriate page adjusted for their particular screen resolution.
(You can test this script's effectiveness by changing "600" down to "500"...since your MsnTv screen width is 544 you won't be re-directed at "500", but you will when it's set at "600")
Just place this code on a page specially prepared for PC users and it will automatically re-direct MsnTv users to a page you specially prepare for them.
In my opnion, this is the best sniffer, and the most simple of the 3 I have to CC&P - copy it here:
Browser Sniffer (w/ pop-up re-direct)
Detects screen widths and redirects to 2nd page - Place this script on a page and it will then redirect MsnTv viewers to a 2nd page prepared just for them, and PC viewers to another page specially prepared for them - it does this by detecting our smaller screen widths
This script will change your background colors and page's text and link colors - "fg" is the only confusing one..."fg" changes your text color [Click Here] for more Directions (Change the pre-set colors in the script to whatever new colors you like):
Script by Kid-Kode
Javascript Intantaneous Re-direct
This is useful if you change your page's URL...then, you can put this code at the old URL to direct your visitors to the new site.
There's also a meta redirect included in case their javascript is turned off...also, a standard link just in case anything goes wrong with the 2 automatic methods
The animated banner at the top of this page is actually done by using 3 separate still images sequenced with javascript. To add more (or less) images into the animation sequence, merely change the "3" in the code: var nbImg = 3; -- to alter the animation speed, change it from "1500 milli-seconds" (i.e., 1½ seconds) at the end of the code here: "animate();", 1500);}</script> NOTE: It must be the first image on the page. It must also be used with the AE method.
The Advanced Editor (AE) FIX is actually a very easy process, and it usually takes less than one minute to set up your pages after you learn this simple two-step method for installing it.
Since it validates the best, this NEW AE method additionally uses javascript multi-line comments (<!-- /* & */ // -->) tags within the script tags:
</title><script><!-- /* and */ // --></script></head>
However, the javascript multi-line comments aren't really necessary for this to work on our webbie browsers and many PCs. So, if the multi-line comments are too complicated for you, in the beginning just use the<script> and </script>tags. Later, after you get your backgrounds working you can add the comments for your PC visitors (some PCs may get a javascript pop-up warning if you don't add them, primarily AOL users.)
You can begin your AE FIX when creating a page from scratch by first choosing a template background (any will do since it won't show later), and then give your page a short title (lower-case is best with no punctuation...and, one word is preferable.)
WARNING #1 - Adding the AE code to your Title-box PRIOR to first publishing your page will improperly add the opening AE code to your page's URL...and, you don't want that to happen!
WARNING #2 When you initially publish your page you will then see this check-box below your Title-box:
Show this title on your page
NEVER check the "Show title on page" box! (On ANY page - really bad things will happen if you do :-) Make certain that it's UN-CHECKED and looks exactly like this before you publish your page:
Show this title on your page
(*NOTE: If this AE Fix is to a previously published page, then you can skip the above part and add the AE Fix to your existing page by following the simple 2-STEP directions below):
STEP #1:
Simply add the AE code (*/ // --></script></head>) and your <BODY> tag to the very first add-text box on your page:
Add text to your document
Type a title (optional):
Type your text here:
If the AE code is being added to a new page not yet published, THEN PROMPTLY PUBLISH THE PAGE NOW! (i.e., to set your page's URL prior to adding the AE code to your Title-box in Step #2):
STEP #2:
After your webpage is published you MUST return to your Title-box by choosing "Edit title" and add the opening AE code to it:
</title><script><!-- /*
This is what the "Title-box" looks like where you will place the 2nd part of your AE code - I had originally named my webpage simply "forms" (to keep my Url short), so we'll use that page-title in this example - now that your page's Url is set, you can also delete the short title and give your page a longer title at this point, too:
Title for your page
The title appears at the top of your page (if you choose to show it) as well as in the list of your pages.