DHTML menus and frames?
Hi all
Another one of my qusetions
You know the menus such as the ones found on microsoft.com and the script at dynamicdrive.com.
Is there a way to make the menu come over the top of another frame. Because at the moment they just go behind the frame?
I think the answer is no but i am not certian
Thanks
JLS (Joshua Lee Simpson)
Vincent Puglia posted this at 13:49 — 6th August 2000.
They have: 634 posts
Joined: Dec 1999
Hi Josh,
Since the positioning of a layer (div or otherwise) is always relative to the document it is in, the answer is no.
Vinny
Josh Simpson posted this at 00:49 — 7th August 2000.
They have: 147 posts
Joined: Dec 1999
A Stink
Thats a pain in the #$@#
O well
Josh
dndpavlik posted this at 22:18 — 23rd August 2000.
They have: 8 posts
Joined: Apr 2000
I would like ot know what you mean by over the fram, I have had layers, in div tags, with dynamic positioning appearing over under adn even doing all sorts of animation and alll I have to do is change the z-index of the layer and it can and will position the layer at the level you wish. the lowest sating at 0 or 1 and the max being any greater number.
would appear below the above layer, as in underneath it.
Would appear ontop of the the first layer that has been declaired.
You are only limited to that what you think you can do.
Rageforth posted this at 15:13 — 24th August 2000.
They have: 56 posts
Joined: Feb 2000
you can make a a layer appear in a different frame onmouseover. in the top frame you have a link with an onmouseover action on it. that action tells a layer in the bottom frame to be visible. but no, it cannot span over two frames
The trouble with doing something right the first time is that nobody appreciates how difficult it was.
Vincent Puglia posted this at 20:57 — 28th August 2000.
They have: 634 posts
Joined: Dec 1999
Hi,
RageForth's on the money.
You can even have a div move from one layer to another if you keep track of its position. The coding would be tedious and the effect may not be worth the effort, though.
Vinny
Where the world once stood
the blades of grass cut me still
Mark Hensler posted this at 00:43 — 30th August 2000.
He has: 4,048 posts
Joined: Aug 2000
possible???
1-- window with frames...
2-- window with more frames inside window1
can you have an onmouseover inside a window2 frame make a layer inside a frame in window1 visible... making a pear to span 2 frames?
make any sense?
Mark Hensler
If there is no answer on Google, then there is no question.
Vincent Puglia posted this at 07:43 — 30th August 2000.
They have: 634 posts
Joined: Dec 1999
Hi Max,
Span over 2 frames, yes -- the effect would be much as the tree outside your house window does. In other words, you will still see the frame borders (if you have any). Essentially what you need to do is define the same div in both frames. Then calculate how much of the div is visible in each frame.
pseudo-code follows:
if(frame1.div.left == x pixels from right border)
frame2.div.left = div.left - x
substitute top & bottom for left & right
So, you have what appears as 1 div spanning over 2 frames. But, as RageForth said: you cannot have 1 div span 2 frames
Vinny
Where the world once stood
the blades of grass cut me still
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.