The Use of a Javascript in a Website
Many people may confuse the term popup menu with a popup ad. While the names appear similar, they are two entirely different applications. Pop up ads are displayed on a web site and most often are intended to get the website visitor to purchase a item or service. Popup menus on the other hand are used to display a list of additional linked buttons. Javascript is used to create the menu application, so it is written directly into the script and requires no other application.
When a primary menu button is rolled over, the javascript causes the secondary popup menu to be displayed over top of the text on the webpage. The menu does not act like a normal pop up box; it does not need to be closed out and does not include advertisements. It will simply disappear when the viewer rolls their mouse off of the menu.
Pop up images may be displayed similarly to the menus; rather than requiring a click to close or display an ad, a popup image may be shown when a keyword is rolled over that an image has been linked to. Menus may also be triggered by keywords, rather than menu buttons. An example is easily found on the popular www.myspace.com website. When at a user’s homepage there are headings displayed near the top of the screen, below an ad space; the buttons include such things as “Home”, “Mail” and “Profile,” and as each of these are rolled over with the mouse, a menu pops up underneath with sub headings, making navigation easier. Rather than clicking on the mail link before, waiting on a new page to load, then clicking on another link to send a message and then waiting for another page to load, the menu makes direct connections easier and more efficient.
If javascript is disable on the computer or if the user is using one of the various popup killers to stop popups on the web, then the popup menu will still work normally when the primary menu button is rolled over or clicked. A pop up menu differs from a popup advertisement, not only in what it is used for, but also in that it cannot be blocked by a popup blocker. Popup blockers are designed to know the difference between the two types of applications.
Matthew McMillan is a leading expert in the genital wart treatments. His works are regularly featured in online health publications on matters relating genital warts medication. For more information, visit TreatmentForGenitalWarts.com.
Related posts: