Log in

View Full Version : DHTML Menu Help


DCA Fan
04-10-2003, 00:48
I'm starting an experimental website here: Kiwanja (http://gchen.netfirms.com/wild/index2.htm) and I'm having problems with the DHTML menu.

1) Positioning. Is there a way to put the menu in the dark red cell that I made?

2) Targets. How do you make the links in the menu target the IFrame that I have on that page?

Any help would be appreciated. Thanks :)

Jack
04-10-2003, 11:11
1)You can use css absolute positioning. What you'll want to do is to put

<div id="menu">THE MENU CODE</div>

then in the css:

#menu {
position: absolute;
left: Xpx;
top: Ypx;
}

where the X is the number of pixles from teh left of the page and the Y is the number of pixels from the top.


2)You'll need something like <a href="asdf.html" target="_self">woo</a> in your code. You can find more about it here (http://www.w3.org/TR/html4/present/frames.html#adef-target) and here (http://www.w3.org/TR/html4/types.html#type-frame-target)

DCA Fan
09-10-2003, 02:08
Thanks for the help :)