[jQuery] Re: class={title:'test'}

2010-01-21 Thread MorningZ
No, you don't have it right, it's the MetaData plugin in use :-) http://pupunzi.open-lab.com/mb-jquery-components/jquery-mb-extruder/ one of the dependencies listed is jquery.metaData.js On Jan 21, 3:46 pm, Bruno Santos bit...@gmail.com wrote: Hiho! I believe that you are trying to add

[jQuery] Re: class={title:'test'}

2010-01-20 Thread MorningZ
Here is the plugin http://plugins.jquery.com/project/metadata in your example of div id=extruderLeft class={title:'test'} var x = $(#extruderLeft).metadata().title; console.log(x); would show test in the Firebug console On Jan 20, 4:34 am, fran23 f...@lavabit.com wrote: I don't know how to

[jQuery] As assistance to test v1.4, I made a cord comparison table between the jQuery versions.

2009-11-17 Thread tato
As assistance to test jQuery v1.4, I made a cord comparison table between the jQuery versions. http://jsgt.org/lib/jquery/1.4/comparLegacy2.htm v14 changes a lot than I thought.

[jQuery] Safest way to test is a variable is a jQuery object?

2009-08-23 Thread Eridius
I am wondering what is the safest way to test if a variable is a jQuery object. I am building a function where I want to be able to pass in either the id of the form or the form object itself. The current way I am doing this is var $form = (form instanceof jQuery ? form : $('#' + form)); Is

[jQuery] Re: Help with Test Case for jQuery XSLT Plugin

