Click to See Complete Forum and Search --> : Need someones help really bad...
dwish8990
10-06-2003, 12:48 PM
I'm sooo frustrated, I have a javascript menu and I'm trying to add the same menu to the right of it. For some reason I can't get the 2nd menu to align to the right of the first menu. I've tried using frontpage and notepad, creating tables etc. I just can't do it. If anyone can figure out how to create the same menu, right beside the first one please tell me. Attached is the .js files and below is the html code and a website where it resides (incase you dont want to download the zip).
URL: http://dwish8990.150m.com/menu.htm
html code:
<tr>
<td><link rel="stylesheet" href="ssmitems.css" type="text/css" />
<script src="ssm.js" type="text/javascript"></script>
<script src="ssmitems.js" type="text/javascript"></script> </td>
</tr>
dwish8990
10-06-2003, 02:02 PM
nobody knows how? :confused:
Maybe it's just that I'm not the only one who has no idea what you are asking...
dwish8990
10-07-2003, 06:59 AM
Do you see the menu that pops up when you go to my website? I want that same menu to come up right next to it. 2 menu's next to each other..... but when I copy the code it places the menu UNDERNEATH the current menu. I want it to the RIGHT of the current menu. I tried creating a table but it did not help.
:confused:
dwish8990
10-08-2003, 12:12 PM
did that make it more clear? still in need of help... :confused:
dwish8990
10-12-2003, 03:42 AM
ok, how about this: Can anyone tell me how to put ANYTHING to the right of the menu? It can be a jpg text .. whatever... i just can't understand how to align anything to the right of the menu.
:confused: :confused: :confused: :confused: :confused: :confused: :confused: :confused:
If you position the menu absolutly, it will not take up any space on your page, and you will be able to place other things wherever you want to...
dwish8990
10-13-2003, 08:23 AM
Could you provide me with an html example of what you mean?
Originally posted by pyro
If you position the menu absolutly, it will not take up any space on your page, and you will be able to place other things wherever you want to...
<div style="position: absolute; left: 10px; width: 100px; height: 200px; border: 1px solid;">Menu One</div>
<div style="margin-left: 120px; width: 100px; height: 200px; border: 1px solid;">Menu Two</div>
dwish8990
10-13-2003, 09:30 AM
Didn't work :( Are you sure I can put the javascript within that code? Here's what the html looks like...
<div style="position: absolute; left: 10px; width: 100px; height: 200px; border: 1px solid;">
<link rel="stylesheet" href="ssmitems.css" type="text/css" />
<script src="ssm.js" type="text/javascript"></script>
<script src="ssmitems.js" type="text/javascript"></script>
</div>
But the menu did not show up within the box that was created by the "div" absolute thing.
One of those two scripts is probably using document.write to write the menu in. You'll have to look through the scripts, and change stuff there. Also, the <link> tag with your styles should go in the <head> tag.
dwish8990
10-13-2003, 09:42 AM
Yeah, here's the portion of the code that uses document.write, I just don't know how to modify it.
ssmHTML+='</TR>';
}
ssmHTML+='</table>';
if(NS6)ssmHTML+='</TD></TR></TABLE>';
if(IE||NS6){
ssmHTML+='</DIV></DIV>';
setTimeout('initSlide();',1);
}
if(NS)ssmHTML+='</LAYER></ILAYER></LAYER>';
document.write(ssmHTML);
}