[jQuery] Re: general unique id for new append element

2007-12-30 Thread gregc
modify from this js uniquePrefix = _ + (new Date() - 0) // ms string for i = 1 to whatever On Dec 26, 6:21 pm, McLars [EMAIL PROTECTED] wrote: I believe that is what $.data(element) does, it returns a unique id. However, it only returns an integer number. I would prefer to combine it with a

[jQuery] Re: fade out gallery onload

2007-12-30 Thread tetrix
so no one knows how to do this simple thing? On Dec 30, 12:16 am, tetrix [EMAIL PROTECTED] wrote: On Dec 29, 1:57 pm, Jeroen [EMAIL PROTECTED] wrote: On Dec 29, 2007 12:47 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: hi, i would like to achieve the following effect: when the page

[jQuery] Events/error example does not work

2007-12-30 Thread Luke Brookhart
The following example that's given in the Event/error page at (http:// docs.jquery.com/Events/error) does not work. Based on my understand of the example, this is supposed to bind the function to the browsers onerror function and pass the msg, url, and line. Instead of doing this, it just passes

[jQuery] Re: general unique id for new append element

2007-12-30 Thread gregc
for i = 1 to ... uniqueId = uniquePrefix + i; On Dec 26, 6:21 pm, McLars [EMAIL PROTECTED] wrote: I believe that is what $.data(element) does, it returns a unique id. However, it only returns an integer number. I would prefer to combine it with a few characters as well, but I suppose that

[jQuery] Re: jqModal Overlay issue

2007-12-30 Thread ggoh
Just add this !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd; before your html tag. It works for me.

[jQuery] Re: Chaining Effects

2007-12-30 Thread besh
I think that what you need is a callback function. Something like this: $('#old_stuff').fadeOut('slow', function() { $('#new_stuff').fadeIn('slow'); }); Now #new_stuff appears only after #old_stuff faded out. I hope it's clear enough. -- Bohdan Ganicky On Dec 30, 4:38 am, [EMAIL PROTECTED]

[jQuery] Re: Looking for jquery dev for job?

2007-12-30 Thread yabado
Anyone? On Dec 20, 8:41 pm, yabado [EMAIL PROTECTED] wrote: I am looking for an experienced jquery developer to work with me on a project? Any recommendations are welcome. :-) Please contact me at mike -at- yadab -dot- com

[jQuery] Submit form to a js created iframe target?

2007-12-30 Thread yabado
Hello, I am trying to submit a form to a an iframe target. I have the correct target name specified in the form, but a new page loads (top) instead of in the desired iframe. The iframe is created dynamically like so... jQuery(body).append(iframe id=\myiframe\ .../iframe); and the form looks

[jQuery] Re: Submit form to a js created iframe target?

2007-12-30 Thread Mike Alsup
It could be that you're getting a JavaScript error which is causing the redirect. Do you have code attached to the submit event? Also, are you setting src attribute of the iframe? On Dec 30, 2007 8:28 AM, yabado [EMAIL PROTECTED] wrote: Hello, I am trying to submit a form to a an iframe

[jQuery] Re: Jquery Lightbox or Thickbox and Flickr?

2007-12-30 Thread bdee1
ok i think i woudl like to do that - have him append a number to the beginnign of each file. but i am not sure i follow your code on line 223. what are o and r in your function? and what is goign on in this function? bmsterling wrote: Well, like I said, as of right now, can do sets, but

[jQuery] ajax callback issue

