Forums

This topic is locked

Where to put these codes?

Posted 09 May 2006 12:54:42
1
has voted
09 May 2006 12:54:42 Raquel Poh posted:
Sorry about asking this question but i am a nutcase in designing a website and now I am given a task to do a drop down menu. I have searched the web for codes and found one however , when they said copy and paste codes into body tags i don't undertstand where should i place the codes in, as in, in the index.htm file or in other .html files?

I tried placing it in the index file but when i debug it, i can see nothing.

I have a left and main frame. Can someone help me out??

here is the website of the dropdown menu codes:
simplythebest.net/scripts/DHTML_scripts/dhtml_script_89.html

Replies

Replied 09 May 2006 14:02:19
09 May 2006 14:02:19 Bobby Moirangthem replied:
hi Raquel

Paste the first code inside <head> </head> on your page and the second code inside <body> </body>. Example:
<html>
<head>
<title>My Little Brothel</title>

<!-- ULTIMATE DROPDOWN MENU v4.2 by Brothercake -->
<!-- www.udm4.com/ -->
<!-- Courtesy of SimplytheBest.net - simplythebest.net/scripts/ -->
<script language="javascript" src="dropdown_menu/sniffer.js"></script>
<script language="javascript1.2" src="dropdown_menu/custom.js"></script>
<script language="javascript1.2" src="dropdown_menu/style.js"></script>
</head>

<body bgcolor="#333333">

<script language="javascript1.2" src="dropdown_menu/menu.js"></script>

</body>
</html>

Enjoy!!
Replied 10 May 2006 04:25:31
10 May 2006 04:25:31 Raquel Poh replied:
Thank you so much for replying but the main thing is which .html file should i paste it into? The index.htm or the left.htm since my drop down is intended to be on the left side of the page?

Edited by - roachy on 10 May 2006 04:26:12
Replied 10 May 2006 16:43:50
10 May 2006 16:43:50 Bobby Moirangthem replied:
hi Raquel Poh,
as i can't see your exact script i can't be sure. ya can try putting it on the left.htm and see if it works, if it does NOT then try on the index.htm. if still not working then ya can send me yo code and i will fix it.

Reply to this topic