search for: toggled

Displaying 20 results from an estimated 1287 matches for "toggled".

Did you mean: toggle
2009 Aug 11
5
Hiding views before using toggle
Hi, I want to hide some of my html in my view before toggling. In my css I tried setting the display:none; but then when I would run my toggle function it wouldn''t toggle. Is there an easy solution out there besides having to render javascript everytime to hide this html before toggling it? -- Posted via http://www.ruby-forum.com/.
2006 Apr 07
5
RJS support "toggle" effect?
Does RJS inherently support the Element.toggle effect? I haven''t been able to call it the way you call "appear", "fade", etc... Jeff -- Posted via http://www.ruby-forum.com/.
2009 Jul 24
5
padawan seeks advice from jedi masters to create toggle box via ajax/rjs before slitting wrists with ruby powered light-saber.
I AM TRYING TO MAKE A DAMN TOGGLE BOX, BUT USING MY OWN GRAPHIC AND HAVING THE MOUSECLICK TRIGGER BOTH SWITCHING THE GRAPHIC (via AJAX) AND SAVING THE STATE IN THE DATABASE. I GOT IT ALL WORKING WITH NORMAL HTML GET CALLS TO THE SERVER, BUT I NEED IT TO BE AJAXIFIED SO THAT THE PAGE DOESN''T RELOAD. AND TO COMPLICATE MATTERS, IT HAS TO WORK IN A TABLE WITH AN ARBITRARY NUMBER OF ENTRIES,
2006 May 25
7
Hide content before page load
Hi, i''ve been experimentating with dynamicCSS.js [1] to hide content only if JavaScript is enabled. It works pretty well and fires before onload to avoid the flash of visible content. Now i''m wondering if there is a Prototype way of doing this. [1] http://www.bobbyvandersluis.com/articles/dynamicCSS.php My main problem is that Prototype functions like Element.toggle() do
2006 Aug 14
2
Change Button Text - Ajax
...following code <%= button_to_function "Hide", "Element.toggle(''mytext'');"%> which does toggle the invisiblity of the text just fine, But want I want via ajax magic, is to also toggle the button text, so it will now display "Show" when I have toggled the invisiblity of the Div. Thanks for any help. John -- Posted via http://www.ruby-forum.com/.
2006 May 30
0
problem with effect toggle - please help
Hello, I''m having the following code below - when I click on the button in order to toggle a div, it is working when the div is visible - after it is toggled once, the beforeStart stuff isn''t executed anymore! interestingly, when I change this Effect.toggle(this.bContentWrap, ''blind'', { to this: Effect.toggle(this.bContentWrap, ''slide'', { everything seems to work. does anybody have an idea what...
2006 Sep 19
0
Effect.Highlight interferes with Effect.toggle
I''m using something like an accordion, but the div containers have some elements in them that use Effect.Highlight (i.e. InPlaceEditor and Ajax.Checkbox, one of my SAU classes). If I click the element that starts the Effect.SlideUp or some other similar effect, and then mouse over an element starting an Effect.Highlight, the highlight cancels the SlideUp. Or, if the Effect.Highlight
2006 Sep 14
10
scriptaculous Toggle Appear rate
I have the following code to toggle a basic appear of a div: <a href="#" onclick="Effect.toggle(''d3'',''appear''); return false;">Toggle appear</a> I want to edit the rate in which the effect runs. I can''t for the life of me figure it out. I would like to make the effect complete faster, like .5 seconds. I''ve
2008 Mar 25
4
Prototype: toggle() not supported on TD in IE?
The following line causes trouble both with IE 6&7: cels[i].toggle(); It tells me that this element does not support the property or method. The element is a cell (TD) which I checked by outputting the tagName and it works with FF, Opera and Safari. The IE script debugger stops at this line but I didn''t find a single posting on the net with a similar problem which is kind of strange.
2006 May 03
4
Simple Toggle Question
I''m having trouble with the toggle() function from prototype. Basically I want the element hidden by default, and I can''t seem to do it. My code: The CSS: #furtherinfo { dislplay: none; } The View: <%= link_to_function(''Further Information'', "Element.toggle(''furtherinfo'')") %> <div id="furtherinfo">
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
2006 Dec 26
1
One content at a time - Effect.toggle
Hi everyone, I am creating a web page which has many links to hidden <div> content, which on clicking reveals the <div> through "Effect.toggle Blind". When i click one link the corresponding <div> blinds down, but when i click some other link the first <div> still persists and won''t blind up. Can anyone please tell me how should i get to work such that
2006 Apr 26
8
Newbie: Hide div I''ve just show using link_to_remote?
I''m using link_to_remote to show details for an item that''s clicked. I''d like to hide the div with the next click, or alternatively have a "Hide" link within my div. What is the best way to accomplish this? Here''s my existing code: <% for task in @mytasks %> <div class="rowFormat"> <%= link_to_remote(
2006 Jun 06
2
Toggle css for display on page load?
In my layout I have a navigation bar with a few elements in it. The elements can be toggled on or off and thereby reveal or conceal some subtopics. I store the state of the toggle for the navigation elements in the session. When the page is reloaded, the navigation items are collapsed because the css for display: none is set by default in the html for the navigation elements. Is th...
2006 Mar 28
2
JS Toggle graphics on action / click
I''ve got a simple toggle option (On/Off) in my admin GUI list action. I would like to click on this graphic and change the status of the option. I got the whole thing working in the controller & db through this beautiful one-liner @item = Item.find(params[:id]).toggle!(''display_status'') The thing I can''t achieve - even after several hours of labouring
2006 Jun 26
1
RJS visual_effect toggle?
Is there a way to toggle an effect in an RJS? If not, anyone have recommendations for how to manually make it toggle? I guess I would assume some boolean that the rjs checks everytime it''s called and depending on whether it''s true or false it will do page.visual_effect :appear or page.visual_effect :hide -Ben Lisbakken -- Posted via http://www.ruby-forum.com/.
2006 Jul 18
2
Turn element hidden by default (ajax question)
...#39;true'' %> </p> --- the text field is: --- <%= text_field :object_name, :text_field_to_toggle %></p> -- It works well, the only problem is that it HIDES the text field which is initialy visible. How can i make the the initial state of an element hidden so it can be toggled to visible. Is there a parameter on the text box element that can set the initial state hidden or it should be implemented in javascript? Thank you in advance. -- Posted via http://www.ruby-forum.com/.
2006 Apr 07
4
Effect.toggle error in 1.6.1
I have this line of code: new Effect.toggle(document.getElementsByClassName(''modarea'', Event.findElement(ev,''li'')), ''blind''); I''ve confirmed that the Effect.toggle is indeed getting the proper element, however, I''m getting this in my javascript console: element.visible is not a function (effects.js: line 153) I
2012 Sep 19
2
Unable to disable beeper on Powercom Imperial IMP-525AP
Hi ALL, Powercom Imperial IMP-525AP seems to be fully compatible with NUT. Unfortunately, I can not disable beeper. upscmd -u {NUT_USER} -p {NUT_PASSWORD} powercom beeper.toggle returns *OK*, however, ups.beeper.status=enabled Thank you, Sergey ========== Additional info: 1) $ upsc powercom battery.charge: 100 battery.charge.low: 10 battery.charge.warning: 30 battery.date: 2010/01/01
2010 Mar 26
2
dnd not working correctly
i have posted this question couple of times and never really got any hits i wasn't able to provide any debug info Connected to Asterisk 1.6.0.21 currently running on phoneserver (pid = 3309) Verbosity is at least 4 == Using SIP RTP TOS bits 184 == Using SIP RTP CoS mark 5 == Using SIP VRTP TOS bits 136 == Using SIP VRTP CoS mark 6 == Extension Changed 117[ext-local] new