/    Sign up×
Community /Pin to ProfileBookmark

Need someones help really bad…

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: [url]http://dwish8990.150m.com/menu.htm[/url]

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>

[upl-file uuid=c2b85f35-5efb-4e52-a032-e08a23580337 size=4kB]menu[1].zip[/upl-file]

to post a comment
JavaScript

11 Comments(s)

Copy linkTweet thisAlerts:
@dwish8990authorOct 06.2003 — nobody knows how? ?
Copy linkTweet thisAlerts:
@pyroOct 07.2003 — Maybe it's just that I'm not the only one who has no idea what you are asking...
Copy linkTweet thisAlerts:
@dwish8990authorOct 07.2003 — 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.



?
Copy linkTweet thisAlerts:
@dwish8990authorOct 08.2003 — did that make it more clear? still in need of help... ?
Copy linkTweet thisAlerts:
@dwish8990authorOct 12.2003 — 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.

? ? ? ? ? ? ? ?
Copy linkTweet thisAlerts:
@pyroOct 12.2003 — 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...
Copy linkTweet thisAlerts:
@dwish8990authorOct 13.2003 — Could you provide me with an html example of what you mean?

[i]Originally posted by pyro [/i]

[B]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... [/B][/QUOTE]
Copy linkTweet thisAlerts:
@pyroOct 13.2003 — &lt;div style="position: absolute; left: 10px; width: 100px; height: 200px; border: 1px solid;"&gt;Menu One&lt;/div&gt;
&lt;div style="margin-left: 120px; width: 100px; height: 200px; border: 1px solid;"&gt;Menu Two&lt;/div&gt;
Copy linkTweet thisAlerts:
@dwish8990authorOct 13.2003 — 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.
Copy linkTweet thisAlerts:
@pyroOct 13.2003 — 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.
Copy linkTweet thisAlerts:
@dwish8990authorOct 13.2003 — 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);

}
×

Success!

Help @dwish8990 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...