[jQuery] Re: JQuery Treeview - Display sub nodes when mouse over menu
Thanks for your reply. I'm just using CLICK from jquery.treeview.js I'm initializing my tree as follow: $("#navigation").treeview({ animated: "fast", persist: "location", collapsed: true, unique: true }); Do you have an example on how to define the hover function to add in jquery.treeview.js? That would help me out... Thanks in advance... On May 26, 4:24 am, Zeeshan Khan wrote: > is tree expanding on CLICK...what are u doing to expand it...i mean are u > calling a function or a CSS class...if u are calling a function u can > override the HOVER function & if u r jst changing the CSS u can change the > CSS on hover.. > > Regards; > > Zeeshan Ahmed Khan > > On Tue, May 26, 2009 at 10:51 AM, eclipseTalk wrote: > > > Thanks, but it's not exacltly what I need. > > I basically need to override hover to behave as the click event. How > > can I do that in JQuery? Thanks for helping me out here > > > On May 25, 5:17 pm, kiusau wrote: > > > Have you tried here: http://docs.jquery.com/Traversing/children#expr > > > > Roddy > > > > On May 25, 1:55 pm, eclipseTalk wrote: > > > > > Hello, > > > > I'd like to display the children nodes when the mouse over the parent > > > > node. What is the best way to achieve that? Any help is appreciated. > > > > Thank you for your time.- Hide quoted text - > > > > - Show quoted text -
[jQuery] Re: JQuery Treeview - Display sub nodes when mouse over menu
Thanks, but it's not exacltly what I need. I basically need to override hover to behave as the click event. How can I do that in JQuery? Thanks for helping me out here On May 25, 5:17 pm, kiusau wrote: > Have you tried here: http://docs.jquery.com/Traversing/children#expr > > Roddy > > On May 25, 1:55 pm, eclipseTalk wrote: > > > > > Hello, > > I'd like to display the children nodes when the mouse over the parent > > node. What is the best way to achieve that? Any help is appreciated. > > Thank you for your time.- Hide quoted text - > > - Show quoted text -
[jQuery] JQuery Treeview - Display sub nodes when mouse over menu
Hello, I'd like to display the children nodes when the mouse over the parent node. What is the best way to achieve that? Any help is appreciated. Thank you for your time.
[jQuery] JQuery Treeview - Page reload
Hello, I'm using JQuery Treeview as follow: $("#navigation").treeview({ animated: "fast", persist: "location", collapsed: true, unique: true }); Upon page reload, all the nodes expand and then only the selected node remain expanded which is the desired behavior. However, I'd like to prevent all the nodes from expanding upon refresh as it creates a flicker. Has anyone else experience this behaviour? How can I turn it off? Thank you for your time...
[jQuery] Re: Setting hidden field value in html
Yes, thx On May 21, 1:51 am, "Michael Geary" wrote: > Hmm... I just tried a quick and dirty test and it seemed to work the way > you'd want. > > I opened this page: > > http://docs.jquery.com/Main_Page > > And opened the Firebug console and entered these expressions in the console: > > $('#jq-primarySearch').val( 'test' ); > > That put the expected text in the search form at the top of the page. > > $('#jq-primarySearch').val(); > > The latter one displayed the text as expected. > > Then I clicked the magnifying glass icon to submit the form, and on the > search results page it said: > > You searched for foo > > That seems to be what you were looking for it to do, yes? > > -Mike > > > From: eclipseTalk > > > Thanks for your reply. > > This is what I'm trying to achieve: > > - I have a form where a user can select items to order > > - While still in the form, I use JQuery to provide a preview > > of the order. The text is displayed in a popup dialog. It is > > formatted in html. > > - I want to save this html preview into a hidden field that I > > retrieved later on once the form has been submitted. > > > Maybe I need to pass my html text otherwise... Any advise is welcome. > > > Thanks for your time and help > > > On May 20, 11:49 pm, "Michael Geary" wrote: > > > .val(foo) sets the value attribute of the selected DOM element(s). > > > Being an attribute, it can't contain HTML. It would be as > > if you had > > > this code in your page: > > > > > > /> > > > > That wouldn't be valid HTML. > > > > I'm not sure what to suggest instead, because I'm not sure > > what your > > > goal is. Could you back up a level and explain what you want to > > > accomplish with the hidden field? > > > > -Mike > > > > > From: eclipseTalk > > > > > Hello, > > > > I have an hidden field in a form defined as follow: > > > > > > > > > To assign its value I used: > > > > > var contentText = "Order Preview"; > > > > $("input[name='previewText']").val(contentText); > > > > > It works fine but the html code is lost. Is there a way to retain > > > > the html format? > > > > > Thank you
[jQuery] Re: Setting hidden field value in html
Thanks for your reply. This is what I'm trying to achieve: - I have a form where a user can select items to order - While still in the form, I use JQuery to provide a preview of the order. The text is displayed in a popup dialog. It is formatted in html. - I want to save this html preview into a hidden field that I retrieved later on once the form has been submitted. Maybe I need to pass my html text otherwise... Any advise is welcome. Thanks for your time and help On May 20, 11:49 pm, "Michael Geary" wrote: > .val(foo) sets the value attribute of the selected DOM element(s). Being an > attribute, it can't contain HTML. It would be as if you had this code in > your page: > > > > That wouldn't be valid HTML. > > I'm not sure what to suggest instead, because I'm not sure what your goal > is. Could you back up a level and explain what you want to accomplish with > the hidden field? > > -Mike > > > From: eclipseTalk > > > Hello, > > I have an hidden field in a form defined as follow: > > > > > To assign its value I used: > > > var contentText = "Order Preview"; > > $("input[name='previewText']").val(contentText); > > > It works fine but the html code is lost. Is there a way to > > retain the html format? > > > Thank you --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "jQuery (English)" group. To post to this group, send email to jquery-en@googlegroups.com To unsubscribe from this group, send email to jquery-en+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-en?hl=en -~--~~~~--~~--~--~---
[jQuery] Setting hidden field value in html
Hello, I have an hidden field in a form defined as follow: To assign its value I used: var contentText = "Order Preview"; $("input[name='previewText']").val(contentText); It works fine but the html code is lost. Is there a way to retain the html format? Thank you
[jQuery] JQuery Treeview
Hi, I'm using the JQuery treeview but I'm running into some weird behavior. The tree expands by itself sometimes and it cannot be collapsed. It happens every time I'm displaying a slide show for instance. When I clear the cookies it goes away. Any idea on how I can't prevent the whole tree from expanding? Thanks for your help
[jQuery] [TreeView] - How to collapse a menu item that is a link?
Hi, I'm looking at the "JQuery TreeView - Sample 0" from http://jquery.bassistance.de/treeview/demo/?1 Great work! I have a question. How can I make the menu collapse upon clicking? When I click, the menu expands, but if I click again the menu doesn't collapse. Any help is appreciated. Thanks in advance
[jQuery] [TreeView] - How to collapse a menu item that is a link?
Hello, I'm looking at the Sample 0 from http://jquery.bassistance.de/treeview/demo/?1 Great work! I have a question. How can I make the menu collapse upon clicking? When I click, the menu expands, but if I click again the menu doesn't collapse. Any help is appreciated. Thanks in advance