This Message Forum is no longer in use

Please use the new Bravenet Help Forums FOUND HERE

General Forum
This Forum is Locked
Author
Comment
cascade menu

Need some advice here!

I need a dropdown menu on my site. I chose the cascade menu in resources. One problem: there is a huge advertising banner at the top. How do I get rid of this banner.

I already have an advertising banner on the top of my website like it is with all free webistes.

How can I get rid of that aweful banner that comes with the dropdown menu?

Re: cascade menu

It took me a little while to figure out what advertising banner you were talking about. The Cascading menu is just Javascript, style definitions, and a little HTML, and doesn't have a ad banner associated with it. Then I realized what you were doing.

The problem is not in the menu, but is in how Bravenet distributes it. Bravenet provides their example code as Entire Page Code. This implies, though they fail to explain, that some of the code needs to be deleted, if you intend to use it in your own page. Adding the code "as is" to your web pages, adds an extra tag which generates an extra set of ad banners.

First, create an empty text file on your local PC. Give it a name like "cascading_menu.txt", or whatever you like. Open it up with NotePad and copy paste the Bravenet Cascading Menu into the file and save it. At the beginning of the Bravenet provided menu code, are the following lines. Delete them.



Cascading Menu



At the bottom of the code is the following lines. Delete them as well.




What's left is the code you insert in the body of your web page. The menu itself is built up as a . The rest of the code dynamically modifies the table contents. Choose where you want the menu to appear on your page and insert the entire block of code.

Note: If you are attempting to use this with the Website Wizard, save your self a lot of headaches and don't bother with it. For a variety of reasons, that have to do with the way the Wizard editors work, the code will not work in the Wizard. It certainly won't replace the nav menu created by default, by the Wizard. If your not using the Wizard, then it should work fine.

There are better ways of using this code, that would actually allow it to be usable in the Wizard, but that is beyond the scope of this posting.