Drop-down Display Arizona

In the last Script tip, we learned the layer and its properties. Now let's get it to display.

Local Companies

JDR Consulting
480-491-4756
1660 S. Alma School Rd. Ste 223
Mesa, AZ
Multi Edit Software Inc
480-610-2700
7532 E Dulciana Cir
Mesa, AZ
Component Software Inc
480-496-9303
5831 W Kesler St
Chandler, AZ
Vertex Inc
(480) 283-8600
2961 E Marlene Dr
Gilbert, AZ
Lariat Software, LLC.
800-647-2764
9201 N. 25th Ave. #260
Phoenix, AZ
hard disk data recovery
001-980-000-0000
Street
City, AZ
Aya Solutions
480-833-1727
1955 E Hackamore St
Mesa, AZ
Alphasource Technologies Inc Inc
520-620-6888
3120 W Corte Olivia
Tucson, AZ
Synapps LLC
(480) 664-6071
4649 E Carriage Ct
Gilbert, AZ
Wizard Computer Services
(480) 926-3144
2104 E Freeport Ln
Gilbert, AZ

provided by: 
Originally published at Internet.com


Wrapping it all up...

OK, we've got the basics. We know about the layer, we understand the loops, now let's put it all together in a function. Yes, I know there are two functions, but look again. They are exactly the same function except for one keystroke. For use with Netscape Navigator.

The Script's Effects

-----------------------------------

Here's the code

We know that the entire layer is on the page; we've just made a point of hiding part of it. The function showmenu() reveals the rest of the layer, but rather than just popping it up, it produces a scroll. It's a nice effect that requires the use of two "for" loops. Since "for" loops are new to the script tips, let's look at how they work. function showmenu() { startx = document.layers["click"].clip.bottom for (j=0;j<70;j++) { document.layers["click"].clip.bottom = startx+j for (x=0;x<120;x++) { void(0) }}}

Rather than simply starting with line one and bulling forward, allow me to give you the overall big picture. Two things are happening in this function. A portion of the layer is being revealed. Then a span of time is allowed to pass, then another piece is revealed, then a span of time is allowed to pass, etc., etc...

Read article at Internet.com site

Featured Local Company

hard disk data recovery

001-980-000-0000
Street
City, AZ

Related Local Events
Toastmasters
Dates: 3/25/2010 - 3/25/2010
Location: Peoria Chamber of Commerce
Peoria, AZ
View Details

Toastmasters
Dates: 5/6/2010 - 5/6/2010
Location: Peoria Chamber of Commerce
Peoria, AZ
View Details

Toastmasters
Dates: 6/17/2010 - 6/17/2010
Location: Peoria Chamber of Commerce
Peoria, AZ
View Details

Toastmasters
Dates: 7/29/2010 - 7/29/2010
Location: Peoria Chamber of Commerce
Peoria, AZ
View Details

Toastmasters
Dates: 9/9/2010 - 9/9/2010
Location: Peoria Chamber of Commerce
Peoria, AZ
View Details

Topics: 
Architecture & Design Languages & Tools Project Management Web Services
Database Microsoft & .NET Security Wireless
Java Open Source Techniques XML