[RESOLVED] Menu issues

Got a piece of code from a recommended site using CSS and JScript to make a collapseable menu but can't figure out what is locking the menu in place i can't put it where i want eg.. in row 2 column 1 of a table i make attached are the files if anybody can help.

P.S. Had to add a .txt extention on the files to be able to upload them. It is working code just remove the .txt extension
[403 byte] By [cypher5783] at [2007-11-20 0:54:17]
# 1 Re: [RESOLVED] Menu issues
Right now, there is no X Y coordinates set for the menu. I added them into the CSS of the HTML page. Edit them as you wish.

<style type="text/css">
.menu {
top: 500px;
left: 300px;
position:absolute;
background-color:#000099;
border:1px solid black;
width:150;
font-size:11px;
font-family:verdana;
color: #FFFF00 ;
font:bold;
position:absolute;

}

.item_panel {
top: 500px;
left: 300px;
width:150;
border-left:1px solid black;
border-right:1px solid black;
clip:rect(0,150,0,0);
position:absolute;
}
...
PeejAvery at 2007-11-8 0:40:56 >
# 2 Re: [RESOLVED] Menu issues
that will still leave the object floating on the page. is there not a way to make it solid inside the table?
cypher5783 at 2007-11-8 0:41:53 >
# 3 Re: [RESOLVED] Menu issues
In both files, remove lines such as...
position: absolute;
or
style="position: absolute"
I have attached the files with these removed parts. Now you have to move the script tags to position it in a table to your liking.
PeejAvery at 2007-11-8 0:43:00 >
# 4 Re: [RESOLVED] Menu issues
Well that will solve the issue of the absolute position but makes the menu static and unanimated. Solve 1 issue to create another.
cypher5783 at 2007-11-8 0:43:58 >
# 5 Re: [RESOLVED] Menu issues
Well that will solve the issue of the absolute position but makes the menu static and unanimated. Solve 1 issue to create another.
You can't have both. They are complete opposites. Dynamic JS versus a static table.
PeejAvery at 2007-11-8 0:45:04 >
# 6 Re: [RESOLVED] Menu issues
My goal is to have a menu that operates simular to the 1 on this site.

http://www.mygwl.com/
cypher5783 at 2007-11-8 0:45:58 >
# 7 Re: [RESOLVED] Menu issues
Okay, I get what you are saying. How much of a beginner are you?

Basically, its not that simple and I don't have time to go coding a whole menu system for you.
PeejAvery at 2007-11-8 0:47:04 >
# 8 Re: [RESOLVED] Menu issues
not too much of a beginner. Just not sure how that menu is setup. If it's an applet, Jscript, css, or what? found something simular and if i can find a way to get it done i can figure it out.
cypher5783 at 2007-11-8 0:48:05 >
# 9 Re: [RESOLVED] Menu issues
It's JavaScript.

In order to get that done, you will need to use <DIV> with styles to change the display to hidden from block and vice versa. You will also need to use arrays for the menu links and tables to format your menu.

I can whip you up a small example tomorrow in my free time, if I have any. I usually don't.
PeejAvery at 2007-11-8 0:49:08 >
# 10 Re: [RESOLVED] Menu issues
ok so it's still just jscript and css. not a big deal i can figure it out then. i do appreciate the help.
cypher5783 at 2007-11-8 0:50:03 >