2009-08-19 Thread LindsayT
I also ran it in Firefox 3.5 on Fedora 10 and it worked properly. So what's up with Firefox 3.0.1 for Mac? On Aug 19, 11:38 am, LindsayT lindsayta...@gmail.com wrote: I'm using a jQuery XSLT plugin to load static content from an XML file for my portfolio (http://www.oogeeyot.com)  It seems

[jQuery] jquery menu plugin browser test

2009-07-01 Thread Dave
http://labs.makotokw.com/s/jquery/menu Are planning to use the above menu plugin but need to know how it works in different browsers, most important IE6/7. The plugin author says it works in: Google Chrome 3 (Windows) Firefox 3 (Windows/Mac) Safari 4 (Mac) I have tested it in these, where it

[jQuery] Re: How to test/filter for all divs being hidden ?

2009-06-17 Thread Charlie
One filter would be to check the length of div:visible, if zero no div's visible I think there is a lot easier way to accomplish your task without having to splice for ID's, writing filter tests and without any if statements at all by using classes for everything you are doing By

[jQuery] Re: How to test/filter for all divs being hidden ?

2009-06-11 Thread Charlie
this is confusing, all the #content div's are already hidden by css ( display:none) and you say it's already working . Not very clear what you are trying to accomplish $("#content div").hide(); // this will hide every div within #content using part of your click function below a "filter"

[jQuery] Re: How to test/filter for all divs being hidden ?

2009-06-11 Thread Suz T.
Thankyou for your response, I'll try to clarify what I am trying to doI am trying to have the content of a div on a page appear or disappear based on a click of a link. However I want to start the page with none of the content in divs being shown, thus I hid the #content div's in the

[jQuery] jCarousel as Marqee Test

2009-04-05 Thread spiceflo
Hello together, I wanna use jCarousel as you can see it here http://www.dslproviderwechsel.de in the header (the scrolling company logos). Do you know the parameters for jCarousel to display the plugin as in the example. Currently I have the following problems: - the autoscroll function does

[jQuery] Re: Should I test if an element exists?

2009-03-13 Thread Scott Sauyet
Nic Hubbard wrote: I am thinking I could use: if ( $('#myDiv').length ) { // Run my scrip there } One of the strengths of jQuery is that this is probably not necessary. Almost everything you care to do on the jQuery object returned by your selector call will run through a forEach() call.

[jQuery] Re: How to test Javascript code

2009-01-18 Thread Karl Swedberg
On Jan 18, 2009, at 8:14 AM, Yuvraj Mathur wrote: Hi, Is there any web site where we can test our javscript code... that uses libraries like Jquery, Mootools, Dojo, etc... There use be a site... but I don't remember its address... Try http://jsbin.com/ --Karl Karl

[jQuery] jquery-based typing test?

2008-12-09 Thread Jack Killpatrick
Hi All, I'm about to put together a js-based typing test and am wondering if anyone might know of a plugin or code drop that might give me a head start? Basic process: 1. user sees an image of a block of text 2. clicks a button to start a timer 3. types into a textarea 4. textarea becomes

[jQuery] [QUnit] how to test fadeOut is applied

2008-11-20 Thread todd
I have this super simple method that I'm trying to test. $.fn.updateWaitState = function(message, callback) { return this.css('color', 'red').html(message).show().fadeOut(1000, callback); } I want to make sure that the fadeOut is called. Here's what I've tried: with(jqUnit) {

[jQuery] Re: how to test fadeOut is applied

2008-11-20 Thread todd
Here's proof that I'm new to QUnit! I was trying to put the test thread to sleep - obviously that's the wrong paradigm. I broke the test into 2 tests, and this seems to satisfy what I'm trying to do: test(updateWaitState shows element, function() { $(div.mydiv).hide();

[jQuery] [validate] how to test text against a bad word list?

2008-09-22 Thread tobaco
hi, i'm using the excellent validate-plugin and it works like a charm. now i want to test the text in a textarea against a list of bad words. how must be the syntax of the custom validation rule? i'm very bad in regex … thanks in advance, tobaco

[jQuery] Re: jquery compatibility test 01

2008-05-29 Thread arden liu
=text/javascript src=/test/jquery-1.2.6.js/script script type=text/javascript function refreshProgress(){ $(#test1).val(e); setTimeout(refreshProgress, 1500); } $(function(){ $(#formtest).submit(function(){ setTimeout(refreshProgress, 1500); }); }); /script /head body

[jQuery] Re: jquery compatibility test 01

2008-05-28 Thread Ariel Flesler
Reducing that to the real situation... you're setting a number as value to a text field. That did cause troubles (for selects) but was fixed on 1.2.6. I tried this (setting the val to a text field) and worked well. Maybe something else is failing ? try to remove all the irrelevant code and

[jQuery] How do you test if hidden or shown in jquery

2008-03-03 Thread otherjohn
ok, I have 2 elements that use the .toggle function to hide and show themselves. But I would like, when each is clicked, for it to test if the other element is currently showing and hide it and vice versa. Can someone help me find how to do that? John

[jQuery] Please suggest minimal test of jQuery installation

2008-02-16 Thread RLFitch
Please suggest some way to verify jQuery installation. I having some difficulty with jQuery installation on a server with 'antiquated' OS (OpenVMS circa 1995). I not sure if my lack of success is due to the web server software/OS or if I'm doing something wrong. I've managed to install jQuery

[jQuery] Re: jquery newbie test

2008-02-05 Thread tlob
finaly I am not alone anymore ;-) On Feb 5, 2:15 am, Josh Nathanson [EMAIL PROTECTED] wrote: Access...confirmed. =] - Original Message - From: CFMike To: jquery-en@googlegroups.com Sent: Monday, February 04, 2008 4:00 PM Subject: [jQuery] jquery newbie test Please

[jQuery] Re: jquery newbie test

2008-02-05 Thread CFMike
Josh and Aaron- Thanks On Feb 4, 5:15 pm, Josh Nathanson [EMAIL PROTECTED] wrote: Access...confirmed. =] - Original Message - From: CFMike To: jquery-en@googlegroups.com Sent: Monday, February 04, 2008 4:00 PM Subject: [jQuery] jquery newbie test Please ignore

[jQuery] Re: jquery newbie test

2008-02-04 Thread Josh Nathanson
Access...confirmed. =] - Original Message - From: CFMike To: jquery-en@googlegroups.com Sent: Monday, February 04, 2008 4:00 PM Subject: [jQuery] jquery newbie test Please ignore. I am new to the jquery list. I am just testing my access. Thank you for your patience.

[jQuery] Re: jquery newbie test

2008-02-04 Thread Aaron Heimlich
Your test has succeeded! On Feb 4, 2008 6:00 PM, CFMike [EMAIL PROTECTED] wrote: Please ignore. I am new to the jquery list. I am just testing my access. Thank you for your patience. -- Aaron Heimlich Web Developer [EMAIL PROTECTED] http://aheimlich.freepgs.com

[jQuery] jQuery.getScript() way to test if the script has already been downloaded?

2007-12-03 Thread seth
Hi, Is there a way to see if a script has already been downloaded before i 'download' it again? i.e. i have this: $(document).ready(function(){ $(#editor).click(function(){ $.getScript(/fckeditor/fckeditor.js, function(){ $.rteditor(body,{ buttons: { Cancel: false, Submit: true } });

[jQuery] How do you test if an object exists?

2007-08-28 Thread Frank Peterson
I'm getting weird bugs when using setTimeouts and/or setIntervals after I hit the back button in Firefox to come back to the page. I need to do a check at the top of any setTimeout to make sure that the object I need still exists. But I dont know how :(

[jQuery] Re: How to test if plugin X is loaded ?

2007-08-15 Thread xavier
Thanks, didn't search the doc at the right place (was looking into core, that's under ajax). Why would you question if I really want to do that ? What would be the reason/risk of doing it ? X+ On Aug 15, 1:09 am, Erik Beeson [EMAIL PROTECTED] wrote: I question whether or not you really want

[jQuery] Re: How to test if plugin X is loaded ?

2007-08-15 Thread Erik Beeson
Because I think it would be much cleaner to just load the plugins that you want in the first place... --Erik On 8/15/07, xavier [EMAIL PROTECTED] wrote: Thanks, didn't search the doc at the right place (was looking into core, that's under ajax). Why would you question if I really want to

[jQuery] Re: How to test if plugin X is loaded ?

2007-08-14 Thread Benjamin Sterling
Xavier, For question #1: if(typeof $.fn.tableSorter == 'function') question #2: yes, you just need to know the path to the file and do a document.write('script... On 8/14/07, xavier [EMAIL PROTECTED] wrote: Hello, I'd like to be able to test if a specific plug in is loaded before

[jQuery] Re: How to test if plugin X is loaded ?

2007-08-14 Thread Erik Beeson
I question whether or not you really want to be doing that... But here's both questions in one go: if(!$.isFunction($.fn['pluginName'])) { $.getScript('/path/to/plugin', function() { alert('Plugin ready'); }); } else { alert('Plugin ready'); } That assumes the plugin is on the same

[jQuery] Re: Another speed test

2007-07-11 Thread Rey Bango
Jack actually points out the fact that div div div is pointless. He also gives a lot of kudos to jQuery and I'm glad for that. He even mentioned John's nth child script and how well-written it is. I like the fact that he, in a roundabout way, calls out other libs on the use of pointless

[jQuery] Re: Another speed test

2007-07-11 Thread Glen Lipka
Actually, I am putting my money where my mouth is: http://www.commadot.com/jquery/speedtest/ This shows library SIZE and it also uses an actual website. (My blog, which is typical of normal WordPress blogs). I'm still playing with the selectors. not sure why some didnt find anything. Glen

[jQuery] Re: Another speed test

2007-07-11 Thread Jörn Zaefferer
Glen Lipka wrote: Actually, I am putting my money where my mouth is: http://www.commadot.com/jquery/speedtest/ This shows library SIZE and it also uses an actual website. (My blog, which is typical of normal WordPress blogs). I'm still playing with the selectors. not sure why some didnt

[jQuery] Re: Another speed test

2007-07-11 Thread Rey Bango
Glen, you have a typo in the test. It should be jQuery v1.1.3.1! ;) Glen Lipka wrote: Actually, I am putting my money where my mouth is: http://www.commadot.com/jquery/speedtest/ This shows library SIZE and it also uses an actual website. (My blog, which is typical of normal WordPress blogs

[jQuery] Re: Another speed test

2007-07-11 Thread Glen Lipka
to your page. 3. donate $1 to jQuery ;) Glen On 7/11/07, Rey Bango [EMAIL PROTECTED] wrote: Glen, you have a typo in the test. It should be jQuery v1.1.3.1! ;) Glen Lipka wrote: Actually, I am putting my money where my mouth is: http://www.commadot.com/jquery/speedtest/ This shows library SIZE

