Click to See Complete Forum and Search --> : Problem with displying in Frame !!!!


shanuragu
07-22-2003, 10:45 PM
Hi

I have two frames in my form viz, frm1 & frm2.

In frm1 I have list of chapter headings like chap1, chap2...

My problem is, when I click each chapter name (hyper link for the chapter name or a button with its name as chapter name) I should be able to display respective chapter details in frm2. I know that I can do this using js, but not sure how to statrt with. Can any one please help me to solve this problem???

shara

Jupac
07-22-2003, 10:49 PM
use this
<a href=http:// target="_parent">Chapter</a>

mili
07-22-2003, 10:51 PM
You dont need javascript for this.

While creating the 2 frames, give them some names like frm1 & frm2
If you have abc.html in frm1 containing subject list, the link from here should have a target attribute like:

<a href="blah.html target="frm2">subject1</a>

shanuragu
07-23-2003, 01:58 AM
Thanks

shara:D

shanuragu
07-23-2003, 02:26 AM
A have another problem with frames,

I am able to display chapter details in frm 2. but if the chapter info is more then a scroll bar will be displayed automatically. I want the text to scroll without displaying scroll bar . Is that possible?? I heard that we can do this using layers. How can I use layers to solve this problem??? :(

domuk
07-23-2003, 03:56 AM
This sounds interesting..

Mind if i hang around for an answer?

dom..

bleep
07-23-2003, 08:21 AM
I found a script that should take care of the scrolling problem at

http://javascript.internet.com/scrolls/layer-scroller-example.html

Go there and do a "show source"...

And set the scrolling attribute in your frm1 and frm2 frames to "no". It looks nicer that way.