Now bear in mind, I’m not detailing automatic dropdown menus here - so called jumpmenus. These will jump directly to the page once you’ve let go of the mouse whilst it’s already on a selection. Those are a bit too complicated for a simple tutorial like this.
Anyway, back to dropdown menus. To get these, you need to do several things.
Preparation
You need to know about cut and paste HTML using the textbox technique and TextEdit or some other text editor. See my earlier article for some pointers first if you’re not sure.
You need to decide what items are going to go into your menus and what pages they are going to link to. For example, in the dropdown menu above, these are the item descriptions and the page that the javascript goes to when you click Go!
Home -- Home.html
Media -- Media.html
Events -- Events.html
Blog -- Blog/Blog.html
Articles -- Articles.html
Links -- Links.html
Guestmap -- Guestmap.html
Search -- Sitemap.html
You also need to know a tiny little bit about the structure of the HTML page, because you need to paste some code into a different place in the page. You can however use Hexmonkey’s wildly popular MassReplaceIt program - I’ll tell you about that later. But don’t worry yourself over it right now, because it’s nothing to sweat about. If you already know about <head> tags you’re practically there.
What to do In iWeb
Place a textbox on the page where you want your menu to go. Now I know what you’re thinking - what size do I have to make the textbox? Well the two textboxes I used for the dropmenus on this page are 150px by 40px and 280px by 40px respectively, so you can roughly decide what size to make yours depending on what text you’re going to put in the menu and what text you’re going to put in the click button.
In the textbox, put some unique text into it, like DropMenuHTMLHere.
Publish.
You now need to find the HTML page where your dropmenu textbox is and replace the text DropMenuHTMLHere with the code for the menu. If you’re unsure where to find this HTML page, see my paypal buttons article for some pointers.
For the dropmenu above, the form code is here: