Displaying 20 results from an estimated 1000 matches similar to: "Element.removeClassName(..) - bug or incorrect usage?"
2005 Dec 28
6
Custom tooltip component?
I am looking to develop a custom tool tip component for a list of links.
...Which is kind of not that big a deal.
But, and this seems to be the tricky part, I also want to be able to
set/specify the interval threshold after which to display the tool tip. (and
by nature of "tool tip", don''t display if the mouse moves out during that
interval. etc)
Any suggestions?
Could
2005 Dec 17
17
problems with quotes and escaping
First of all I''d like to say thanks for all the great work everyone has put
into scriptaculous,
I''m having a lot of fun playing with the framework, and easily moving into
Web 2.0 territory.
I''ve just hit a snag on my project though.
So here''s my code:
...
var newEvent=
"<div
2005 Dec 13
2
Ajax.Request onComplete
Hello,
I have a small class where i want to use attributes of the instance when an
ajax call returns, so I wrote:
*var* MyClass = Class.create();
MyClass.prototype = {
initialize: *function*(form_id, rendered_id) {
this.form_id = form_id;
*var* edit_form = $(form_id);
*var* rendered_node = $(rendered_id);
*if* (!edit_form || !rendered_node) {
this.enabled = *false*;
2007 Oct 24
3
addClassName and removeClassName
Hi, and sorry for the noob question!
I have an unordered list of 4 links where the links use Ajax.Updater
in the onclick:
onclick="new Ajax.Updater(''ajaxarea'', ''link1.php'', {asynchronous:true,
evalScripts:true }); return false;"
How would I go about using addClassName and removeClassName to show
the current link?
Thanks for any help with this.
2005 Sep 25
2
Preventing/allowing exceptions to occur in Element.add/remove ClassName
Hello everyone !
Thomas asked me to discuss here the behavior of Element.addClassName, as
relating to ticker #2232 [1]. In HEAD, if the element passed-in to
Element.addClassName does not exist, an exception is thrown, and script
execution stops there.
I believe this is inconsistent with other functions:
Object.extend(Element, {
hasClassName: function(element, className) {
element =
2005 Dec 18
3
JavaScript question
Hi guys,
I know this is not the perfect place to ask this question, but I''m
struggling with object-oriented javascript and event-handlers and you
guys are probably the only ones adept enough to help me out with this.
I have this calendar code I hate (and still have to maintain ;) and
wanted to change it to use object-orientation.
So I have written a JavaScript-class called
2011 Aug 20
2
hetlp_type text doen't work on Ubuntu
Hi,
I' using Ubuntu 10.10/11.04 and on both of the systems help doesn't
work unless I set options(help_type="html"). I hate to change context
and help_type='html' distracts me. I want text based help inside
console. Where should I look to fix this problem?
--
Amol
2011 Jun 21
1
Looking for Sipura-2000 Latest Firmware
Dear Asterisk Users,
I have a Sipura 2000 device, and since last few days I have been searching
for its latest firmware for upgrade. Googling tells me that Cisco has
stopped the support for this device and I dont have definite idea on where
would I be able to find the firmware to upgrade my device.
Any help in regards to getting the firmware will be helpful.
Regards,
Amol
-------------- next part
2010 Nov 20
1
Vectorizing a function that needs to access previous elements of a row
Hi,
I'm a newbie when it comes to R, and I'm trying to figure out how to use
vectorization as opposed to for loops. In particular, how can I create a
function that is applied on each element of a row, but can access previous
elements relative to that element?
My problem: I want to calculate something like x[i] = x[i] / x[i - 1] for
each element of a vector x:
ex.
x <- data.frame(a
2001 May 26
3
OpenSSH ports and crypto issues
hi,
I am working on a windows NT version of openssh. It's mostly working
(ssh.exe, ssh-keygen.exe to be precise), except for some minor UI issues.
however, i have a couple of questions about making the port available:
1. minor issue: My port is based on the openbsd ssh source (2.5.2). Is
this acceptable, or should I base it on the portable source ? I think I
know the answer to that one. If
2008 Jan 09
4
Using Prototype - Getting Javascript Error - "Object doesn't support this property or method"
I have the following javascript being called on my site and I am
getting a Javascript error - "Object doesn''t support this property or
method". The error is invoked on the line that has - "listItems = $
("vidList").childElements("li");".
The purpose of the Javascript is two fold: ''swapVideo'' to change the
Youtube video and
2005 Oct 05
1
whether rsync supports resource fork or any alternative
Respected Sir
I want to know whther rsync supports resource fork on mac os x.
If it doesnt is there any alternative to handle resource fork while
doing remote replication between mac and other platforms.
Amol Gajewar
SPSOFT TECH
India
2008 Jun 30
1
javascript onclick for thumbnails
Hi,
i was struggling for a function where only 1 thumbnail should be active
and others inactive when clicked on the particular thumbnail.
code:
1. view:
2. <script type="javascript">
3. function PlayVideo_options(videoFile, id) {
4. document.getElementById(id).className = ''video_option
active_video'';
5. }
6. </script>
7.
8.
2005 Aug 21
0
Patch for Element.Class - wrong regexp
Hello,
I noticed (due to a recent post by Martin Honnen to clp) that
Element.Class uses wrong regexps for its operations.
E.g., Element.Class.has() will find "classA" in "classA-foobar"
I also changed the interface of .has() to the more general one used in
.has_any()
--- util.js.old 2005-08-21 19:18:40.000000000 +0200
+++ util.js 2005-08-21 19:31:42.000000000 +0200
@@
2005 Dec 05
3
Effect.Highlight on Ajax.Updater
Hello to all list members...
Exchuse for my bad english, I don''t write english very well.
I''m searching for a solution to hilight a div when his value change.
The value in these div is take from Ajax.Updater .
the code is:
new Ajax.Updater(''acc'',''tools/head_info.php'',{asynchronous:true});
and have a settimeout to recall it every 5 seconds.
2009 Sep 24
1
R v2.10.0: Doc clarification for cross references and where are we heading?
Hi,
in 'Writing R Extensions" of R v2.10.0, under Section
'Cross-references' (2009-09-07) it says:
1. "The markup \link{foo} (usually in the combination
\code{\link{foo}}) produces a hyperlink to the help for foo. Here foo
is a topic, that is the argument of \alias markup in another Rd file
(possibly in another package)."
2. "You can specify a link to a different
2024 Mar 11
1
R6 "classname" and generator name
I'm writing some code that does a bit of introspection of R6 classes and am
wondering about the "classname" parameter. Its the first parameter to the
"R6Class" class generator generator function, and the few examples I've
looked at on CRAN set it the same as the name of the generator function,
for example, from the docs:
Queue <- R6Class("Queue", .....)
2016 Mar 18
0
Fwd: [Issue]: Regarding client socket getting closed from the server once the lxc container is started
Hi Folks,
Using libvirt python bindings we are creating an lxc container.Here is the
problem that we see sometimes (say 20 % of the time) when we create a new
container.
1.container gets created, and also starts.However the we are not able to
enter the namepace of the container.It throws an error initPid not
available.We see that the using netstat command , socket connection is
closed.
2.To
2005 Jun 20
2
does fsck.ext3 read data blocks?
hi,
I am working on a file system related project.
I want to know whether the fsck utility for ext3
reads data blocks (storing user files,etc) at any
stage?
thankin you,
amol
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
2006 Jul 25
1
Feeling silly
I don''t know why, but I am drawing a complete blank on something that
should be easy. I''ve been searching, perhaps using wrong terms, and
still not coming up with anything. Here''s what I''m trying to do:
<div class="button"
onMouseOver=''this.className="button_hover"'';
onMouseOut