I am wrapping the fall of "nav" before "navel" and wrapping it after "pagelide"
Not sure that this is the best way to go about it, but I'm trying to get a Bootstrap submenus to play well with the PageSlide plugin.
The HTML I currently have: What do I need to get: jQuery: you can try it Are & lt; Div id = "pageslide" & gt; & Lt; Ul id = "nava" class = "nav sleddurn" & gt; & Lt; Li & gt; 1 & lt; / Li & gt; & Lt; Li & gt; 2 & lt; / Li & gt; & Lt; Li & gt; 3 & lt; / Li & gt; & Lt; / Ul & gt; & Lt; / Div & gt;
& lt; Div id = "pageslide" & gt; & Lt; Div class = "nav-collapse collapse" & gt; & Lt; Ul id = "nava" class = "nav sleddurn" & gt; & Lt; Li & gt; 1 & lt; / Li & gt; & Lt; Li & gt; 2 & lt; / Li & gt; & Lt; Li & gt; 3 & lt; / Li & gt; & Lt; / Ul & gt; & Lt; / Div & gt; & Lt; / Div & gt;
$ ("& lt; div class = 'nav-collapse collapse' & gt;") InsertAfter ("# nav"). Attached ($ ("# pageslide"));
$ ("# pageslide"). WrapInner ("
No comments:
Post a Comment