search for: slidetoggle

Displaying 5 results from an estimated 5 matches for "slidetoggle".

2009 Feb 26
7
javascript using jQuery.js and prototype.js doesnt work 2get
Hi........ M hving javascript "scripts.js" which uses jQuery.js in rails application. bt when it is used along with prototype.js, one of the javascripts which hs been included first in my application.rhtml fails... Do some1 hv any solution how to make both the scripts work 2gether... I tried using <script> jQuery.noConflict(); </script> bt of no use. problem
2005 Jun 24
1
Blind Toggle "effect"
I wrote a simple toggle function similar to Element.toggle that will toggle a section between being up and down using the Blind effect. I''m relatively new to the code, so I''m not sure if it''s implemented 100% correctly or if it can be done better. I am using it though and it seems to be working fine. Anyway, here''s the code and if you think it''s
2009 Jul 24
2
[PATCH server] add collapsable sections to vm form
...} channel: 'STORAGE_VOLUME', refresh: VmCreator.returnToVmForm }); + + $('#vm_form .form_heading').bind('click', function(e){ + if(this === e.target){ + $(this).toggleClass('open').toggleClass('closed').next().slideToggle('slow'); + } + }); }); </script> - - diff --git a/src/public/stylesheets/components.css b/src/public/stylesheets/components.css index 41ad3d0..074cc09 100644 --- a/src/public/stylesheets/components.css +++ b/src/public/stylesheets/components.css @@ -339,3 +339,4 @@...
2009 Sep 23
0
[PATCH server] consolidated network & routing info ui's
...network_type").change(function () { $("#vlan_options").hide(); } }).trigger('change'); +$('#network_form .form_heading').bind('click', function(e){ + if(this === e.target){ + $(this).toggleClass('open').toggleClass('closed').next().slideToggle('slow'); + } +}); </script> diff --git a/src/app/views/network/_ip_address_form.rhtml b/src/app/views/network/_ip_address_form.rhtml index a3b3a95..0abc6d9 100644 --- a/src/app/views/network/_ip_address_form.rhtml +++ b/src/app/views/network/_ip_address_form.rhtml @@ -15,7 +15,13 @@...
2009 Jul 30
1
[PATCH server] fixes to the multiple vm/nets component
...works available</b> <% end %> + <div style="clear:both;"></div> <div class="clear_row"></div> @@ -134,189 +166,152 @@ ${htmlList(pools, id)} $(this).toggleClass('open').toggleClass('closed').next().slideToggle('slow'); } }); - }); /////////////////////////////////////////////////// vm networks config - // number of rows which we are currently displaying in net config - var vm_network_config_rows = 0; - - // last row currently being displayed - var vm_netw...