This Message Forum is no longer in use
Please use the new Bravenet Help Forums FOUND HERE
I'm trying to insert your drop down menu 1 into a new webpage which I intend to do for school. But I'm not successful. I still did not put it online as I need to solve some basic problems. I'm sending all the page source.
= new Item('Cut', '#', '', defLength, 0, 0);
= new Item('Copy', '#', '', defLength, 0, 0);
= new Item('Paste', '#', '', defLength, 0, 0);
= new Array();
= new Menu(true, '<', -10, 16, 80, defOver, defBack,
= new Item('Contents', '#', '', defLength, 0, 0);
= new Item('Index', '#', '', defLength, 0, 0);
= new Item('About', '#', '', defLength, 0, 5);
= new Array();
= new Menu(true, '>', 79, 0, 100, '#1A5C9F',
= new Item('Recent Doc 1:', '#', '', 22, 0, 0);
= new Item('Recent Doc 2:', '#', '', 22, 0, 0);
= new Item('Etc. etc...', '#', '', defLength, 0, 0);
= new Array();
= new Menu(true, '>', -79, -22, 80, defOver, defBack,
= new Item('and up!', '#', '', 22, 0, 0);
= new Item('Leftwards!', '#', '', 20, 0, 0);
.ref) left = ((parseInt(left) < 100) ? 100 : 5);School Website | |||
the code I sent was strangely cut in half!
= new Item('Cut', '#', '', defLength, 0, 0);
= new Item('Copy', '#', '', defLength, 0, 0);
= new Item('Paste', '#', '', defLength, 0, 0);
= new Array();
= new Menu(true, '<', -10, 16, 80, defOver, defBack,
= new Item('Contents', '#', '', defLength, 0, 0);
= new Item('Index', '#', '', defLength, 0, 0);
= new Item('About', '#', '', defLength, 0, 5);
= new Array();
= new Menu(true, '>', 79, 0, 100, '#1A5C9F',
= new Item('Recent Doc 1:', '#', '', 22, 0, 0);
= new Item('Recent Doc 2:', '#', '', 22, 0, 0);
= new Item('Etc. etc...', '#', '', defLength, 0, 0);
= new Array();
= new Menu(true, '>', -79, -22, 80, defOver, defBack,
= new Item('and up!', '#', '', 22, 0, 0);
= new Item('Leftwards!', '#', '', 20, 0, 0);
.ref) left = ((parseInt(left) < 100) ? 100 : 5);School Website | |||
Over to the left, it says "html allowed". That means if you paste HTML code into a post, our browser will try to interpret it -- but Bravenet's software will filter some of it out, because it could cause problems. That feature is so you can place links in your message, or include small images.
If you want to paste HTML code in, you need to do the same thing you would do if you wanted the code to appear on your page: change < into <, for example.
But pasting all your code into a post here isn't going to get you an answer. You need to place the code in a page on your site, and post the URL of that page.
The problem is that as I'm still tackling teething problems so I cannot publish my website!
I posted it online at: http://wysifauthoring.informe.com/forum/viewtopic.php?p=9190#9190
No, you need to paste the code, as code, not as text.
You said:
"I'm trying to insert your drop down menu 1 into a new webpage which I intend to do for school"
OK, paste it, upload the page, give us the URL.
You should tell us where you found the script you're trying to use, because either the source site has errors, or you copied it incorrectly.
For example, the tag is in the wrong place. That's a killer.
You have no body tag. That should not be a big problem, but it indicates something else may be wrong.
OK, I found it:
http://resources.bravenet.com/scripts_archive/javascript_dhtml/menus/drop_down_1/
and yes, you copied it incorrectly.
http://stpaulsbay.bravehost.com/index.html
Thanks for your time and patience!
First, clean out the code you have pasted in.
Then, go back to the Bravenet page:
http://resources.bravenet.com/scripts_archive/javascript_dhtml/menus/drop_down_1/
and follow the instructions again.
The biggest error is, you have the closing /script tag right next to the script tag.
The next-biggest error is, you didn't set up your body tag per the instructions:

