| | |
"Must visit from" javascript wont work in IE...
Please support our Site Layout and Usability advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
I have obtained the following script which only lets a page load if the visitor has been to the previous page, if they haven’t it sends the visitor to the appropriate page. However, it only works in Mozilla. Can anyone help me adapt this script to work in Internet Explorer?
Cheers,
NuGG
<SCRIPT LANGUAGE="JavaScript" >
<!-- Begin
var requiredfrom = "http://domain.com/somepage.htm"; // required prev. page
if (document.referrer.indexOf(requiredfrom) == -1) {
alert("You must logon first...");
window.location=requiredfrom;
}
// End -->
</script>NuGG
![]() |
Similar Threads
- "Must visit from" javascript wont work in IE... (JavaScript / DHTML / AJAX)
Other Threads in the Site Layout and Usability Forum
- Previous Thread: Http 500 -internal Server Error
- Next Thread: Disallowed_Parent_Path
| Thread Tools | Search this Thread |
blogging content customer design development dreamweaver duplicate email evaluation filesharing firefox flash gilbane google html itunes javascript kazaa layout music napster peertopeer photoshop remote remoteserver satellitenavigation satnav server site tables template tips tomtom url wave web website websitedesignreview web_development web_sites





