Hi
I'm currently using the following script to redirect my visitors. my site uses an iFrame and i don't want them to see the pages it contains except through it. this script redirects them if they're not viewing the page in an iFrame.
This works nice and all, but i'd like it to redirect the users to a unique page depending on they're original request. any ideas???Code:if (parent.frames.length != 0) { // loaded in frames } else { // not loaded frames window.location.href = 'http://www.mydomain.com/' }![]()



Reply With Quote
Bookmarks