2007-12-30 Thread Eridius
I have this code: self.element.children('.cr_tab_content').load(id.substring(5), {}, self.options.after_load()); however the after_load function is being called before the ajax request, not after this(I tested in firebug and request is not sent until I close that alert generated by that

[jQuery] Re: Problems with clueTip

2007-12-30 Thread Karl Swedberg
Okay, it looks like it's working fine in Firefox, but not at all in IE6. The problem is that you have a trailing comma in your object literal, an incorrect syntax that Firefox overlooks. $('a.help').cluetip({ cluetipClass: 'jtip', arrows: true,

[jQuery] Re: Jquery Lightbox or Thickbox and Flickr?

2007-12-30 Thread Benjamin Sterling
o is the Object/Array r is for random If the randomized option is set to true, line 224 will shuffle the Object/Array. On 12/30/07, bdee1 [EMAIL PROTECTED] wrote: ok i think i woudl like to do that - have him append a number to the beginnign of each file. but i am not sure i follow your

[jQuery] Coda-slider ... with a twist!

2007-12-30 Thread Asif R Naqvi
Hi Guys, Hope one of you can put me out of this misery! I’m trying to modify the coda-slider which is done by Niall Doherty http://www.ndoherty.com/blog/2007/09/15/introducing-coda-slider to function like the one here http://asifrnaqvi.com/stuff/coda-slider.1.1.1/index.html ...

[jQuery] Re: fade out gallery onload

2007-12-30 Thread Jeroen
On Dec 30, 2007 12:16 PM, tetrix [EMAIL PROTECTED] wrote: so no one knows how to do this simple thing? If you want to perform the same function on more then one element, just assign a common class and use the appropriate jQuery selector. img class=fade src=x.jpg img class=fade src=y.jpg img

[jQuery] Re: Submit form to a js created iframe target?

2007-12-30 Thread yabado
On Dec 30, 9:49 am, Mike Alsup [EMAIL PROTECTED] wrote: It could be that you're getting a JavaScript error which is causing the redirect.  Do you have code attached to the submit event? Actually no, maybe that is the problem?  Also, are you setting src attribute of the iframe? I have

[jQuery] Using 'this' inside a function inside an object property for a plugin

2007-12-30 Thread ajma
The plugin authoring wiki page says that if I need multiple public static methods, I should add them to an object. jQuery.logError = function() { ... }; jQuery.logWarning = function() { ... }; jQuery.logDebug = function() { ... }; jQuery.log = { error : function() { ... }, warning :

[jQuery] Determining if a jQuery object is attached to an existing DOM

2007-12-30 Thread Eric Martin
I want to be able to determine wheter a jQuery object was created from an existing DOM element, or if it is new/created on-the-fly. Given the following examples: Example 1: HTML: html body div id='title'h1Title/h1/div /body /html JavaScript: var elem = $('#title'); Example

[jQuery] Re: Question about the mailinglist

2007-12-30 Thread KnoxBaby
Sorry for bumping ... but I think there's somebody who knows it?? Thanks a lot! On 23 Dez., 00:44, KnoxBaby [EMAIL PROTECTED] wrote: I mean, I don't want to get only one mail a day or always, when somebody writes something but always, when somebody writes an answer to one of my topics :) On

[jQuery] How to insert google adsense with after()

2007-12-30 Thread Jirka
I try to add google adsense after first paragraph of an article. Here is my code: $('.article p:eq(0)').after('script type=text/javascript ...GOGLE ADSENSE CODE... /script'); But it looks that tag script shouldnt be add into the DOM like this. Can anybody show me the right way?

[jQuery] Re: Question about the mailinglist

2007-12-30 Thread Rey Bango
Unfortunately no. The mailing list replies go to everyone. Rey KnoxBaby wrote: Sorry for bumping ... but I think there's somebody who knows it?? Thanks a lot! On 23 Dez., 00:44, KnoxBaby [EMAIL PROTECTED] wrote: I mean, I don't want to get only one mail a day or always, when somebody writes

[jQuery] Re: First release of jQuery.Accessible

2007-12-30 Thread Jörn Zaefferer
Hi Ariel, some things I noticed after a quick glance: You should make the link to the demo more prominent, eg. put it on the jquery.com plugin page. I didn't quite get what your plugin actually does until I took a look at the demo. About the title-fix: Whats the point of putting a links

[jQuery] $.ajax

2007-12-30 Thread Eridius
var response = new $.ajax( { 'type': 'post', 'url': this_class.options.url, 'data': { 'total_items': this_class.options.total_items, 'items_per_page': this_class.options.items_per_page, 'current_page':

[jQuery] Re: $.ajax

2007-12-30 Thread Rey Bango
That's because your Ajax call is running asynchronously and finishes after your alert. Try this: var response = new $.ajax( { 'type': 'post', 'url': this_class.options.url, 'data': { 'total_items': this_class.options.total_items,

[jQuery] Collecting id attributes for checked input?

2007-12-30 Thread Mike Schinkel
Hi all: Is there a one-liner to collect id attributes for checked input fields? This only gives me the first one: $('input:checked').id() I can't see to figure this out. Best I can do is write 6 or 7 lines of hackish code to get them and it feels like there should be a better

[jQuery] Re: Question about the mailinglist

2007-12-30 Thread Jeroen
On Dec 30, 2007 4:33 PM, KnoxBaby [EMAIL PROTECTED] wrote: Hello, is it possible to receive only responds to questions that I asked in the mailinglist directly? thanks :) That's not possible AFAIK. Either you subscribe, or you don't. -- Jeroen

[jQuery] Re: $.ajax

2007-12-30 Thread Eridius
Thanks, that did the trick. Rey Bango-2 wrote: That's because your Ajax call is running asynchronously and finishes after your alert. Try this: var response = new $.ajax( { 'type': 'post', 'url': this_class.options.url, 'data': {

[jQuery] Re: ajax callback issue

2007-12-30 Thread Eridius
I am all set, using $.ajax instead. Eridius wrote: I have this code: self.element.children('.cr_tab_content').load(id.substring(5), {}, self.options.after_load()); however the after_load function is being called before the ajax request, not after this(I tested in firebug and request

[jQuery] Re: AJAX Request

2007-12-30 Thread [EMAIL PROTECTED]
Is there anyone who can help with this please? On Dec 29, 3:11 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi. I have just setup a basic site where you click the link and jQuery retrieves the link via ajax. Code as follows: script type=text/javascript function fetchURL(obj){     var

[jQuery] autosave textarea to cookie

2007-12-30 Thread Fayland Lam
is there any plugin for that? does anyone use one? Thanks.

[jQuery] Re: Question about the mailinglist

2007-12-30 Thread Jeferson Koslowski
The mailing list itself does not provide this feature, but I think u can acquire this creating a filter in ur mail client. On Dec 22, 2007 2:48 PM, psy* [EMAIL PROTECTED] wrote: Hello, is it possible to receive only responds to questions that I asked in the mailinglist directly? thanks :)

[jQuery] Re: AJAX Request

2007-12-30 Thread Rey Bango
Alex, What are you returning? Do you have a link that I can look at? Rey [EMAIL PROTECTED] wrote: Is there anyone who can help with this please? On Dec 29, 3:11 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi. I have just setup a basic site where you click the link and jQuery retrieves

[jQuery] Re: fade out gallery onload

2007-12-30 Thread Karl Swedberg
On Dec 30, 2007, at 10:31 AM, Jeroen wrote: On Dec 30, 2007 12:16 PM, tetrix [EMAIL PROTECTED] wrote: so no one knows how to do this simple thing? If you want to perform the same function on more then one element, just assign a common class and use the appropriate jQuery selector. img

[jQuery] Re: Collecting id attributes for checked input?

2007-12-30 Thread Jörn Zaefferer
Mike Schinkel schrieb: Hi all: Is there a one-liner to collect id attributes for checked input fields? This only gives me the first one: $('input:checked').id() I can't see to figure this out. Best I can do is write 6 or 7 lines of hackish code to get them and it feels like there

[jQuery] Re: autosave textarea to cookie

2007-12-30 Thread Jörn Zaefferer
Fayland Lam schrieb: is there any plugin for that? does anyone use one? There is a cookie plugin: http://www.stilbuero.de/2006/09/17/cookie-plugin-for-jquery/

[jQuery] Re: autosave textarea to cookie

2007-12-30 Thread Fayland Lam
hmm, main idea here is autosave textarea. thanks any way. I already got one. :) On Dec 31, 10:17 am, Jörn Zaefferer [EMAIL PROTECTED] wrote: Fayland Lam schrieb: is there any plugin for that? does anyone use one? There is a cookie

[jQuery] Regarding jQuery form plugin

2007-12-30 Thread [EMAIL PROTECTED]
Hi .. I built a multiple form uploader that uploads multiple files. I have it working exceptionally except that when i changed the url of the POST to or Action field to provide access to the cookies that come with the form post - it will no longer display the response. For example .. Posting

[jQuery] Fixed Table Headers Plugin - Need some help

2007-12-30 Thread Shawn
I'm working on a plugin for fixed table headers - both column and row headers. I've had *some* success, but still have some odd gotchas. I'm hoping that someone might take a look and help me work out the quirks. http://grover.open2space.com/files/dev/fixedheader/plugin2.htm This is a raw

[jQuery] Re: AJAX Request

2007-12-30 Thread Shawn
YOu have Firefox. But are you using Firebug? If not, then may I suggest you do? The reason being that with Firebug you can see exactly what is sent to the server, and what response is received. Perhaps there's something odd going on with the response? Are you getting an error code back?

[jQuery] Determining if a jQuery object is attached to an existing DOM

2007-12-30 Thread Eric Martin
I'm confused...how does a topic that I started get changed to something completely different? Is it just the way that Google displays the messages? Hmm... On Dec 30, 6:16 pm, Jörn Zaefferer [EMAIL PROTECTED] wrote: Mike Schinkel schrieb: Hi all: Is there a one-liner to collect id attributes

[jQuery] Re: Applying nextUntil only to h4 containing a link

2007-12-30 Thread jerpod
Thank you! I'm not able try this yet, but I assume it will work as expected. Jquery really makes a lot of complex things very simplewell, I guess, simple if you know what you're doing. I need to figure this out! Thanks again. jp On Dec 29, 8:56 pm, Dave Methvin [EMAIL PROTECTED] wrote: