Help - Search - Members - Calendar
Full Version: Using frames
MSFN Forums > Coding, Scripting and Servers > Web Development (HTML, Java, PHP, ASP, XML, etc.)

   
Google Internet Forums Unattended CD/DVD Guide
dwarfer
Is there a script which uses the basic frame layout but will have a text field in one which a user can put a URL and it will open the URL in the second frame?

Thanks
Chozo4
This should do the trick for ya. It's very bare-bones so you'll need to tailor the rest of it to your needs.

urlframe.htm
CODE
<frameset rows=150,*><frame src=top.htm></frame><frame name=btm src=bottom.htm></frame></frameset>


top.htm
CODE
<form onsubmit='parent.btm.location="http://"+url.value;'><input name=url><input type=submit value=go></form>


bottom.htm
CODE
Empty frame - will show entered url
ripken204
please not frames crazy.gif
Idontwantspam
QUOTE (ripken204 @ Dec 23 2007, 02:51 PM) *
please not frames crazy.gif

I second the notion. Frames are baadddd... Very bad. Avoid if at all possible.
dwarfer
Thanks Chozo4 I will try this script. I have to use frames as I am using them to bypass a program which my school uses to block websites newwink.gif
Idontwantspam
Ahem. Maybe you shouldn't exactly be telling us that... just leave it at "I have to use frames"....

And... don't. Just don't. You'll get in very big trouble when they find out.
ripken204
haha, big trouble? lucky me i have an administrative account at school and all websites are unblocked smile.gif
Idontwantspam
QUOTE (ripken204 @ Dec 27 2007, 07:09 PM) *
haha, big trouble? lucky me i have an administrative account at school and all websites are unblocked smile.gif

Yes, lucky lucky you. sigh. However, here everything passes through squid, and it's all blocked for everyone, even the teachers and administrators. One irony is the "Acceptable use policy" thing says you MUST take all necessary steps to prevent someone from accessing your account, yet we can't* lock the workstations!! dry.gif

I on the other hand have a normal student account, though with power user rights. We use novell, which is really messed up. I do however have access to the local administrator account on all the machines, and that password happens to also be the BIOS password. I wasn't supposed to know it, but the physics teacher knew it and i was trying to fix a computer, asked him if he could put in the BIOS config password if he knew it, and instead of entering it himself, he just said 'The admin password for all of them is ******' Well. OK then... rolleyes.gif I still don't know the novell password. I really need to talk to the it guys, but the problem when you're in a school district with many thousands of kids and only one central IT office is that you never really get a chance to talk to them. It does mean that there aren't enough techs to go around, thus I am sometimes given extra credit for fixing computer for people. biggrin.gif

*Well, we can in windows 2000 with a shortcut to rundll32.exe User32.dll, LockWorkStation, and in XP to tsdiscon. But they don't know that. ph34r.gif
Google Internet Forums Unattended CD/DVD Guide
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.