Digital Point Forums
Money Transfer

Go Back   Digital Point Forums > Design & Development > Programming > JavaScript
Google Analytics
Log In to view
your analytics

Reply
 
Thread Tools
  #1  
Old Aug 16th 2005, 11:25 pm
kc3's Avatar
kc3 kc3 is offline
Twilight Vanquisher
 
Join Date: Dec 2004
Location: Nowhere
Posts: 857
kc3 is on a distinguished road
A Java script menu

Okay, I'm supposed to make a very simple tour with HTML and Javascript, well, here is the code to the JavaScript-

Quote:
Originally Posted by menu.js
var main_menu = new MENU("top");

main_menu.entry( 1, 20, "Main Building", "index.html" );
main_menu.entry( 2, 15, "Gift Shop", "gift_shop.html" );

main_menu.mainTop = 20;
main_menu.mainLeft = 160;
main_menu.BGColor = "./images/bg.jpg";
main_menu.floatMenu = false;

main_menu.create();
And the code to the small HTML file-
Quote:
Originally Posted by index.html
<html>

<head><title>Konkolville Motel Online Tour</title></head>

<body>

<table width='700' align='center' border='1'><tr>

<td align='center'><script language='javascript' src='menu.js'></script></td>

</tr><tr><td align='center'>

<img src='./images/carol-1.jpg'></img>

<br>Welcome to the Konkolville Motel

</td></tr></table>

</body>

</html>
All the pictures exist and everything but there is no menu being shown in index.html, what did I do wrong?
Reply With Quote
  #2  
Old Aug 18th 2005, 10:35 pm
kc3's Avatar
kc3 kc3 is offline
Twilight Vanquisher
 
Join Date: Dec 2004
Location: Nowhere
Posts: 857
kc3 is on a distinguished road
I realy need help with this, somebody please respond.
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
newbie java script menu question tork JavaScript 1 Aug 9th 2005 3:49 am
Making a "list menu" or "jump menu" display a list genevieve JavaScript 1 Aug 8th 2005 11:43 am
knowing the java script mihirkantabehara Introductions 9 Jul 13th 2005 3:11 pm
Ditching Java-script for picture-show miko67 PHP 3 Jan 11th 2005 2:35 pm


All times are GMT -8. The time now is 5:43 am.