|
-
Jul 3rd, 2002, 02:38 PM
#1
Thread Starter
Fanatic Member
Frame Focus
My main page has two frame. How can I make it so everytime I click on frm_Right, it shifts the focus to a textbox in frm_Left?
Code:
<frameset cols="10%,*">
<frame src="Left.html" name="frm_Left" FRAMEBORDER="No">
<frame src="Right.html" name="frm_Right" FRAMEBORDER="No">
</frameset>
I tried this already.
<BODY OnFocus="parent.frm_Left.txtBox.select();">
Thanks
Last edited by Hawk; Jul 3rd, 2002 at 02:46 PM.
Bird of Prey
Mr. Bald Eagle.
[img][/img]
-
Jul 3rd, 2002, 03:32 PM
#2
not sure if you can.
but if you could it should be like so
onFocus="parent.frm_Left.FORMNAME.INPUTNAME.focus();"
-
Jul 3rd, 2002, 04:06 PM
#3
Thread Starter
Fanatic Member
Had a feeling you will reply. I tried that already but it did not work. It worked on a Button.
Bird of Prey
Mr. Bald Eagle.
[img][/img]
-
Jul 3rd, 2002, 04:19 PM
#4
did you try onClick instead?
-
Jul 3rd, 2002, 04:49 PM
#5
Thread Starter
Fanatic Member
Thanks Scoutt.
The code was fine. It was something else in my html file that messed the entire thing up. Do you know if it is possible to make a drop down drop the list and select a certain choice?
Bird of Prey
Mr. Bald Eagle.
[img][/img]
-
Jul 3rd, 2002, 04:58 PM
#6
well my guess would be that you can't because the browser doesn't have that much control with a select. if you are talking that javascript drops it down and then selects the correct one.
-
Jul 3rd, 2002, 05:01 PM
#7
Thread Starter
Fanatic Member
No biggie if it does not work but you are the man Scoutt.
Thanks for your suggestions.
Bird of Prey
Mr. Bald Eagle.
[img][/img]
-
Jul 3rd, 2002, 05:07 PM
#8
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|