Displaying 20 results from an estimated 1100 matches similar to: "What does mean $(element) ?"
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 Apr 15
11
evalScripts in IE
My Ajax.Updater is set for evalScripts and it receives this:
<script language="JavaScript">complete();</script>
It works in FF but not IE. Is the above code the proper way to return
scripts?
Thanks!
2005 Dec 06
9
script.aculo.us AutoComplete Woes
I was wondering if someone could help me with an autocomplete problem. I
have the autocomplete div receiving a <UL> that looks like:
<ul>
<li>Name<br>Email</li>
</ul>
When the user hits enter and the value is filled into the text field
it''s putting both the name and email in the field. I just want the name.
Funny this works in Firefox but not IE. I
2006 May 23
6
Autocompleter - up arrow moves cursor to start of input box
When using the autocompleter and scrolling through options, if you
press the up arrow key the input field cursor moves backward. Some of
my users have reported that they find this very distracting. Does
anyone know why this happens, or where in the code I could fix it?
Steps to recreate:
1. Go to http://demo.script.aculo.us/ajax/autocompleter
2. Type in a letter (or two or three)
3. Arrow down
2005 Dec 08
6
Bug in Effect.Highlight ?
Hi All,
I''ve just discover scriptaculous and it is a really good library. Even
if I have some difficulties with short syntax in javascript code :/
I have a strange behaviour with Effect.Highlight, and as it''s said on
bug report page :
"It''s also a good idea to discuss this on the Mailing List beforehand,
maybe it''s already known and in the works, or it
2006 Mar 15
3
slider control for touch screens?
I was wooed here by this demo page for the script.aculo.us slider control:
http://wiki.script.aculo.us/scriptaculous/show/SliderDemo
... but I''m looking for a slider control well adapted for use in a
touch-screen kiosk application (an unusual place to put a web
application, perhaps, but bear with me...)
I''ve posted an example (screencast and downloadable program) here:
2006 May 17
3
Autocomplete GetToken??
Hi, I needing to modify the control.js file and am confused about what the
purpose of the getToken function is. I read the docs section below and still
don''t understand why it doesn''t just access the form.value directly.
Docs say:
This method should get the text for which to provide autocompletion by
invoking this.getToken(), NOT by directly accessing this.element.value. This
is
2006 Apr 09
4
Set Speed of Combinational Effects
How can I slow/speed up the combo effects?
Thanks
2006 Feb 03
2
RE: help with syntax
I guess the first step is reading up on OOP in javascript...
http://www.webreference.com/js/column79/
http://www.codeproject.com/aspnet/JsOOP1.asp
Then, check out the definitive prototype.js guide...
http://www.sergiopereira.com/articles/prototype.js.html
-----Original Message-----
From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2006 Apr 18
7
[Prototype] evalScripts not working for me
I think I am experiencing the variable scope problem with evalScripts.
I have this block of code being returned from an Ajax.Updater call,
as shown by FireBug or one of those other Firefox plugins. I have
tried to boil it down to the minimum code.
<script type="text/javascript">
test = function() { alert("test"); };
</script>
<table
2006 May 26
6
test
test just testing please ignore...
--
"I have learned that you should''nt compare yourself to others - they are
more screwed up than you think." ...unknown
"In the 60''s, people took acid to make the world weird. Now the world is
weird and people take Prozac to make it normal." ..unknown
_____________________________
Terry Remsik
stripe-man.dyndns.org
2006 Apr 14
1
Too Much Recursion
Anyone know why I''d get a JS error "too much recursion" when issuing a
stop() on periodicalupdater?
Thanks
2006 Apr 17
2
Problem w/ IE & Autocomplete
Anyone run into the problem where the autocomplete results div disappears
when you click or click/drag on the scroll bars for the div?
--
David Fitzhenry -
http://fitzhenrys.blogspot.com
http://www.gone2far.com
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2006 Mar 31
2
evalScript && onComplete
Howdy all,
I have an Ajax.Updater with evalScript = true and I would like to
execute some javascript *after* the scripts in the answer have been
eval''ed.
How can I do that ?
I''ve tried with onComplete, but onComplete seems to be fired before
the inner scripts.
Thanks,
Nicolas
2007 Apr 04
2
Is Element in Viewing Range
How could I tell if an element is visible? Not visible as in the css display
property, but visible in the browser''s clipping area. So if I had a long
list of columns and wanted to know if the user has to scroll horizontally to
see the last one.
Thanks!
Daniel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
2006 Apr 06
4
Using RJS to call custom JavaScript class/method
The announcement for RoR 1.1 shows some nice examples of RJS calls. In
particular I am interested in this one:
# Call the custom JavaScript class/method AddressBook.cancel()
page.address_book.cancel
In trying to develop a "lightbox" style modal form, I have been
successful in saving the form data via AJAX but I can''t seem to close
the "lightbox". I am using the
2006 May 22
2
using Singleton with Prototype
Hello all. I''m writing my own object using prototype and I
wonder how you write and call only one instance of class. Can
anyone share his idea of singleton?
thanks
Gregor
----------------------------------------------------
Gdy nadchodzi przełomowy moment w historii, musisz zdecydować,
po czyjej stronie będziesz.
"X-Men: Ostatni bastion" - w kinach od 26 maja.
2005 Dec 08
3
Uncomplete hiding on Firefox 1.5
Hi all,
I have observed the following on Firefox 1.5 (both on XP and OSX):
My page has some div containers that hold sortable ul. The div's also
contain links for showing/hiding the contained ul's. No matter which
effect I use to do the hiding and showing (Fade/Appear, SlideUp/Down,
BlindUp/Down) the hidden ul's don't hide completely, leaving a blank
'trace' behind.
2005 Dec 14
4
newbie q: Form element focus
This is probably a dumb question, but is there an easy way to set the
focus of a form to the first visible/editable element? I''ve been
googling lots and searching documentation and haven''t come up with
anything. Help would be appreciated.
--
Posted via http://www.ruby-forum.com/.
2005 Sep 21
2
Tutorials, Howtos
Are there any tutorials or howtos on scriptaculous or Prototype?
--
Alan Gutierrez - alan@engrm.com
- http://engrm.com/blogometer/index.html
- http://engrm.com/blogometer/rss.2.0.xml