spacer
Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / experts / dhtml / column38
Developer News
Google Going Native With Chrome
Mozilla Fixes Firefox Flaws as 3.5 Release Nears
Microsoft and Novell Still Bosom Buddies

Logo

Hiermenus Go Forth, III:
Version 4 - The External Arrays - Menu and Item Parameters


Element 1 - item_link_url,

Description
The URL to navigate to when the item is clicked.

Value
URL String
May be specified as:
Example Values
string (http: URL):
"http://www.webreference.com/experts/"

string (javascript: URL):
"javascript:window.open('http://www.webreference.com/experts/')"

string (javascript: URL):
"javascript:top.location='http://www.webreference.com/experts/'"

string (mailto: URL):
"mailto:pbel@meteor.com"


The menu above has item display text created by these array parameters:

HM_Array4 = [
[...],
["Experts","http://www.webreference.com/experts/",...],
["Experts (new win)","javascript:window.open('http://www.webreference.com/experts/')",...],
["Mail Peter","mailto:pbel@meteor.com",...]
]
Default
none.
If parameter is omitted, no action is taken when the user clicks the item.

Differences from Version 3 equivalent
There is no difference from the Version 3 equivalent.

Comments
This parameter can be any valid URL. More often than not, http: URLs linking to Web pages will be used. Keep in mind, however that you are not limited to http: URLs.

Now, let's look at two new parameters.


Produced by Peter Belesis and

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
XML and PHP Simplified · Creating a ASP.NET Contact Form · Data Filtering with PHP
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Intel to Host Live Nehalem Q&A · 12 Tips to Troubleshoot Network File-Sharing · 10 Tips for Selling on Kijiji

All Rights Reserved. Legal Notices.
Created: Oct 03, 2000
Revised: Oct 03, 2000

URL: http://www.webreference.com/dhtml/column38/4.html