',
-10, 16, 80, defOver, defBack, 'itemBorder', 'itemText');
menu = new Item('Cut', '#', '', defLength, 0, 0);
menu = new Item('Copy', '#', '', defLength, 0, 0);
menu = new Item('Paste', '#', '', defLength, 0, 0);
// Help menu
menu = new Array();
menu = new Menu(true, '<', -10, 16, 80, defOver, defBack,
'itemBorder', 'itemText');
menu = new Item('Contents', '#', '', defLength, 0, 0);
menu = new Item('Index', '#', '', defLength, 0, 0);
menu = new Item('About', '#', '', defLength, 0, 5);
// SUB-SUB MENU:: Reopen menu
menu = new Array();
// This is across but not down...
menu = new Menu(true, '>', 79, 0, 100, '#1A5C9F',
'#004891', 'crazyBorder', 'crazyText');
menu = new Item('Recent Doc 1:', '#', '', 22, 0, 0);
menu = new Item('Recent Doc 2:', '#', '', 22, 0, 0);
menu = new Item('Etc. etc...', '#', '', defLength, 0, 0);
// SUB-SUB MENU:: Help About popout
menu = new Array();
// Leftwards popout with a negative x and y relative to its trigger.
menu = new Menu(true, '>', -79, -22, 80, defOver, defBack,
'itemBorder', 'itemText');
menu = new Item('and up!', '#', '', 22, 0, 0);
menu = new Item('Leftwards!', '#', '', 20, 0, 0);
// *** OPTIONAL CODE FROM HERE DOWN ***
// These two lines handle the window resize bug in NS4. See
.
// I recommend you leave this here as otherwise when you resize NS4's
width menus are hidden.
var popOldWidth = window.innerWidth;
nsResizeHandler = new Function('if (popOldWidth != window.innerWidth)
location.reload()');
// This is a quick snippet that captures all clicks on the document and
hides the menus
// every time you click. Use if you want.
if (isNS4) document.captureEvents(Event.CLICK);
document. = clickHandle;
function clickHandle(evt)
{
if (isNS4) document.routeEvent(evt);
hideAllBut(0);
}
// This is just the moving command for the example.
function moveRoot()
{
with(menu .ref) left = ((parseInt(left) < 100) ? 100 : 5);
}
// End -->
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.