spacer

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


home / experts / dhtml / column46
Developer News
News Flash: Adobe Has iPhone Workaround
Adobe's Flash 10.1 Goes Mobile (Minus iPhone)
A Salute to Visionary CEOs

Logo

Hiermenus Go Forth, X:
Version 4.0.3 - The Complete Script (Full-Window)



Promises To Keep

In our first Version 4 column, we promised:

HM Version 4 is comprised of several external files, each one optimized for a particular browser. Only the optimized file is loaded, giving users only the code necessary for their browser.

The original feedback was negative. Most authors believed that this approach would lead to a "maintenance nightmare." We therefore reneged on our promise and produced a one-size-fits-all script. Well, the feedback became even more negative. Our original instincts seem to have been correct: The single script is more nightmarish than the separate ones. With Version 4.0.3, we move to browser-specific scripts.

hierMenus.js R.I.P.

Our external scripts need different names, of course, so we finally lay hierMenus.js to rest. The new external scripts identify the browser and follow our Version 4 naming scheme:

hierArrays.js R.I.P.

It follows that the external array file should also be renamed to follow the Version 4 naming scheme, so it is now called HM_Arrays.js.

onload

In the interest of menu-creation speed, Versions 4.0 --> 4.0.2 created the menu elements during page load. Creation speed was truly improved and the page's onload event handler was freed up for use by other scripts.

However, problems arose for nearly all browsers:

Therefore, check for conflicting onload handlers in other scripts or your page's BODY tag when using Version 4.0.3.


More notes on the next page.


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 >
Building a Banking Application Home Page with OOP · Mixing Scripting Languages · Review: phpFox, a Social Networking CMS with all the Bells and Whistles
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Enterprise 2.0: Social Networking in the Cloud · BroadSoft Marketplace Hastens Pace of Telephony Innovation · Review: HTC Hero for Sprint

All Rights Reserved. Legal Notices.
Created: Jan 23, 2001
Revised: Jan 23, 2001

URL: http://www.webreference.com/dhtml/column46/2.html