similar to: Element.show - element.style.display=''''

Displaying 20 results from an estimated 200 matches similar to: "Element.show - element.style.display=''''"

2005 Sep 07
3
Autocomplete Error w/Version 1.5_pre4
I recently updated to version 1.5_pre4 to use the excellent in-place editor, however, I''m now seeing a bug with AutoCompletion. When text is entered in the text field for auto completion, the auto_complete div is not updated (but the server does receive the request and return a response). Upon removing focus from the text field, 2 instances of the following error can be seen in both
2005 Oct 26
2
Troubleshooting inplace editor
I can''t get the inplace editor to do anything for me. The output appears as regular formated, unclickable text. Maybe I am missing something simple. 1. I just downloaded script.aculo.us <http://script.aculo.us> 1.5_rc3 and copied it to my javascript folder. 2. To set up a simple test, I created a new test page containing only the copied from demo1 from the script.aculo.us
2008 Jun 19
7
getDimensions() fails for elements with ancestors with display: none
Prototype v1.6.0.2 If any of an element''s ancestors are hidden, Element.getDimensions() returns misleading values. In order to address this in my own project, I made the following modification: getDimensions: function(element) { element = $(element); var display = element.getStyle(''display''); + var hiddenAncestor = element.ancestors().any(function(e) {
2006 Jun 23
4
Creating a scrolling effect with slider
I''m currently working on a method to implement a scroller for a div using a slider. I need to do this as an alternative to making a stylish flash scroller with content. The main advantage of this method is to allow the ability to style the sliding elements cross browser (and maybe as a future add on... the ability to have a scroll.to for a scrolling div). This is my first attempt at
2005 Aug 15
6
setting position for draggables?
Hi list, how can I set the top and left CSS properties for draggable divs? When I modify the properties directly, the DIV jumps to its old position when I start to drag it. Thanks in advance! Martin _________________________________________________________________________ Mit der Gruppen-SMS von WEB.DE FreeMail k?nnen Sie eine SMS an alle Freunde gleichzeitig schicken:
2005 Dec 30
4
AJAX Drag and Drop Detecting Drop Coordinates
This one''s kicking me in the *(&#^. All I want to do is create a draggable item and then detect the coordinates where it is dropped. So my first approach was to just use the draggable_element with :revert => false, like so: <%= draggable_element "my_element", :revert => false %> That works great and lets me drag stuff all over the place. In the scriptaculous
2005 Nov 07
2
question about Effect.Highlight and IE 5.5
I''ve recently begun testing some of the scriptaculous functionality in IE 5.5, since my company wants me to support as many browsers as possible. When I do an Effect.Highlight on a <tr>, it doesn''t quite work right. I''ve figured out a few things, but I''m not sure whether you want to change them or not. Here''s what I know: In
2006 Feb 08
2
Prototype: Position.clone()
Does the duplicate clone method of Position serve a subtle purpose that I don''t understand? I feel kind of foolish even asking, but ... I just don''t get it. I''ve been looking at this for a couple days now and as far as I can tell, the first definition is useless as it gets overlaid by the second one. I don''t see any closure trickery going on here, either.
2006 Apr 20
1
The Autocompleter, with scrollable result-div
Hi everyone If you''ve seen this ticket, http://dev.rubyonrails.org/ticket/4782, you''ve noticed I have tried to make scrollable autocompleter work. The scrollIntoView works great, however the iframefix for IE didnt work in the previous change. This is fixed now. Also the "blur-on-scrollbar-click" should not work in both IE and Safari (can someone confirm this?) It all
2005 Aug 11
7
script.aculo.us V1.5_pre1 released
Heya, I''ve just released script.aculo.us V1.5_pre1. Please give it a try! Important new stuff (since V1.1b1): * Added a main scriptaculous.js file to load in the other libraries transparently. * Fixed a condition where standard a href=xxx links wouldn''t work in autocomplete results. These do now, the onclick event is not cancelled. [thx to Jasper Slits] * Added
2009 Jul 07
0
[PATCH server] Update app to work with rails 2.3.2
Note that this does not fix gettext for app, that will be done separately in another patch as F10/F11 require different setups for that. In the meantime gettext works if manually changed in environment.rb to gettext_rails instead of gettext/rails Signed-off-by: Jason Guiditta <jason.guiditt at gmail.com> --- src/app/controllers/application.rb | 200 --------
2005 Nov 21
0
New Core Effect
Hey everyone, I''ve created a new "core" effect for use with a project I''m working on. Thought some people might find it useful. It takes a CSS parameter that has top, right, left, and bottom parameters and adjusts them as specified; useful making adjustments to page layouts (ie, hide one element and adjust another''s margin to fill to void). I''ve
2006 Nov 28
11
Extending Element with getTop, getWidth, getLeft problem
Hi, I need to extend the Element object with getTop, getWidth, getLeft . I wrote something like this in an js file and loaded it after the prototype.js . ---------------------------------------------------- Object.extend(Element, { getWidth: function(element) { element = $(element); return element.offsetWidth; }, getTop: function(element) { element = $(element); var curtop
2009 Jul 20
9
Upgrade server to run on Rails 2.3.2/F11
Note that one of the 8 patches (#6) will be sent separately in reply to this email, as some of the replaced lines are too long, so git won't let me send the email. However, there is nothing wrong with that patch, and it should be applied in the sequence listed below. Note also that I assume this will be tested on a clean f11 install, rather than an upgrade of an existing ovirt server
2006 Feb 16
3
Retrieve a property defined in a css
Hi all, I have a property, defined in an external stylesheet: .my_class { background-color: #FF0000; } I want to retrieve the value of this background-color of the class my_class. How can I do that with prototype/scriptaculous ? Thanks in advance, Nicolas Terray
2006 Feb 08
6
Effect Help
I posted the following earlier: "I need a way to do a blind up that makes the element APPEAR and a blind down that makes the element DISAPPEAR. In essence, the opposite of the current blindup/blinddown. Thoughts?" I think somebody responded in Dutch. Anyone else have any ideas? -- Yehuda Katz Web Developer (ph) 718.877.1325 (fax) 718.686.4288
2008 Apr 22
2
getStyle({margin}) on TD element is null in IE
The same applies for the single margin values e.g. -left, -right, - top, -bottom; --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to
2006 Dec 19
2
Effect.Pulsate on last scriptaculous
Somone have tested the last scriptaculous version that ships with last prototype? I you make an Effect.Pulsate, the element stays hidden after the effect finish if the element don''t have opacity stablished. This is for the changes on the setStyle method on prototype. The original code is:
2006 Apr 05
7
Conditional toggle button
I have a link_to_remote that updates the content of a hidden div and makes it appear.. But I want it to hide the div and not execute the link_to_remote function on the second click. What''s the best way to do this? I''m thinking I can do it in RJS maybe, but I''m not sure if there''s a nice Rails-y way to tell if a div is hidden or not.. I''d also
2010 Feb 09
1
odfTable: table width and alignment
Dear R and odfWeave users, I am trying to figure out how to control table width and alignment on the page for a table generated by odfTable. Based on reading odfWeave documentation (including formattingOut.odt), here is how I manipulate the styles: st = getStyleDefs() # modify the table style tab = getStyles()$table st[[tab]]$align = "center" # seems to have no effect