On Jun 1, 4:21 pm, kiusau wrote:
> On Jun 1, 9:39 am, kiusau wrote:
It would be unjust to say that my time was completely wasted in this
forum, but it would be foolish for me to waste any more, because I
have discovered here what I dislike most about IT forum's in general.
So, with t
On Jun 1, 9:39 am, kiusau wrote:
> How does one assign the return value of a jQuery method/plug-in to a
> reference variable?
Why is this such a difficult question to answer?
Who was it who once wrote that the jQuery community is helpful to
those at all levels of mastery?
Where are y
How does one assign the return value of a jQuery method/plug-in to a
reference variable?
Roddy
An IT idiot with apparent zero ability to communicate among Geeks who
systematically eschew reading but readily recommend the writing of
others.
QUESTION: Please find below three blocks of code and try to answer
the question in all-caps that precedes this code.
CODE DESCRIPTION: The first block of code uses a jQuery method/plug-
in called toDate( ) that I created. This code has been thoroughly
tested in Firefox, Opera, and Safari. It w
On May 27, 3:38 pm, kiusau wrote:
> On May 26, 2:19 am, Pepperman wrote:
Although I was eventually able to resolve my problem at W3Schools, I
would very much like a clarification of what Pepperman wrote above and
to which I dutifully responded. Certainly, it would be insightful to
me, if
First of all, I would like to thank you for responding, and it is my
sincere hope that you will follow through as not all are wont.
On May 29, 10:38 am, Kelly wrote:
> The first situation, $.prompt(x), is just a function, attached to the
> jQuery namespace. This is useful if you're creating a fu
QUESTION: Do $.prompt(temp) and $().prompt(temp) mean the same
thing? If they do not mean the same, how are they different.
Roddy
On May 26, 2:19 am, Pepperman wrote:
> This is also up to personal preferences. I personally don't like
> polluting the window namespace with unnecessary stuff.
I have never thought of the DOM window as a namespace before. As an
object, yes.
> Especially since jQuery is so easy to extend.
Obv
On May 26, 5:51 am, infoaddicted wrote:
> According to the documentation, the body of your ready function will
> execute when the DOM has loaded and is ready to traverse. The last two
> scripts manipulate the DOM, so I would put the ready function
> afterward so I could be more confident in the
On May 26, 12:21 pm, Ricardo wrote:
> 1. Do you get errors if you remove the last 2 spry scripts?
> 2. Regardless of which script does what, you should put the $().ready
> ( always after all the scripts as a safety measure, there's no
> negative impact.
> 3. If I remember a recent discussion, you
QUESTION: What is the general rule for using the Ready function in
the presence of other Javascript?
BACKGROUND: I have recently discovered that my previous problems with
the customization of the jQ Impromptu plug-in could be overcome
through isolation. In effect, I removed my script from the
Have you tried here: http://docs.jquery.com/Traversing/children#expr
Roddy
On May 25, 1:55 pm, eclipseTalk wrote:
> Hello,
> I'd like to display the children nodes when the mouse over the parent
> node. What is the best way to achieve that? Any help is appreciated.
> Thank you for your time.
QUESTION: I once read in this forum that it is a good idea to limit
the number of "new" jQuery methods and write as much script as
possible outside of the jQuery framework. If this is true, then how
does one go about assigning functions to tags, if they are not
themselves jQuery methods that one
On May 25, 3:44 am, Jason Persampieri wrote:
> Certainly... you're really not all that far off at all... let me just
> point out a couple of things.
Very nice presentation!
It is likely that many novice users of jQuery will be able to benefit
from it. Please do respond to the originator's ques
On May 24, 10:19 pm, waseem sabjee wrote:
> after clicking the older image I am redirected
> tohttp://www2.gol.com/users/hsmr/emblem/name.html
> is this behavior correct ?
Yes, this is correct.
> throughout these steps firebug did not encounter any JS errors.
>
> Try pressing CTRL and F5,, thi
On May 24, 2:17 pm, waseem sabjee wrote:
> our link does not work.
My apologies. I mis-specified.
Please try http://tr.im/hashimori
Roddy
You are welcome to examine the page in question at http://tr.im.hashimori
After opening the page, click on the Japanese character in the bottom-
left corner, and two images of myself appear. Click on the older image
on the left. This page incorporates the jQuery Tooltip Plug-in
written by Jörn Z
Well, at least, until I turn on Firebug, anyway.
This is very frustrating, when my sole tool for checking the validity
of my webpages is Firefox.
Roddy
Finally, when I load the HTML document up to the internet and try to
open it with Firefox, it behaves as it should.
Roddy
I have recently noticed that version 1.3 of the jQuery Tooltip Plug-in
does not work with jQuery's version 1.3.2. Is there a patch
available? Is there one on the way?
Roddy
I recently found the following fix for the failure code 0x80040111 on
the internet, but at a loss about where to place it.
http://bytes.com/groups/javascript/503355-how-fix-0x80040111-ns_error_not_available-error
The FUNCTIONAL FIX
function LoadContent(reqVar,loaderId,divId,url) {
if(re
A second error message that occurs after much run-time has passed.
2ND ERROR MESSAGE
Exception... "Component returned failure code: 0x80040111
(NS_ERROR_NOT_AVAILABLE) [nsIChannel.contentType]" nsresult:
"0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame ::
file:///Applications/Firefox.ap
re to build.
>
> To answer you in the format you requested:
> 1) Ease of use, transparency, support, documentation, plugins
>
> 2) = NULL;
>
> So, that's my two cents, JQuery FTW!
>
> On May 21, 8:05 pm, kiusau wrote:
>
> > After a badly needed pause of some length, my
> > of relative popularity of the different frameworks. There is always
> > some safety in choosing the "market leader" and if you are going in
> > blind with no desire to do an in-depth analysis of each option, then
> > choosing jQuery would probably be your saf
of each option, then
> choosing jQuery would probably be your safest best.
>
> IMO,
>
> Matt Kruse
>
> On May 21, 2:05 pm, kiusau wrote:
>
> > After a badly needed pause of some length, my need for sophisticated
> > JavaScript has reemerged. During my departu
aron
> Newton has taken up being the public face of mootools. He recently
> wrote an article on jQuery vs Mootools with a somewhat mootoolish
> bias, but its a great article:
>
> http://jqueryvsmootools.com/
>
> On May 21, 12:39 pm, kiusau wrote:
>
> > On May 21, 12
QUESTION: When the Firebug Script Debugger is enabled, and I open my
documents with Firefox, my Console opens to the following block of
code (see JAVASCRIPT below), my page fails to load, and an error
message is produced (see ERROR MESSAGE below). If I reload the page
with the Console still open
On May 21, 12:23 pm, David Meiser wrote:
> If you can't bear that thought, just *choose* one. None of my friends were
> using jQuery when I started using it (now I've converted all of them), but I
> read an article saying that it was going to be included in ASP.NET MVC and
> VS 2010. So, I gave
After a badly needed pause of some length, my need for sophisticated
JavaScript has reemerged. During my departure I have discovered two
other similar JavaScript modules called MooTools and Prototype. With
my reemergence I have also realized that all of these require a
certain amount of commitme
On May 9, 10:06 pm, "Michael Geary" wrote:
> Kali, since we're wondering if this is a jQuery problem, let's find out by
> taking jQuery out of the equation. Where the code uses jQuery to load the
> message into the #mailSuccess element, we'll just alert it instead - but
> we'll call alert in exac
QUESTION ONE: When is use of the jQuery prototype object appropriate,
and when is it not?
BACKGROUND: I am still trying very hard to identify the error that is
prohibiting me from incorporating a jQuery plug-in into my site in a
manner similar to the way that the author of the plug-in has
incor
On May 6, 8:06 pm, chris thatcher
wrote:
> 5) learn to depend on firebug.
It is Firebug that alerted me to the errors. I was hoping that you
could explain them. I am still fairly new to Firebug and so far have
net learned how to use it to resolve problems -- only detect them. It
is does not a
On May 6, 10:34 am, dhtml wrote:
> var time = new (function(x){
> this.timeStamp = +new Date;
> this.end = new Date(x); // Invalid Date.
> })(Infinity);
How do you explain that both time.timeStamp and time.end are returned
without error in the following:
var time = new (function(x){
On May 5, 3:13 pm, Rey Bango wrote:
> Damn Matt, you should do a wiki page with that content.
If he doesn't, perhaps I will, but not until I am entirely in the
clear.
Thank you for your encouragement.
Roddy
On May 5, 1:53 pm, Matt Kruse wrote:
> > (function($) {$.fn.METHOD_NAME = function() {FUNCTION_CODE}})(jQuery);
>
> This passes the jQuery object to the internal anonymous function, then
> operates on $. It adds a property to the $.fn object, which in jQuery is the
> prototype for the jQuery obje
On May 5, 11:04 am, Rey Bango wrote:
> Another option would be to break down in greater detail the areas that
> you'd like better clarity on. Unfortunately, your original message was
> quite vague & in terms of helping us optimize our time, you'll need to
> make the effort to better verbalize wha
On May 5, 9:20 am, Josh Powell wrote:
> Try this:
> http://www.learningjquery.com/category/levels/beginner?order=ascending
Which brings me back to this
http://docs.jquery.com/Tutorials:Getting_Started_with_jQuery
I am not looking for a cookbook, I am looking for conceptual
understanding about
On May 5, 8:24 am, Rey Bango wrote:
> Great advice Matt.
But, no source!
Roddy
On May 5, 7:32 am, Matt Kruse wrote:
> I recommend studying the javascript language for a while, independent
> of jQuery. Understand the core concepts of the language and some of the
> trickier
> bits like scope, identifier resolution, object methods, and closures.
> Play with your own code unt
QUESTION: I am looking for an article that explains the conceptual
relationship between jQuery and Javascript. Can anyone point me in
the proper direction?
BACKGROUND: In my quest to understand why some things in my webpage
work while others do not I found the following, very useful article
ab
Thank you for responding, Ricardo.
On May 4, 11:20 am, Ricardo wrote:
> My bet is that jQuery and some of the other (many) scripts are colliding,
> since the '$' object is being overwritten.
I am not sure that I understand when you say that the '$' is being
overwritten.
Also, this is the first
QUESTION: How does one control the order in which jQuery methods are
called and executed when loading a page?
BACKGROUND: This question has been simplified from my previous
question on load order.
As this appears to be a complex issue -- otherwise, it would probably
have been readily addressed
On May 3, 8:59 am, Ariel Flesler wrote:
> Fixed:http://dev.jquery.com/changeset/6334
This link was very useful. It taught me that fn in the following
construction means prototype.
(function($) {
$.fn.someFunctionName function( ) {
This functions code block
};
})(jQuery);
So, when I
On May 3, 1:22 am, Klaus Hartl wrote:
> $() === $(document)
So, if I have understood properly. jQuery must always be told "Where
to go!" when called in an HTML document, but knows automatically where
to go when called inside another jQuery method in a JavaScript
document. Is this correct?
Rodd
QUESTION: What does the first pair of parentheses indicate in the
following statement:
$().getBrowserInformation();
BACKGROUND: I have noticed that their presence or absence can make or
break JavaScript's acknowledgement of a method's existence on the one
hand, but seem entirely unnece
QUESTION: How does one set the order in which jQuery methods are
called?
BACKGROUND: Unlike jQ-Impromptu website (see SOURCES below) that
launches jQ-Impromptu with mouse clicks, I would like to launch jQ-
Impromptu after my page has completely loaded, but before the user can
do anything of his
On May 1, 3:02 pm, waseem sabjee wrote:
> new information
> $("body").getBrowserInformation is not a function
I discovered the source of this error. I found a space in the file
name that includes the getBrowserInformation( ) method. When I
removed it the method was found and the alert box app
On May 2, 5:21 am, "Richard D. Worth" wrote:
> One of the best ones I've seen lately is DD_roundies, by Drew Diller:
> http://www.dillerdesign.com/experiment/DD_roundies/
DD Roundies were designed for an IE environment. They do not work
well in the Firefox, Opera, and Safari environments. Thi
On May 1, 3:00 pm, waseem sabjee wrote:
> try adding this code ABOVE the $(document).ready(function() {..
> > var $k = JQuery.noConflict();
> > then replace all the jquery $ signs with $K
> let me know if this solved your issue
I have done as you suggested off-line, but there was no change. Al
This is not really new information, but it is difficult to understand,
because the very function that is now giving an error can be shown to
work perfectly well in a different context.
On May 1, 3:02 pm, waseem sabjee wrote:
> new information
> $("body").getBrowserInformation is not a function
line of code
>
> > $('body').getBrowserInformation();
> > jQ_Imagine.js (line 122
>
> > On Fri, May 1, 2009 at 11:48 PM, kiusau wrote:
>
> >> On May 1, 2:20 pm, kiusau wrote:
> >> > On May 1, 12:18 pm, kiusau wrote:
>
> >>
On May 1, 12:18 pm, kiusau wrote:
> This set-up works fine in both of the previously described
> environments and has been tested in Firefox, Opera, and Safari.
I have just discovered that it does not work well under all
conditions. In fact, when I introduced new jQuery code via other
ex
On May 1, 2:20 pm, kiusau wrote:
> On May 1, 12:18 pm, kiusau wrote:
> I have just discovered that it does not work well under all
> conditions.
I have decided to post the entire site for viewing, as it appears that
I have just stepped into a drop-off far over my head. A file cre
QUESTION: What is the best way to incorporate SVG Roundies into a
jQuery controlled webpage?
BACKGROUND: Before I began using jQuery the following block of code
was included in a
SClock = function() {
> setInterval(function() {
> // code to get and write time here
> }, 1000);
> }
>
> })(jQuery);
>
> $(document).ready(function() {
> $('#clock').JSClock();
>
>
No need for an example!
I got it!
Roddy
On Apr 22, 10:05 pm, mkmanning wrote:
> Here's my (working) example online for you to look at:
>
> http://actingthemaggot.com/test/jquery_example/clock.html
>
> HTH :)
>
> On Apr 22, 10:00 pm, kiusau wrote:
>
> >
On Apr 22, 9:55 pm, mkmanning wrote:
> With arguments.callee wouldn't you still lose the original 'this' ?
>
> Why not a closure, just set 'this' to 'that'. Also, you should return
> the jQuery object:
Yes, this works! Bravo!
Proper use of the setInterval( ) function with this-and-that closure!
On Apr 22, 9:18 pm, Ricardo wrote:
> Just add setTimeout(arguments.callee, 1000); to the end of the JSClock
> function (after this.html...). That way the function will repeat
> itself over and over every second.
Before I become too concerned about stopping my clock, I must first
get it running.
On Apr 22, 7:49 pm, kiusau wrote:
> In and of themselves the above and the following both fail. My guess
> is that this.html() object is not a proper reference.
Firebug says that this.html() is not a function. This also makes
sense -- well, at least to me -- as html() is a jQuery method
On Apr 22, 5:29 pm, James wrote:
> Something like the below?
>
> (function($) {
> $.fn.JSClock = function() {
> setInterval(function() {
> // code to get and write time here
> }, 1000);
>
On Apr 22, 4:50 pm, Joseph Le Brech wrote:
> cant you change your anonymous function for a seperate named function that
> takes in the html element name funcclock(elem, interval).
>
> the fn command can run it once funcclock($(this));
>
> the function can then rerun itself with setTimeout("funcn
On Apr 22, 4:40 pm, James wrote:
> setInterval should be the solution. How does your implementation with
> it look like?
As I wrote, I have tried several. The underlying problem appears to
be how to call the jQuery method that I have created from within the
setInterval( ) function. These do no
On Apr 22, 3:00 pm, ldexterldesign wrote:
> I really wanna be able to understand that regex - any hints? Looks
> interesting!
I do not know how to make use of regular expression within the context
of JQuery, as I am still quite new to the jQuery environment. JQuery
methods and Javascript functi
QUESTION: How do I get a function to repeat itself an unspecified
number of times?
BACKGROUND: I have created a digital clock with which I very
satisfied except for one shortcoming: it displays only once and stops
ticking. The only way to keep track of the time is to refresh the
page. I have
On Apr 22, 4:29 am, George Adamson
wrote:
> You may also like to try using jQuery's.each method. Something like:
> var flowerColor = {rose: "red", tulip: "pink", daffodil: "yellow"};
> $.each(flowerColor, function(flower,color){
> this.append("Flower name and color: " + flower + ":" + color +
On Apr 21, 10:58 pm, Jake wrote:
> document.write() means writes to the root of the DOM, aka. the
> `document'. it is a JavaScript built in
Object.http://www.comptechdoc.org/independent/web/cgi/javamanual/
javadocumen...
Thank you for the additional reference. I usually depend on W3Schools
to g
On Apr 21, 10:24 pm, mkmanning wrote:
> .html() overwrites the innerhtml for that element. Try .append().
Changing the statement this.html( ); to this.append( ); fixed the
problem and produced the result for which I was looking. Many thanks.
Roddy
QUESTION: Is it possible to use the for-in statement to list all of
the key:value pairs of an object in a tag?
BACKGROUND: The following code (see SOURCE CODE below) writes only
the sentence: "Flower name and color: daffodil:yellow." The
key:value pairs rose:red and tulip:pink appear to be
This is, indeed, very good news.
I was afraid that I might be wasting a lot of time learning jQuery, or
had wasted a lot of time building my Dreamweaver template.
My fear was for nought. Also, I have learned that not many jQuery
users use or are very interested in Dreamweaver. So, I am pretty
l
Can jQuery be used to manipulate uneditable document objects in an
HTML/XHTML document produced from a Dreamweaver template? If so, is
there a special script required to unlock them?
Similarly can jQuery be used to manipulate editable objects? If so,
are special scripts required to access them?
> document.ElementById has a bug in ie6 and ie7 that will return an
> element with a name attribute of the same value. Use $('#today')
> instead.
Got it. Thanks!
> todayEl.innerHTML = "something" can cause memory leaks if events are
> added to DOM objects inside of todayEl and then just written
> If you want to format a local date, . . .
>
> var todayEl = document.getElementById("today");
> todayEl.innerHTML = formatDate(new Date); // [1]
> [1]http://www.jibbering.com/faq/#formatDate
This also worked, but produced a format very different from that
required by the context in which the
Thank you for the warning with regard to the use of the document.write
statement and the alternative format for writing text to an HTML
document. It will likely prove invaluable in the future.
Roddy
With minor modifications I was able to achieve my goal with the sample
code that you provided. So that I do not feel compelled to ask this
question could you confirm or disconfirm whether the below statement
is correct.
In order to create a jQuery method from a JavaScript function not
encoded i
I am new to jQuery, but understand enough to have already begun
targeted experimentation. I have run into a snag. In brief, I am
trying to call a function from a .JS file that contains no jQuery and
assign it to an HTML tag in a Dreamweaver template via jQuery that is
located in a different .JS
75 matches
Mail list logo