Showing and scrolling layers *** UPDATED Aug-26-2012 ***
Posted: Tue Feb 28, 2012 2:38 pm
[rz] Layers v1.6.5
This set of extensions allows to scroll layers and play a bit with them.
You can have a set of layers as a widget/s like and easily show/hide/scroll them.
Sample project file included.
DEMO
HTML 4.01 Transitional
W3C compliant
* NEW in version 1.6.5:
General:
- Improved mouse and keyboard handling to "onfocus", "onblur", "onmouseover" and "onmouseout" events with tab and enter keys (includes workarounds for Chrome and IE).
New behavior in Open/Close synchronized:
- Improved "open on hover" and "deactivate close" sequences.
- Move the opened layer on top of the screen elements.
- Move the open/close icons on top of the opened layer.
These features allow to build sophisticated menus! (also separated ones in the same page - and can be placed in masterpages.)
Loop:
- Improved sequence handling "onstop" and "onplay" events.
* NEW in version 1.6.0:
New behavior in Open/Close synchronized layers:
- open on hover: triggers the open sequence when the mouse is over the open icon; no click required.
- deactivate close: this option implies that the only way to close the current opened layer is opening another synchronized layer.
Now the scrolling layers may act as a sophisticated menu!
(at this stage I must thanks to supersonicct and bendigo, for their patience and their fresh and advanced ideas that contributed to make these extensions set what they are today; please forgive me if forgot to mention someone else that for sure in a way has contributed as well.)
New easing effect (with 30 variations) added in each extension for visual bouncing/elastic movements.
The following chart may be useful to understand these variations: http://jqueryui.com/demos/effect/easing.html
* NEW in version v1.5.0:
Hover event fixed (minor visual issue when other jQuery objects are present in the same page).
User-events support added.
Automatic/manual start-up property deprecated (improved start-up process).
(lib-1) and (lib-2) extensions were deprecated and excluded, now centralized in one (lib) extension.
Images preloading for smoother navigation.
The extensions with go-previous and go-next features, now include the onfirst and onlast behavior; i.e: on first, go last or stay on first; on last, go first or stay on last.
New extension was added: "loop".
New available functions for events in standard text links:
MyObject_play(): starts a "loopable" layers cycle.
MyObject_stop(): stops a "loopable" layers cycle.
MyObject_paused: read/only, indicates the current status of a "loopable" layers cycle.
* NEW in version v1.4.0:
"Pushed button" 3D effect (also works in Internet Explorer).
New extension: [rz] Button, the complement for the [rz] Layers extensions scheme.
* NEW in version v1.3.0:
Cleaner code.
Better calculations for slow animated layers.
New "[rz] Layers (oc2)" extension (see the description below).
Deep nesting support.
Automatic layers startup option.
Simplified startup mode (open-icon and close-icon visibility properties were deprecated, now is centralized in one property).
New onfocus/onblur implementation for a better keyboard experience when opening/closing layers (when an open/close button get the focus via the tab key and the user press enter -so the proper event/action is triggered-, this button won't get the focus).
New extension was added: "pagination".
* NEW in version v1.2.0:
Normal and hover images for the controls (open/close/previous/next/default/shake).
When a control (open/close/previous/next/default) receive the focus (via the [Tab] key), you can decide for the dotted box (it means the default browser's indicator) or not (only the hover image).
Available functions for events in standard text links:
MyObject_open(): open an individual layer or a layer from a group.
MyObject_close(): close an individual layer or a layer from a group.
MyObject_switch(): open or close an individual layer or a layer from a group - if a layer is opened, then will be closed and viceversa.
MyObject_goto(n): go to a specific layer number from a group (pagination).
MyObject_curr_layer: read/only, indicates the current shown/hidden layer.
MyObject_opened: read/only, indicates the opened/closed layer(s) state.
MyObject_default_layer: indicates the start-up/go-to default layer.
Note: Due to internal changes, (only) open-normal/hover and close-normal/hover icons must be reentered.
* NEW in version v1.1.0:
Now the "open/close" and the "open/close/more" extensions can have a base layer or "fixed", also called "Layer #0".
It can receive particular open/close behavior; once opened, remains fixed until the close icon is clicked.
This may be useful when you want to have scrollable layers (some transparency is required) with a fixed background; and, of course, this background with its particular open/close behavior.
New extension was added: "open/close/previous/next" with the new base layer included!
How to use?
Depending on the selected extension (ocn/pn/pnd/pnd2/ocpn), you must have all the layers named with a common prefix, that identifies the group they are belonging to, then, numerated consecutively as follows:
group-a-1 (prefix 'group-a-', with 3 layers)
group-a-2
group-a-3
group-b-0 (prefix 'group-b-', this group has a fixed background and 2 layers)
group-b-1
group-b-2
Then, if applicable (if the selected extension manages a group of layers), indicate the number of layers that be managed.
For an optimal effect, the set of layers belonging to the same extension/purpose should be at the same x/y coordinates and have the same size.
[rz] Layers (oc)
Open/Close
This extension allows you to open and close a layer.
[rz] Layers (oc2)
Open/Close (extended version)
This extension allows you to open and close a layer synchronously within a group.
Just name the group to which the layer belongs to.
[rz] Layers (ocm)
Open/Close/More
This extension allows you to open and close a group of layers.
Once you click and make visible the first layer, you can scroll through the other layers.
[rz] Layers (pn)
Previous/Next
This extension allows you to go to the previous or the next layer (belonging to the same group).
[rz] Layers (pagination)
Pagination/Previous/Next
This extension allows you to go to the previous or the next layer (belonging to the same group).
Also has direct links to each page (like a panel showing access to the available layers).
[rz] Layers (pnd)
Previous/Next/Default
This extension allows you to go to the previous or the next layer (belonging to the same group), clicking on the "go default" icon, the first layer is shown.
[rz] Layers (pnd2)
Previous/Next/Default (extended version)
This extension allows you to go to the previous or the next layer (belonging to the same group), clicking on the "go default" icon, the first layer is shown.
Also an object belonging to the first/default layer is shown or hidden when it is active or not.
[rz] Layers (ocpn)
Open/Close/Previous/Next
This extension allows you to open and close a group of scrollable layers.
You can go to the previous or the next layer (belonging to the same group).
[rz] Loop
This add-on converts "go to previous/next layer" extensions to a "loopable" cycle.
Can automatically or manually start the cycle. Just point to the extension to be "converted".
[rz] Layers (shake)
This extension allows you to shake a layer when you click on an icon or the mouse is over it.
It is useful when you need the user's attention.
[rz] Button
This lightweight extension allows you to setup an image button with ease.
Similar to the rollover extension; no jQuery effects, but this image button can receive focus, support events and many link options.
[rz] Layers (lib)
This extension must be included in the page you are using the listed extensions.
That's all.
All these extensions allow you to customize the images, positions, tooltips, etc.
You can see a few live examples here:
http://www.***.com
go to portfolio (click on the [^][v] images, put the mouse pointer over the [<] image or click on it)
go to publications (similar examples)
go to curriculum vitae -> education / experience / training / others / personal references (click on the [+] images)
from main, click on the link to news image (you will see at top right a clock image).
Hope you can find them useful.
Enjoy!
This set of extensions allows to scroll layers and play a bit with them.
You can have a set of layers as a widget/s like and easily show/hide/scroll them.
Sample project file included.
DEMO
HTML 4.01 Transitional
W3C compliant
* NEW in version 1.6.5:
General:
- Improved mouse and keyboard handling to "onfocus", "onblur", "onmouseover" and "onmouseout" events with tab and enter keys (includes workarounds for Chrome and IE).
New behavior in Open/Close synchronized:
- Improved "open on hover" and "deactivate close" sequences.
- Move the opened layer on top of the screen elements.
- Move the open/close icons on top of the opened layer.
These features allow to build sophisticated menus! (also separated ones in the same page - and can be placed in masterpages.)
Loop:
- Improved sequence handling "onstop" and "onplay" events.
* NEW in version 1.6.0:
New behavior in Open/Close synchronized layers:
- open on hover: triggers the open sequence when the mouse is over the open icon; no click required.
- deactivate close: this option implies that the only way to close the current opened layer is opening another synchronized layer.
Now the scrolling layers may act as a sophisticated menu!
(at this stage I must thanks to supersonicct and bendigo, for their patience and their fresh and advanced ideas that contributed to make these extensions set what they are today; please forgive me if forgot to mention someone else that for sure in a way has contributed as well.)
New easing effect (with 30 variations) added in each extension for visual bouncing/elastic movements.
The following chart may be useful to understand these variations: http://jqueryui.com/demos/effect/easing.html
* NEW in version v1.5.0:
Hover event fixed (minor visual issue when other jQuery objects are present in the same page).
User-events support added.
Automatic/manual start-up property deprecated (improved start-up process).
(lib-1) and (lib-2) extensions were deprecated and excluded, now centralized in one (lib) extension.
Images preloading for smoother navigation.
The extensions with go-previous and go-next features, now include the onfirst and onlast behavior; i.e: on first, go last or stay on first; on last, go first or stay on last.
New extension was added: "loop".
New available functions for events in standard text links:
MyObject_play(): starts a "loopable" layers cycle.
MyObject_stop(): stops a "loopable" layers cycle.
MyObject_paused: read/only, indicates the current status of a "loopable" layers cycle.
* NEW in version v1.4.0:
"Pushed button" 3D effect (also works in Internet Explorer).
New extension: [rz] Button, the complement for the [rz] Layers extensions scheme.
* NEW in version v1.3.0:
Cleaner code.
Better calculations for slow animated layers.
New "[rz] Layers (oc2)" extension (see the description below).
Deep nesting support.
Automatic layers startup option.
Simplified startup mode (open-icon and close-icon visibility properties were deprecated, now is centralized in one property).
New onfocus/onblur implementation for a better keyboard experience when opening/closing layers (when an open/close button get the focus via the tab key and the user press enter -so the proper event/action is triggered-, this button won't get the focus).
New extension was added: "pagination".
* NEW in version v1.2.0:
Normal and hover images for the controls (open/close/previous/next/default/shake).
When a control (open/close/previous/next/default) receive the focus (via the [Tab] key), you can decide for the dotted box (it means the default browser's indicator) or not (only the hover image).
Available functions for events in standard text links:
MyObject_open(): open an individual layer or a layer from a group.
MyObject_close(): close an individual layer or a layer from a group.
MyObject_switch(): open or close an individual layer or a layer from a group - if a layer is opened, then will be closed and viceversa.
MyObject_goto(n): go to a specific layer number from a group (pagination).
MyObject_curr_layer: read/only, indicates the current shown/hidden layer.
MyObject_opened: read/only, indicates the opened/closed layer(s) state.
MyObject_default_layer: indicates the start-up/go-to default layer.
Note: Due to internal changes, (only) open-normal/hover and close-normal/hover icons must be reentered.
* NEW in version v1.1.0:
Now the "open/close" and the "open/close/more" extensions can have a base layer or "fixed", also called "Layer #0".
It can receive particular open/close behavior; once opened, remains fixed until the close icon is clicked.
This may be useful when you want to have scrollable layers (some transparency is required) with a fixed background; and, of course, this background with its particular open/close behavior.
New extension was added: "open/close/previous/next" with the new base layer included!
How to use?
Depending on the selected extension (ocn/pn/pnd/pnd2/ocpn), you must have all the layers named with a common prefix, that identifies the group they are belonging to, then, numerated consecutively as follows:
group-a-1 (prefix 'group-a-', with 3 layers)
group-a-2
group-a-3
group-b-0 (prefix 'group-b-', this group has a fixed background and 2 layers)
group-b-1
group-b-2
Then, if applicable (if the selected extension manages a group of layers), indicate the number of layers that be managed.
For an optimal effect, the set of layers belonging to the same extension/purpose should be at the same x/y coordinates and have the same size.
[rz] Layers (oc)
Open/Close
This extension allows you to open and close a layer.
[rz] Layers (oc2)
Open/Close (extended version)
This extension allows you to open and close a layer synchronously within a group.
Just name the group to which the layer belongs to.
[rz] Layers (ocm)
Open/Close/More
This extension allows you to open and close a group of layers.
Once you click and make visible the first layer, you can scroll through the other layers.
[rz] Layers (pn)
Previous/Next
This extension allows you to go to the previous or the next layer (belonging to the same group).
[rz] Layers (pagination)
Pagination/Previous/Next
This extension allows you to go to the previous or the next layer (belonging to the same group).
Also has direct links to each page (like a panel showing access to the available layers).
[rz] Layers (pnd)
Previous/Next/Default
This extension allows you to go to the previous or the next layer (belonging to the same group), clicking on the "go default" icon, the first layer is shown.
[rz] Layers (pnd2)
Previous/Next/Default (extended version)
This extension allows you to go to the previous or the next layer (belonging to the same group), clicking on the "go default" icon, the first layer is shown.
Also an object belonging to the first/default layer is shown or hidden when it is active or not.
[rz] Layers (ocpn)
Open/Close/Previous/Next
This extension allows you to open and close a group of scrollable layers.
You can go to the previous or the next layer (belonging to the same group).
[rz] Loop
This add-on converts "go to previous/next layer" extensions to a "loopable" cycle.
Can automatically or manually start the cycle. Just point to the extension to be "converted".
[rz] Layers (shake)
This extension allows you to shake a layer when you click on an icon or the mouse is over it.
It is useful when you need the user's attention.
[rz] Button
This lightweight extension allows you to setup an image button with ease.
Similar to the rollover extension; no jQuery effects, but this image button can receive focus, support events and many link options.
[rz] Layers (lib)
This extension must be included in the page you are using the listed extensions.
That's all.
All these extensions allow you to customize the images, positions, tooltips, etc.
You can see a few live examples here:
http://www.***.com
go to portfolio (click on the [^][v] images, put the mouse pointer over the [<] image or click on it)
go to publications (similar examples)
go to curriculum vitae -> education / experience / training / others / personal references (click on the [+] images)
from main, click on the link to news image (you will see at top right a clock image).
Hope you can find them useful.
Enjoy!