Closed Thread Icon

Preserved Topic: div and frames Pages that link to <a href="https://ozoneasylum.com/backlink?for=18306" title="Pages that link to Preserved Topic: div and frames" rel="nofollow" >Preserved Topic: div and frames\

 
Author Thread
lallous
Paranoid (IV) Inmate

From: Lebanon
Insane since: May 2001

posted posted 11-21-2001 10:02

I have a layer which is 100x100: layer1
I have two horizontal frames frame1 (10%), fram2 (90%)

In frame1 i put an <a href="#">over me</a> tag and when onmouseover: showLayer(layer1) and onmouseout: hideLayer(layer1);

Is there is a way to make that <div> to show part in frame1 and the rest of its part in layer2?

any other workaround to accomplish my goal?

Weadah
Maniac (V) Mad Scientist

From: TipToToe
Insane since: Aug 2000

posted posted 11-21-2001 10:57

Yup, tho it won't be fantastic. You could add the same layer to frame_2, then position both layers (in frame1_ and frame_2) accordingly - shifting layer2 in frame_2 top : -30px; layer1 top : +10px for example to align them.

onmouseover: showLayer(layer1,layer2);
// where layer2 looks something like : parent.frame_2.layer2.vis = 'yup';

And do the same for your onmouseout.
It probably wont be great and there may be a better solution, but anyways hope that helps.

Weadz


[This message has been edited by Weadah (edited 11-21-2001).]

lallous
Paranoid (IV) Inmate

From: Lebanon
Insane since: May 2001

posted posted 11-21-2001 11:15

Weadah, I could have done that if the page in 'frame2' is mine!
It will be from another page, and just frame1 is my own and have that drop down menu that has part of it laying over frame2.

Thanks Weadah.

Hope someone else got a solution!

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 11-21-2001 21:13

Unfortunately, only way to do this is like Weadah said above. Layers can't go over frames (that's how frames work, they set boundaries to the shown document)....


« BackwardsOnwards »

Show Forum Drop Down Menu