Click to See Complete Forum and Search --> : 2 questions about frame's


pelegk1
07-28-2003, 04:14 AM
1) i have 2 frames in the first 1 i have a button!
i want when i click it that in the second frame will be loaded a page that i wil tell it using javascript if possible!!!
how to do that?
2)if i make a frame of 100*100 pixel
and i load into it a page that exceed's 100*100 will i get scroll bars?
10X:) in advance
peleg

Khalid Ali
07-28-2003, 08:31 AM
Hello Pelegk1,

Q1.
in the onclick event call of the button use this code

onclick="parent.frameName.location.href='pageUrl.html'"

Q2.
Yes unless u add this attribute to frame

scrolling="no"

pelegk1
07-29-2003, 12:59 AM
!)X:) alot

Khalid Ali
07-29-2003, 01:05 AM
you are welcome...:p