[jQuery] Re: Initial Setup

2009-07-03 Thread Pyrolupus
On Fri, Jul 3, 2009 at 8:51 AM, Andrew m...@andrewcampbell.us wrote: I'm new to JavaScript -- and cannot get jQuery to work (unless I access http://code.jquery.com/jquery-latest.js) ... * my hosting service does doesn't have gzip compression enabled -- what file do I need to install on my

[jQuery] Re: Call for contributors: A simple, fast and flexible grid/spreadsheet component.

2009-03-12 Thread Pyrolupus
Great timing! I needed a lightweight data grid, and here you just contributed one! ^_^ I used FlexiGrid[1] in the past, but it's overkill for what I needed right now, plus development on it looks to have stalled. As I come across ways that I'd like to improve it--such as integrating into

[jQuery] Re: idiot requests SIMPLE ajax explanation!

2008-06-16 Thread Pyrolupus
Have you already run through the stuff at jQuery Ajax Tutorials[1]? I thought that Akash Mehta's article[2] looked like a pretty good sampling with lots of step-by-step stuff. Older version of jQuery, but pretty much all still applicable. [1] http://docs.jquery.com/Tutorials#Ajax [2]

[jQuery] Re: Cornerz 0.4

2008-06-03 Thread Pyrolupus
Jonah, I'm not sure whether this is a settings issue or a version issue, but the demo page looks a little off on my Opera-9.27/WinXP: http://pyrolupus.com/img/opera-9.27_cornerz.png (Note the white curve inside the green box for Examples--all the green boxes on the page are l like that and the

[jQuery] Re: JqModal

2008-06-02 Thread Pyrolupus
If the datestamps on your posts are right, then you are complaining of no response in under two hours? Is that correct? You just need to practice a bit more patience. Personally, I browse new posts to the group somewhere between zero and three times per day. I would not expect an immediate

[jQuery] Re: $(document).ready Events not firing on elements of code injected via ajax call

2008-05-30 Thread Pyrolupus
On May 30, 12:08 am, truent [EMAIL PROTECTED] wrote: Im using $(document).ready to bind an onsubmit and onclick event to 2 elements of my form.  Either of these events fires separately with no problem.  However, when the onsubmit injects html into a div on page, and I then attempt to click on

[jQuery] Re: REMINDER: jQuery Site Detection Greasemonkey Script

2008-05-30 Thread Pyrolupus
Karl, that's fantastic! I've copied Paul's script to my own site with the title change you suggested. I frequently wish to know what version sites are running. Sorry for the necropost; was searching to see if there was any talk about updating the jQuery Detector plugin[1] to work with FF3 and

[jQuery] Re: Tooltip

2008-05-30 Thread Pyrolupus
Have you seen or tried clueTip? http://plugins.learningjquery.com/cluetip/demo/ ~Pyro On May 30, 10:22 am, armyofda12monkeys [EMAIL PROTECTED] wrote: Hello all, I was looking at tooltip examples in Tooltip plugin and just saw all examples where it makes the tooltip based off the title

[jQuery] Re: submit a form when an image is clicked rather than using input type=submit

2008-05-28 Thread Pyrolupus
On May 28, 12:45 pm, cfdvlpr [EMAIL PROTECTED] wrote: I'd like to use an image to submit a form. Is there an easy way to do this using jQuery? Is there some reason you can't use input type=image /? Alternatively, img id=submitimg src=image.png / ::style:: #submitimg { cursor: pointer; }

[jQuery] Re: submit a form when an image is clicked rather than using input type=submit

