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

home / experts / dhtml / column38
Developer News
Google Chrome Playing Catch-Up on Extensions
Open Solutions Alliance Gets New Leadership
Red Hat Spacewalk Expands Linux Management
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.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info

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

webref The latest from WebReference.com Browse >
Popular JavaScript Framework Libraries: An Overview - Part 3 · Accessing Your MySQL Database from the Web with PHP · Working with the DOM Stylesheets Collection
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
MS Access and MySQL · Cisco AutoQoS: VoIP QoS for Mere Mortals · While VoIP Adoption Explodes in Enterprise, Carrier Spending Lags

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

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