hover - jquery sidebar putting next to each other -
I have put a sidebar with hover-delay animation, but I can not copy the column correctly to the first This is my first problem. Secondly, I would like to use the jspanel plugin, so that clicking on a sub-item in a sidebar will create a draggable window.
I hope this can be brought to a working position. Thank you very much for the responses in advance!
here [a link] ()!
$ ('# categories'). Corner ("keep the top"); $ (Document) .ready (function () {$ ("# foo"). Click (function () {$ () .jspanel (). Show ();});}); $ ("#navigation ul.sub-level") .coreor (""). CSS ("border", "3px double blue"); JQuery.fn.hoverWithDelay = function (callback, out callback, delay) {this.each (function () {var timer, $ this = this; $ (this) .more (function () {timer = setTimeout (function) {Timer = tap; callbackcall ($ this);}, delay);}, function () {if (timer) {clear timeout (timer); timer = null;} and callback outside. Call ($ this);}) ;}); }; Var hovering = {main menu: wrong, categories: wrong}; Close the function submenus () {$ ('ul.sub-level'). CSS ('display', 'none'); } CloseSubMenus (); Close the functionManuft () {setTimeout (function (if (! Hovering.manainen & amp; amp;; hovering categories) {$ ('#navigation'). FeedOut ('sharp', closeSubenance);}} , 100);} $ ('Ul.top-level li'). HoverWithDelay (function () {$ (this) .find ('ul'). Show ();}, function () {$ (this) Find ('ul'). Fade ('sharp', closed menu ifout);}, 500); $ ('# categories'). Hover with della (function () {$ ('#navigation'). ; Hovering categories = true;}, function () {hovering.categories = false; closeMenuIfOut ();}, 500); $ ('#navigation'). Hover (function () {hovering.mainMenu = true;} , Function () {hovering.mainMenu = false;});
Let me line 4 At least one error may occur, where you try to generate / open Jspanel.
Do you use the JsPanel version? Version 1.x or version 2.x? <2> version 1.x: $ (selector) .jsPanel (config);
Do you get an error message is?
Comments
Post a Comment