deadlock Message Board
[ September Full List | Reply ]

Re: scrolldown menus that load pages in other frames?
From Inachu at Help Desk on 29 Sept '00
replying to scrolldown menus that load pages in other frames? posted by Torsten Huygens

YOu need the -TARGET- command.

To see this in action you can visit my first website I ever built for
small business! Either I 'll get pat on the back or you will laugh at me. But read the index source code and there is your answer on
how to target frames.

Better yet just as Jim or use NetObjects 4.0 to build your site!

Here is the site url.......

http://www.erols.com/gstanton

(My html skill have been greatly enhanced since then.)
I'll be updating their site soon anyway....

Oh and......... you should not use frames! IT kills you on the search relevance rating game......



Inachu


>First, I thank Melanie from DreamGreetings for providing me this script below. My problem now is to make that to work with frames, because I intend to insert that script/form in a frame on the left (my navigation frame) and it should load pages in another frame on the right (site´s content pages)?
>
>What should I include in the script?
>Thanks in advance!
>/Toersten
>
><!--
>

><SCRIPT LANGUAGE="JavaScript">
>function formHandler(){
>var URL = document.form.state.options[document.form.state.selectedIndex].value + ".html";
>window.location.href = URL;
>}
></SCRIPT>
>
><form action=any_file.html method="post" name="form">
>
><select name="state" onChange="formHandler()">
><option value="">ChooseState</option>
><option value="MS">MS</option>
><option value="AB">AB</option>
><option value="WM">WM</option>
><option value="TX">TX</option>
><option value="NY">NY</option>
><option value="NM">NM</option>
><option value="WT">WT</option>
></select>
>
><input type="submit" value="OK">
>
></form>




Reply to this message

Required Details
Your name:
Subject:

Optional Details
Home page title:
Home page URL:
Email:
(if you'd like to receive automatic replies by email)

Your Message