2008-05-28 Thread Pyrolupus
Why does it take four hours for my replies to show up? :( On May 28, 1:31 pm, Pyrolupus [EMAIL PROTECTED] wrote: On May 28, 12:45 pm, cfdvlpr [EMAIL PROTECTED] wrote: I'd like to use an image to submit a form.  Is there an easy way to do this using jQuery? Is there some reason you can't

[jQuery] Re: Select Boxes and choosing a value on page load

2008-05-22 Thread Pyrolupus
On May 22, 3:30 pm, Randy Johnson - CFConcepts [EMAIL PROTECTED] wrote: I have a page that auto loads States and Cities from a database. When you change the state, the city name changes. This works fine on the page when you go to fill it out for the first time. What I can seem to find

[jQuery] Re: Show/hide toggle hides form too...bah!

2008-05-22 Thread Pyrolupus
You need to have your event handler handle things differently depending upon the specific child element that was clicked. For example: $('div#homepage_boxes div.col').click(function(event) { var $tgt = $(event.target); if ($tgt.not('form')) { //don't toggle when clicking the

[jQuery] Re: Help getting the AJAX load() to work in Firefox

2008-05-22 Thread Pyrolupus
The simple answer is that you can't make Ajax calls to a file resource. Apache httpd is fairly easy to install (http:// httpd.apache.org)--or check your distro if you're running Linux. If you're using a pro version of Windows, you can also enable IIS or PWS. (There are also simpler lightweight

[jQuery] HotChili (Greasemonkey/userscript) breaks easing

2008-05-20 Thread Pyrolupus
I have (well, had) HotChili[1] enabled for all sites for its convenient go-anywhere syntax highlighting ability. Today, I tracked a problem with one of my sites to having HotChili enabled (as a Greasemonkey userscript) on my installation of Firefox. I assume that since HotChili pulls in its own

[jQuery] Re: Traversing AJAX Response?

2008-05-20 Thread Pyrolupus
On May 20, 9:40 am, Yansky [EMAIL PROTECTED] wrote: How exactly does $(response).find('#mylinks') work? How does it traverse the dom tree if the response is just a text version of the page's html? If response is HTML, then $(response) creates a DOM. That's what $ (string) does with HTML

[jQuery] Re: How to extract an object from a jQuery reference?

2008-05-20 Thread Pyrolupus
On May 20, 3:37 pm, Jerome [EMAIL PROTECTED] wrote: I'm not quite sure how to describe, or search for, my question in existing discussions.  I apologize in advance for my lack of search savvy. I understand that you can take an ordinary DOM object and create a jQuery reference out of it:

[jQuery] Re: twitter

2008-05-20 Thread Pyrolupus
On May 20, 3:48 pm, Alexandre Plennevaux [EMAIL PROTECTED] wrote: now that jquery uses twitter, i might give twitter a chance. Can you recommend a good way to use it? A twitter client? Which? i'm a bit afraid of the distraction it brings. but using it in my Greader is not very satisfactory.

[jQuery] Re: Ajax doesn't work on Opera Mobile(partially supports ActiveXObject)

2008-05-19 Thread Pyrolupus
Takayoshi Fujiki wrote: I found that Ajax function of jQuery doesn't work with Opera Mobile 8.7(on Advanced [es] W-ZERO3), and I added a workaround for this problem to jQuery code as follows. Then it worked on the platform. --- jquery-1.2.3.orig.js 2008-05-16 16:19:36.0 +0900

[jQuery] Re: Load (AJAX) callback after javascript evaluations

2008-05-18 Thread Pyrolupus
On May 15, 12:44 am, jk [EMAIL PROTECTED] wrote: JQuery.load can receive a callback function as one of its parameters. According to the online docs, this function is called when theajax request is complete. In practice, it appears this callback is performed after theajaxrequest is complete

[jQuery] Re: jQuery Site Detection Greasemonkey Script

2007-11-07 Thread Pyrolupus
As a followup to my prior message about the jQuery Detect plugin for Firefox, I do want to point out that I still use Paul Bakaus's Greasemonkey script in Opera to great effect. Adding user scripts to Opera: http://www.opera.com/support/tutorials/userjs/using/#writingscripts User scripts can be

[jQuery] Re: Spam - not a complaint, more an observation

2007-11-07 Thread Pyrolupus
Whoa, hadn't noticed that. It does explain why my messages sometimes take an entire weekend to post, though. :\ Pyro On Nov 7, 10:51 am, Eric Martin [EMAIL PROTECTED] wrote: I see from the About this group page: Messages from new members are moderated How long is this moderation in

[jQuery] Re: jQuery Site Detection Greasemonkey Script

2007-11-07 Thread Pyrolupus
I rather like the jQuery Detect Firefox plugin, myself: http://www.sunsean.com/jquerydetect/ The Greasemonkey script works great, as well. Pyro On Nov 6, 9:57 pm, Rey Bango [EMAIL PROTECTED] wrote: Hi everyone. The number of jQuery-powered sites being listed is incredible and the numbers

[jQuery] $('.class1,.class2').filter(':first') always finds first .class1

2007-11-05 Thread Pyrolupus
Basically, what I want to do is find the first element that matches either class1 OR class2. However, using the syntax from the subject line: var $jqElem = $('.class1,.class2').filter(':first'); $jqElem is always the first element that has class1 (i.e., the first class specified), rather

[jQuery] Re: $('.class1,.class2').filter(':first') always finds first .class1

2007-11-05 Thread Pyrolupus
On 11/5/07, Pyrolupus [EMAIL PROTECTED] wrote: Basically, what I want to do is find the first element that matches either class1 OR class2. However, using the syntax from the subject line: var $jqElem = $('.class1,.class2').filter(':first'); $jqElem is always the first element

[jQuery] Re: [NEWS] Humanized Messages

2007-10-18 Thread Pyrolupus
I'm thinking of this as a drop-in for alert() messages, and we already have no say where alert() places its dialog. Impromptu, mentioned earlier in this thread, does a great job of improving the basic JavaScript dialogs, already, and I'm thinking of supplementing those dialogs with these

[jQuery] Re: Flash and jQuery

2007-10-17 Thread Pyrolupus
the javascript function, but I have no idea how to actually do it. Please help. -Roman On Oct 14, 2:06 pm, Pyrolupus [EMAIL PROTECTED] wrote: I originally thought that it was justFlashand JavaScript interaction, in which case you'd use the getUrl('javascript:yourfunc()') ActionScript

[jQuery] Re: two subscriptions to the same group

2007-10-16 Thread Pyrolupus
If both email addresses are attached to the same GGroups login, you could try unsubscribing and then resubscribing with just the one. Alternately, set a GMail filter to trash the messages sent to one of your addresses. Pyro On Oct 15, 6:50 pm, rsmolkin [EMAIL PROTECTED] wrote: Hi All, This

[jQuery] Re: Get the value of a radio button ?

2007-10-16 Thread Pyrolupus
You could also use the :checked selector: $('input[name=othersTransLink]:checked').val() Pyro On Oct 16, 10:11 am, Mike Alsup [EMAIL PROTECTED] wrote: One option would be to use the form plugin: var value = $('[name=othersTransLInk]').fieldValue(); This will return the value of the

[jQuery] Re: Get the value of a radio button ?

2007-10-16 Thread Pyrolupus
of the responses that sort higher in the thread. Why, Google? WHY!? ;-) Pyro On Oct 16, 10:37 am, Pyrolupus [EMAIL PROTECTED] wrote: You could also use the :checked selector: $('input[name=othersTransLink]:checked').val() Pyro On Oct 16, 10:11 am, Mike Alsup [EMAIL PROTECTED] wrote: One

[jQuery] Re: Flash and jQuery

2007-10-15 Thread Pyrolupus
I originally thought that it was just Flash and JavaScript interaction, in which case you'd use the getUrl('javascript:yourfunc()') ActionScript statement, but it sounds more like you just want your previously working links to continue working the way you remember them. I skimmed the sIFR docs

[jQuery] Re: Flash and jQuery

2007-10-11 Thread Pyrolupus
Roman, The fact that you can call any JavaScript function from within Flash implies that it is indeed possible. Assuming for the sake of this example that your links are identified with id attributes: (flash)==triggerFromFlash(linkID); function triggerFromFlash(id) { $('#' + id).click();

[jQuery] LearningJQuery Demo page suggestion: parse hash

2007-10-10 Thread Pyrolupus
Karl et al, I just tried to link directly to the examples tab of the demo page for ClueTip. Unless there's a trick that I don't know about (and please educate me, if that's the case!), there's no way to do that. May I suggest using location.hash in demo.js to see if it matches any of the hrefs

[jQuery] Re: ClueTip: Nice work, Karl!

2007-10-10 Thread Pyrolupus
It's easy to test (I just did so in IE7). More difficult than when able to use FireBug, but we get by. ;-) Browse to http://plugins.learningjquery.com/cluetip/demo/ and click on the Examples tab. (Sorry don't know how to link directly to Examples--or if it is even possible.) Once you're

[jQuery] Re: ANNOUNCEMENT: Chili 1.9 much faster

2007-09-27 Thread Pyrolupus
Hey! When're you going to update Chili Central[1] with the new link? ^_^ Pyro [1] http://noteslog.com/chili/

[jQuery] Re: How to use google group ?

2007-09-25 Thread Pyrolupus
On Sep 25, 5:43 am, Fabrizio [EMAIL PROTECTED] wrote: I try to use this google group and it's the first time I use a google group. I wrote 3 differents message. I have a reply on only one of this but I never seen my new message on the list of the discussion. If some body could help to teacth

[jQuery] Re: multiple select box to textarea

2007-09-18 Thread Pyrolupus
On Sep 18, 9:33 am, FrankTudor [EMAIL PROTECTED] wrote: var s = $('select').serializeArray(), t = []; $.each(s,function(n,v){ t[t.length]=v.value; }); $('textarea').val(t.join('\n')); Hi I understand maybe 40 percent of the above code. Can

[jQuery] Re: Using wrap() and then removing the wrapped element without removing the children

2007-09-13 Thread Pyrolupus
On Sep 12, 10:43 pm, Richard D. Worth [EMAIL PROTECTED] wrote: On 9/12/07, Richard D. Worth [EMAIL PROTECTED] wrote: On 9/12/07, Pyrolupus [EMAIL PROTECTED] wrote: Also, children() is not the right method. I should have originally said find('*'). children() is only for immediate

[jQuery] Re: NEWS: jQuery 1.2 Released

2007-09-12 Thread Pyrolupus
Peter, On Sep 11, 5:57 pm, Peter Bengtsson [EMAIL PROTECTED] wrote: Do I need the XPath Compatibility Plugin to do $('[EMAIL PROTECTED]file]') or does the deprecation only apply to $('[EMAIL PROTECTED]')? 1) It's only deprecated, not removed, so it will continue to work even without the

[jQuery] Re: Superfish plugin fix for jQ1.2

2007-09-12 Thread Pyrolupus
On Sep 11, 7:17 pm, Joel Birch [EMAIL PROTECTED] wrote: On 9/12/07, sozzi [EMAIL PROTECTED] wrote: No biggie but I might as well save someone a few grey hair. Hey thanks for working this out for me. I am planning on debugging Superfish for jQuery 1.2 very soon so it's nice to know it seems

[jQuery] Re: Visual jQuery

2007-09-12 Thread Pyrolupus
On Sep 11, 3:59 pm, JeffG [EMAIL PROTECTED] wrote: On Sep 11, 12:07 pm, Stosh [EMAIL PROTECTED] wrote: On Sep 11, 11:22 am, Pyrolupus [EMAIL PROTECTED] wrote: All documentation has now been moved out of the jQuery internal code and onto the jQuery Documentation Wiki. We're currently

[jQuery] Re: Learning JQuery book typo: plugins repo URL is 404

2007-09-12 Thread Pyrolupus
Karl, I think that part of what Stephen was suggesting is that the webmaster for jquery.com symlink (or rewrite or whatever) Plugins to plugins/ so that the URL inside the printed book will work for its readers. Pyro On Sep 11, 8:34 pm, Karl Swedberg [EMAIL PROTECTED] wrote: Thanks a lot,

[jQuery] Re: Using wrap() and then removing the wrapped element without removing the children

2007-09-12 Thread Pyrolupus
/11/07, Pyrolupus [EMAIL PROTECTED] wrote: On Sep 11, 3:03 pm, Brook Davies [EMAIL PROTECTED] wrote: Easy Question I think. If I use (from Jquery 1.2): $(#myElem).wrapAll(div id='myDiv'/div); To wrap the div 'myDiv' around 'myElem', how can I later remove that div without removing

[jQuery] Re: jQuery 1.2 - Serialize a form as JSON

2007-09-12 Thread Pyrolupus
In testing Chistoph's code, I encountered a separate but possibly related issue: serialize() and serializeArray() are returning things I did not expect for multiple selects. For the following form: form id=mydForm select id=myd name=myd multiple option

[jQuery] Re: NEWS: jQuery 1.2 Released

2007-09-11 Thread Pyrolupus
On Sep 11, 12:06 am, John Resig [EMAIL PROTECTED] wrote: jQuery 1.2 has been released! Full release notes and download information:http://docs.jquery.com/Release:jQuery_1.2 $([EMAIL PROTECTED]) XPath Attribute Selector Note: While this selector is being deprecated in this release, it

[jQuery] Re: NEWS: jQuery 1.2 Released

2007-09-11 Thread Pyrolupus
One questions about new functionality, specifically .val(): http://docs.jquery.com/Release:jQuery_1.2/Attributes When accessing a checkbox or radio button with a value attribute, does val() return its checked state, its value attribute, both its value and its checked state, or its value

[jQuery] Re: Visual jQuery

2007-09-11 Thread Pyrolupus
Is there an update for Visual jQuery (http://visualjquery.com/ 1.1.2.html), or is it always up to date with the latest version of jQuery? Or has it merely been left to die? :-( From http://docs.jquery.com/Release:jQuery_1.2/Internals All documentation has now been moved out of the jQuery

[jQuery] Re: IE 7(mostly likey all 6 too) issue with added content with javascript dynamically

2007-09-11 Thread Pyrolupus
Since I don't see anything actually creating the tabset elements, I am working on the assumption that TabSet.makeTabs() is utilizing document.write() to do its work (like Thawte's script in my example). --- div id=tabset/div script

[jQuery] Re: Using wrap() and then removing the wrapped element without removing the children

2007-09-11 Thread Pyrolupus
On Sep 11, 3:03 pm, Brook Davies [EMAIL PROTECTED] wrote: Easy Question I think. If I use (from Jquery 1.2): $(#myElem).wrapAll(div id='myDiv'/div); To wrap the div 'myDiv' around 'myElem', how can I later remove that div without removing the pre-existing myElem and any other contents of

[jQuery] Re: IE 7(mostly likey all 6 too) issue with added content with javascript dynamically

2007-09-10 Thread Pyrolupus
Can you give a code example or a more precise description of your issue? I had to overcome a remote script's use of document.write(), but it works properly in all the browsers I test (FF 2, Saf 3, Op 9, IE 6/7): http://pyrolupus.com/demo/thawte.html In it, a remote script changes the contents

[jQuery] [RESOLVED] Adding a Remote Script that Adds an Image (Thawte)

2007-09-03 Thread Pyrolupus
I have a site that uses aThawtecertification image, but the image shows up slowly at times thatThawte'sserver is feeling under the weather. Since I have no control over their script or their server-- and since the image's current position is mid-page--I'd like to be able to just

[jQuery] Re: Some jQuery Questions

2007-09-01 Thread Pyrolupus
On Aug 31, 5:26 pm, Michael Geary [EMAIL PROTECTED] wrote: Mark Gibson wrote a lightweight jQuery plugin with $.toJSON() and $.parseJSON(): http://jollytoad.googlepages.com/json.js Actually, Douglas JSON Crockford wrote the original code, so it's been well tested and proven:

[jQuery] Re: Some jQuery Questions

2007-08-31 Thread Pyrolupus
2) Best way to create a toJSON() string or object. I didn't see a direct way to do this, if not, is this best way: // Create JSON from form input id=wc* fields $jj = $('[EMAIL PROTECTED]').get(); json = {}; try { for (var j=0; j $jj.length; j++) {

[jQuery] Re: Form Input Lookup

2007-08-30 Thread Pyrolupus
1: Grab the value of a form input 2: Grab results of a .php page via AJAX ( $.get()?? ) 3: Check through the AJAX results ( should i return the data as JSON? or just | it? ) 4: If there is a match / likeness for what is in the form input addClass('error') IF NOT addClass('accept') ...

[jQuery] Re: Cookie Plugin - Trying to get the values of elements in the array of cookies.

2007-08-30 Thread Pyrolupus
I'm using the cookie plugin. And, I have created 4 cookies with it and they are named [Expanded[]]. I also keep a count of the number of cookies that have been created and the name of this cookie is [onExpandCount]. How do I loop through these cookies? function expandMenuUsingCookie() {

[jQuery] Adding a Remote Script that Adds an Image (Thawte)

2007-08-27 Thread Pyrolupus
I'm a complete newbie to jQuery. I've been looking at and toying with it for a few weeks, but this is my first real world attempt to implement it. I have a site that uses a Thawte certification image, but the image shows up slowly at times that Thawte's server is feeling under the weather.

[jQuery] Re: Adding a Remote Script that Adds an Image (Thawte)

2007-08-27 Thread Pyrolupus
. The three calls in a row for IE would be a little trickier - you could save the text for each call as you receive it, and then when you get the ending document.write(/div); slap them together and do an append() or whatever. -Mike From: Pyrolupus I have a site that uses a Thawte certification

[jQuery] Re: jQuery 1.1.4: Faster, More Tests, Ready for 1.2

2007-08-26 Thread Pyrolupus
I ran the test suite at http://jquery.com/test/ on my five browsers (Firefox 2.0.0.6, MSIE 6, MSIE 7, Opera 9.23, and Safari (Windows) 3.0.3), and in four of them, 0 tests of 816 failed. In Safari, however, 0 tests of 745 failed. What happened to the other 71 tests? I'm new to jQuery, so

[jQuery] Re: LavaLamp for jQuery lovers released!

2007-08-24 Thread Pyrolupus
On Aug 23, 10:16 pm, Ganeshji Marwaha [EMAIL PROTECTED] wrote: Yes Pops u r right... i wasn't able to test in IE 6 coz, i don't have one... I had to borrow my friends laptop to find out the problem after u pointed it out... I guess, i will try to fix it sometime tonight. If you (or anyone)