dynlayer functions DHH77Y3TYLFNSZUHQAXKMBU3ZFLXLKJWOD2BN5Y




The Dynamic Duo - The Dynamic Layer Object API [Functions]



loc = "../"






document.write(toccss)
document.write(tochtml)

DynLayer Functions

There are 2 other functions I need to explain:

The DynLayerTest() Function

The DynLayerTest() function was added only as a debugging function. I really should have included this sooner as it really helps you when you get into creating DHTML Objects. This function will automatically double check your initialization (the id and the nestref parameters) to make sure the layer in fact does exist before defining itself. It does not check when you use IFrame, you're on your own with that.

If you happen to get the initialization wrong, the DynLayerTest() function will show an alert() of what layer in the hierarchy is the problem (<-- this layer cannot be found). This should help you figure out what's wrong with your code. This function is redundant for layers that are initialized by the DynLayerInit() function.

The css() Function

I'm including the css() function in the DynLayer because many of the later lessons in this tutorial are using it. This is more a personal preference than a necessity. Read the Generating Layers lesson for an explanation of this function.

The Dynamic Layer Object API

Initialization
DynLayerInit() Function
Properties
Using Layer-based Events
Hide, Show, Move Methods
Slide Methods
Clip Methods
Write Method
css() and DynLayerTest() Functions
Download: dynlayer.js
View Source: dynlayer.js



Home
Next Lesson:
DynLayer Extensions


copyright 1998 Dan Steinman







Wyszukiwarka

Podobne podstrony:
function fdf next field name
function ccvs void
function mysql error
function mcal event set end
function mcrypt cbc
Functional Origins of Religious Concepts Ontological and Strategic Selection in Evolved Minds
function domnode get content
function mcrypt module get algo key size
function pdf execute image
function nl2br

więcej podobnych podstron