Warning: Parameter 1 to wp_default_styles() expected to be a reference, value given in /homepages/28/d380932067/htdocs/wizzud.com/wp-includes/plugin.php on line 601

Warning: Parameter 1 to wp_default_scripts() expected to be a reference, value given in /homepages/28/d380932067/htdocs/wizzud.com/wp-includes/plugin.php on line 601

Warning: Parameter 1 to WPFB_Core::ParseQuery() expected to be a reference, value given in /homepages/28/d380932067/htdocs/wizzud.com/wp-includes/plugin.php on line 601

Warning: Parameter 1 to WPFB_Core::ParseQuery() expected to be a reference, value given in /homepages/28/d380932067/htdocs/wizzud.com/wp-includes/plugin.php on line 601

Warning: Parameter 1 to WPFB_Core::ParseQuery() expected to be a reference, value given in /homepages/28/d380932067/htdocs/wizzud.com/wp-includes/plugin.php on line 601
jqDock v1.5 Changes - Wizzud.Com
Aug 172010
 
  • the original menu element no longer gets hidden by jqDock, since the most likely usage is to pre-hide it to prevent ‘flicker’ on initial page load; also now copes with the menu element being initially set invisible (visibility:hidden) instead of hidden (display:none)
  • the label no longer a gets jqDockMouseN class
  • bugfix : the label click handler was not returning false, so clicks on labels were being notified to links (not images) twice
  • new option, setLabel (default false), as a function called when initialising the label contents for each menu item
  • added an extra layer – div.jqDockLabelText – inside div.jqDockLabel to facilitate positional ‘tweaking’ of the label without having to resort to the setLabel option
  • new option, flow (default false), allowing the auto-centering to be disabled and the dock wrapper element to auto-size to precisely contain the dock
  • new option, idle (default 0), as the number of milliseconds of idle time after the mouse has left the menu before the dock goes to sleep and the docksleep event is triggered (on the original menu element)
  • new option, onSleep, as a function which is called with scope (this) of the original menu element when an optional number of milliseconds (the idle option) has elapsed since the mouse left the menu; returning false will prevent the dock from going to sleep
  • new option, onWake, as a function which is called with scope (this) of the original menu element when dock is ‘nudged’ awake, but only if dock was asleep at the time; returning false will prevent the dock waking up (stays asleep)
  • new option, onReady, as a function which is called with scope (this) of the orginal menu element when dock has been initialised and is ready for display; returning false will prevent the dock being displayed and it will stay asleep
  • new custom event, dockshow, which is triggered on the original menu element when the dock has been completely initialised; this won’t be triggered if the onReady() call returns false
  • new custom event, docksleep, which is triggered on the original menu element following the onSleep() call, unless the onSleep() call returns false
  • new custom event, dockwake, which is triggered on the original menu element following the onWake() call, unless the onWake() call returns false
  • added listener for custom event – docknudge – on the original menu element, which *has* to be triggered by the calling program in order to (try to) wake the dock from a sleep
  • added listener for custom event – dockidle – on the original menu element, which can be triggered by the calling program to (try to) put the dock to sleep
  • added 2 commands to jqDock() function – jqDock(‘nudge’) and jqDock(‘idle’) – which do the same thing as triggering the respective docknudge and dockidle events (but synchronously)
  • documentation updated, and some more single-menu examples added
Share

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">

(required)

(required)