Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Better way to force frames
Name: RTAdams89 Date: December 2, 2008 at 18:24:53 Pacific OS: na CPU/Ram: na Product: na
Comment:
I am currently using a pretty standard JavaScript coupled with the <body onload=""> tag to force pages into a frame set. Here is the script I am using: <script language="JavaScript" type="text/javascript"> <!-- function into_frame() { if (top.location == location) { var str1, str2; str1 = location.href; str2 = str1.replace ("&", "andandand"); top.location.href = "http://asurfc.com/forum.php?iframe=" + str2; } } --> </script>
The only problem with this script is that there is a noticeable delay between the page loading, and the redirection to the frame set page. That is, the whole page is displayed to the user, and then the redirect occurs. Is there a better way to do the redirect (either in JavaScript or PHP) to eliminate this delay?
Summary: yes, you saw it yourself :p I don't know if there's a way to force showing some greyed scrollbar on the topframe... maybe someone will tell you later... but if I were you, I'll just change the whole l...
Summary: A friend of mine was working on some buttons that nicely change color as one's mouse would glide over it. @- http://www.freewebs.com/fhcsc First off, he left them looking quite poorly. I could probab...
Summary: I am in the process of changing my website from a subdomain type of webhost to a new webhost with my newly registered domain name. I have had fairly good search engine rankings on the old. I want to...