[jQuery] POT: CSS Selector test

2007-07-09 Thread Benjamin Sterling
Came across this when running thru w3c.org and thought it was interesting: http://www.css3.info/selectors-test/ I have FF2 running and a lot of the selectors failed and in IE7, even more failed. -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com

[jQuery] this is a test

2007-05-07 Thread Andy Matthews
Andy Matthews Senior Coldfusion Developer Office: 877.707.5467 x747 Direct: 615.627.9747 Fax: 615.467.6249 [EMAIL PROTECTED] www.dealerskins.com http://www.dealerskins.com/ dealerskinslogo.bmp

[jQuery] Re: How to test if an event is already bound to an object ?

2007-04-30 Thread xavier
Thanks, very interesting and clarifying. Actually, I suspect that the loop (or selector) didn't find any element because the event handler I was looking for seems to be plug on a parent element. Anyway, I did it by filtering on the class attribute, that was a cleaner option. Thanks to all. X+

[jQuery] Re: How to test if an event is already bound to an object ?

2007-04-28 Thread xavier
is what the for loop checks). JK -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of xavier Sent: Friday, April 27, 2007 10:42 AM To: jQuery (English) Subject: [jQuery] How to test if an event is already bound to an object ? Hello, I want

[jQuery] Re: How to test if an event is already bound to an object ?

2007-04-27 Thread Jeffrey Kretz
@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of xavier Sent: Friday, April 27, 2007 10:42 AM To: jQuery (English) Subject: [jQuery] How to test if an event is already bound to an object ? Hello, I want to add a default javascript function to all my internal links that DON'T already have a behaviour

[jQuery] Re: How to test if an event is already bound to an object ?

2007-04-27 Thread xavier
[mailto:[EMAIL PROTECTED] On Behalf Of xavier Sent: Friday, April 27, 2007 10:42 AM To: jQuery (English) Subject: [jQuery] How to test if an event is already bound to an object ? Hello, I want to add a default javascript function to all my internal links that DON'T already have a behaviour