similar to: onclick="Effect.toggle

Displaying 20 results from an estimated 10000 matches similar to: "onclick="Effect.toggle"

2005 Oct 18
0
RE: Error: "onclick() is not a function"
I see what he is saying now. When you assign a click event with the Event.observe it does not allow you to call it with the $(''xxx'').onclick(); command as it''s looking for the onclick tag in the a tag. I''m stumped on a way to get this to work. Jon Whitcraft Web Application Developer Online Services - Indianapolis Motor Speedway (317) 492-8623
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'',
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 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 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
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 Jun 14
3
sortables and onClick events firing
I have a page that I have been tasked with adding sortable support to, and the div elements that are being dragged have a <a href> in them with an onClick handler that opens a new window with a preview. Is there a way to keep that onCLick from firing when a sortable is dropped? Sam D _______________________________________________ Rails-spinoffs mailing list
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
2006 Jun 14
0
weird toggle behavior on IE
Hi, Just found out this weird bug in IE (or I probably should say IE bug that needs workaround?) This works in IE, FF document.getElementsByClassName(''box'').each ( function(e) {new Effect.toggle(e, ''blind''); } ); But this doesn''t work in IE document.getElementsByClassName(''box'').each ( function(e) {new Effect.toggle(e,
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 Feb 01
1
Combine Ajax call with an effect.
Hello list. I am a newbie with prototype, scriptaculous and with JS. Right now, I have a successful ajax call that appears in my div (thedescription) when I mouse over the link, and disappears when I click on the link. What I would like to have happen is to combine this with an effect (ie, onclick="new
2007 May 15
1
Effect.dropout and Too Much Recursion Error
Hi, I need some help again. :-) I have "Too much recursion error" prototype.js line 1288, I heve this error when I try to use Effect.dropout (script.aculo.us) if I remove table ID, there is no error, and the effect works fine (remove the tr from table) But I need this ID assign to this table, as table ID is used by other effect (Builder.node) Please help .... Thanks YUAN Here is
2007 Jan 11
2
checkbox to toggle div
I''m trying to show a div if a checkbox is selected. I got as far as: <%= check_box(''foo'',''temporary_bar'',{:onclick => "Element.toggle(''temp_bar''); return false;"}, 1, nil)%> <div id="temp_bar" style="display:none;"> <%= text_field ''foo'',
2005 Aug 30
0
content slide in out / simple toggle of content
Hi All, I have been trying to get a toggle tab system working with protoype effects. The best example of what I want is shauninman.com (the nav/search) I intend to have a sidebar and an expandable horizontal tab both of which can be toogled in and out of place. for example the sidebar (which will contain a tree menu (like windows explorer)) Mark Up --- <div
2007 Apr 04
0
SV: toggle.appear focus on div problem / question
Is this what you want: http://prototypejs.org/api/element/scrollto -Tobias -----Oprindelig meddelelse----- Fra: rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org [mailto:rubyonrails-spinoffs@googlegroups.com] På vegne af natquick Sendt: 4. april 2007 12:53 Til: Ruby on Rails: Spinoffs Emne: [Rails-spinoffs] toggle.appear focus on div problem / question Hi there, Can anyone help me,
2006 Feb 16
0
Blind effect and tables
Greetings, I am trying to add a row to a table using the blind down effect. I have this working for lists (aka <li>) but not tables. With tables it seems to display the newly inserted row then blind. I basically want to start with the row hidden and then blind down. For example this works with lists: <ol style="" id="list1"> <li
2005 Nov 23
0
Browser inconsistencies when using Effect.MoveBy()
Hi all! Brief intro: my name is Cam McVey and I'm a web developer in Glasgow, Scotland. Now to the point of my first message. I'm trying to use Effect.MoveBy() to horizontally scroll a table 'underneath' a div. The idea is that the div is a 'viewer' -- a window that the table can be seen through. The code below works great with Firefox but not in IE 6 where, after calling
2006 Apr 06
1
Bug? In scriptaculous -- double text drawn one pixel off
Hello, I''m working with scriptaculous, and i''ve narrowed down a bug i''m having to the following code: http://rate.urbanpug.com I''m using the latest release (as of sending this mail) of scriptaculous. I''ve actually seen this bug before, and random tweaking fixed it. Unfortunately, i can''t figure it out this time. I''ve reduced the bug
2007 Jun 20
0
Branch 'as' - 5 commits - libswfdec/swfdec_graphic_movie.c libswfdec/swfdec_movie.c libswfdec/swfdec_sprite_movie.c test/image
libswfdec/swfdec_graphic_movie.c | 6 - libswfdec/swfdec_movie.c | 3 libswfdec/swfdec_sprite_movie.c | 7 + test/image/Makefile.am | 58 ++++++++++++++ test/image/replace-button-button-5.swf |binary test/image/replace-button-button-5.swf.png |binary test/image/replace-button-button-6.swf |binary
2007 Jun 19
0
Branch 'as' - 4 commits - libswfdec/swfdec_codec_video.c libswfdec/swfdec_movie.c test/trace
libswfdec/swfdec_codec_video.c | 2 libswfdec/swfdec_movie.c | 3 test/trace/Makefile.am | 193 ++++++++++++ test/trace/place-object-5.swf |binary test/trace/place-object-5.swf.trace | 4 test/trace/place-object-6.swf