[jQuery] onload after page is loaded via ajax created elements - is there a better way ?

2007-06-23 Thread [EMAIL PROTECTED]
Having issues running scripts via the elements created from an ajax call with Internet Explorer, and found one way around it, by firing off a little function on the call back. as below: loadMe() In this way the second function can be used with no issue in IE and Opera, FF never had a problem in

[jQuery] Possible validate plugin bugs.

2007-06-23 Thread Ronald
Hello Jörn and others, I may have found 2 bugs in the form validation plugin. But this could also be due to IE6 and IE7, I am not sure. The first bug shows up when you add a field (hidden field in my case) with a name=id. I understand that IE doesnt like that a lot since IE treats names and ids

[jQuery] Re: Simple plugin to rollove an image

2007-06-23 Thread howa
not really... being vision impaired is not a fault viewing your site on mobile device which don't understand css or js is not a fault you are just loosing your potential visitors, anyway, its up to you anyway... what i concern is we are doing web development, not game developement, don't use

[jQuery] Digg Moves to jQuery's JavaScript Library

2007-06-23 Thread joomlafreak
Saw it on Ajax Magazine Posted by Hatem on June 23, 2007 9:04 AM One more addition to big sites switching to my love jQuery. Congratulations jQuery community and to the dev team especially. We all owe you a lot for your hard work.

[jQuery] Is it possible to attach codes to body.onload via document.ready?

2007-06-23 Thread howa
Hello, is it possible to attach some codes to the body.onload via document.ready, or other methods to attach body.onload? thanks.

[jQuery] Re: Is it possible to attach codes to body.onload via document.ready?

2007-06-23 Thread Erik Beeson
the window.onload event fires when all external dependencies (such as images) have loaded. You can bind events to it with: $(window).load(function() { alert('Everything is loaded!'); }); Is that what you're looking for? --Erik On 6/23/07, howa [EMAIL PROTECTED] wrote: Hello, is it

[jQuery] Re: Is it possible to attach codes to body.onload via document.ready?

2007-06-23 Thread Gilles (Webunity)
As i see your question, i think you mean this: jQuery(document).ready(function() { // Assign event to window.onload jQuery('body').load(function() { alert('Everything is loaded!'); }); }); On 23 jun, 12:52, howa [EMAIL PROTECTED] wrote: Hello, is it possible to attach

[jQuery] Re: Easebox

2007-06-23 Thread Jörn Zaefferer
Glen Lipka wrote: I had a little bit of free time, so I started an easeBox. Like thickbox, but with easing transitions. http://www.commadot.com/jquery/easebox/# Cool. I like it already. I made a list of things I want to do to it on it. Any suggestions to add to the list? Any suggestions of

[jQuery] Re: Possible validate plugin bugs.

2007-06-23 Thread Jörn Zaefferer
Ronald wrote: Hello Jörn and others, I may have found 2 bugs in the form validation plugin. But this could also be due to IE6 and IE7, I am not sure. The first bug shows up when you add a field (hidden field in my case) with a name=id. I understand that IE doesnt like that a lot since IE

[jQuery] Re: Is it possible to attach codes to body.onload via document.ready?

2007-06-23 Thread howa
Hello Gilles Erik, the codes below never work with IE7 FF2.0 html head script src=jquery.js/script script jQuery(document).ready(function() { alert('ready'); // Assign event to window.onload jQuery('window').load(function() { alert('Everything is loaded!'); });

[jQuery] Ajax validation preview

2007-06-23 Thread Jörn Zaefferer
Hi folks, for anyone using the validation plugin or interested to use it once ajax validation is available I'd like to present a preview of the next validation feature upcoming in 1.2: http://jquery.bassistance.de/ajax-validation/demo-test/milk/ To try it out: Enter something as a username.

[jQuery] Re: Is it possible to attach codes to body.onload via document.ready?

2007-06-23 Thread Karl Swedberg
Hi Howa, Try jQuery(window) without the quotes around window. That should do it! :) --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Jun 23, 2007, at 9:20 AM, howa wrote: Hello Gilles Erik, the codes below never work with IE7 FF2.0 html head

[jQuery] Re: ANNOUCE: slideView plugin released

2007-06-23 Thread GianCarlo Mingati
Hi, http://www.gcmingati.net/wordpress/wp-content/lab/jquery/imagestrip/imageslide-plugin.html the plugin it's ready with some new pictures and a bt of 'documentation' I suggest to use it with small galleris in a post until i've fixed the 'preload' with iE7. GC On Jun 21, 5:42 pm, Rey Bango

[jQuery] Re: Is it possible to attach codes to body.onload via document.ready?

2007-06-23 Thread howa
Thanks...but how to handle this? html head script src=jquery.js/script script jQuery(document).ready(function() { // Assign event to window.onload jQuery(window).load(function() { alert('Everything is loaded!'); }); }); function test() { alert('test'); } /script

[jQuery] Re: .get, callback function and scope. Is this possible?

2007-06-23 Thread Rey Bango
No offense taken Mike. Andy and I were pounding our heads trying to figure out why the value wasn't appearing so by using the synchronous call, I was able to figure out that the variable outside of the $.get() callback was indeed being filled. You're right, though, that a synchronous call

[jQuery] jQuery for GreaseMonkey

2007-06-23 Thread Michael Heilemann
So I've got these nice script I've written, that I really want to turn into GreaseMonkey scripts. The problem is, I want to embed the jQuery code _in_ my GM script, so that they're easy to distribute, but I can't get it to work. I've tried Sean Catchpole's GM script, and maybe I'm missing

[jQuery] jqUploader

2007-06-23 Thread [EMAIL PROTECTED]
Does anyone use jqUploader? I use server side script for uploading in Python.It works well but I would like to add a progress bar during uploading. Is jqUploader the right choice? Or is there an easier way how to add progress during uploading? Thank you L

[jQuery] Re: Thickbox, JQuery and editInPlace

2007-06-23 Thread [EMAIL PROTECTED]
I am having the same problem. I use $.(#div).load(something.php) which then has references to thickbox for modal dialogs or image galleries. Everything works perfect in FF Safari, but doesn't work just right in IE. If I access the included files directly (e.g. www.blah.com/something.php),

[jQuery] Uploaded file progress status

2007-06-23 Thread Johny
Can anyone suggest a solution how to use jQuery for a script that will show ,during uploading file, information how many bytes have already been uploaded? I know about uploading progress bar scripts but such programs are rather difficult to be understood properly for me. All that I need is

[jQuery] Re: What's your setup?

2007-06-23 Thread Shelane
What OS? OS X 10.4.10 (Windows XP for testing only - no dev) What IDE or editor? Dreamweaver CS3, BBEdit What backend language, if any (php, asp, cf, ruby, java, etc)? Lasso What framework, if any (cake, symfony, rails, struts, etc)? None Any other significant components (persistence

[jQuery] jqUploader

2007-06-23 Thread Johny
Does anyone use jqUploader? I use server side script for uploading in Python.It works well but I would like to add a progress bar during uploading. Is jqUploader the right choice? Or is there an easier way how to add progress during uploading? Thank you L

[jQuery] Re: ANNOUCE: slideView plugin released

2007-06-23 Thread Rey Bango
Great work GianCarlo! Another cool feature would be to distinguish the number that a person clicked on. It could be as easy as changing the color. That way, when I click on #6, it displays the #6 box uniquely. Rey GianCarlo Mingati wrote: Hi,

[jQuery] Re: jQuery for GreaseMonkey

2007-06-23 Thread Sean Catchpole
Hey Michael, If you code is inside of the usual $(function(){...}) then it will not exectute. I have not changed over v1.1.2 to Greasemonkey, but if I get time today I will do so. ~Sean

[jQuery] displaying an offscreen row

2007-06-23 Thread Phil Glatz
I have a table inside a div; the div has a fixed height and overflow set to scroll. When the page is opened, the row containing the last selected data is highlighted, via jquery/DOM. the problem I have is that if the list (number of rows in the table) is bigger than can fit in the div, and the

[jQuery] Re: Is it possible to attach codes to body.onload via document.ready?

2007-06-23 Thread Ⓙⓐⓚⓔ
I take it all back! script type=text/javascript $(function(){ eval($('body').attr('onload')); }); /script /head body onload='alert(hi)' ok /body alerted 2 times!! On 6/23/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: yes... it overrides

[jQuery] Re: Is it possible to attach codes to body.onload via document.ready?

2007-06-23 Thread Ⓙⓐⓚⓔ
yes... it overrides onload=test() ... but it should still be in the dom, so you can still get at it! // untested jQuery(document).ready(function() { eval($('body').attr('onload')); }) On 6/23/07, howa [EMAIL PROTECTED] wrote: Thanks...but how to handle this? html head script

[jQuery] Re: Is it possible to attach codes to body.onload via document.ready?

2007-06-23 Thread Erik Beeson
Try this: html head script src=jquery.js/script script function test() { alert('test'); } $(document).ready(function() { }); // Assign event to window.onload $(window).load(test); /script /head body TEST123 /body /html --Erik On 6/23/07, howa [EMAIL PROTECTED] wrote: Thanks...but

[jQuery] Re: displaying an offscreen row

2007-06-23 Thread Klaus Hartl
Phil Glatz wrote: I have a table inside a div; the div has a fixed height and overflow set to scroll. When the page is opened, the row containing the last selected data is highlighted, via jquery/DOM. the problem I have is that if the list (number of rows in the table) is bigger than can

[jQuery] Re: displaying an offscreen row

2007-06-23 Thread Ⓙⓐⓚⓔ
Klaus, do you know which browsers scrollIntoView works with? On 6/23/07, Klaus Hartl [EMAIL PROTECTED] wrote: Phil Glatz wrote: I have a table inside a div; the div has a fixed height and overflow set to scroll. When the page is opened, the row containing the last selected data is

[jQuery] ANNOUNCE: zoomi plugin!

2007-06-23 Thread Sean Catchpole
Another weekend, another plugin =P zoomi: http://www.sunsean.com/zoomi/ So here's the scoop. It's almost ready, beta as some people call it. I'm releasing as beta because I want your input on a feature... and there is still one more bug. The feature I'm wondering about, is if the zoom2 image

[jQuery] Re: jQuery for GreaseMonkey

2007-06-23 Thread Sean Catchpole
Ahoy, Seems like a had a little time, so here's the script: http://userscripts.org/scripts/show/10141 Cheers ~Sean

[jQuery] Moving Images as objects

2007-06-23 Thread Paolo
Hello, I have 2 images and 1 button. When I click on the button, I'd like to move image 2 on top of image 2. I know there are some ways of doing this, but they all require the image coordinates. Is there a way to do this at the object level as i don't have coordinates? thanks, Paolo

[jQuery] Re: Moving Images as objects

2007-06-23 Thread Nate Cavanaugh
Hi Paulo, What you're trying to do is more than likely not possible, unless I am misunderstanding. Are you trying to stack the images? If so, you could do this by setting the object's z-index to a value higher than the other. If you're trying to move image 1 to the top location (such as the

[jQuery] Moving Images as objects

2007-06-23 Thread Paolo
Hello, I have 2 images and 1 button. When I click on the button, I'd like to move image 2 on top of image 2. I know there are some ways of doing this, but they all require the image coordinates. Is there a way to do this at the object level as i don't have coordinates? thanks, Paolo

[jQuery] Re: Loosing access to 'this' objects in callback method!

2007-06-23 Thread Nate Cavanaugh
Hi Glenn, Keeping scope is definitely one of the more frustrating aspects of Javascript sometimes. What's happening is that you're running the ajax call, and the complete method is a method of the object that you're passing into the ajax handler. So this now points to the object containing the

[jQuery] Re: .get, callback function and scope. Is this possible?

2007-06-23 Thread Andy Matthews
Mike... The reason I was moving in that direction was that I needed the results of the $,get call immediately after it ran. I was using in conjunction with jEditable as a function call and I had to return the string that $.get got back from the server to jEditable. Sadly, I'm going to have to

[jQuery] Triggering thickbox from a select dropdown

2007-06-23 Thread Andy Matthews
I'd like to trigger thickbox from a select box. I've got a list of images that a user can select from. When they choose one from the list, I'd like that image to show using the thicbox method. I can write the rest of the I'm sure but I don't even know: a) If it's possible b) what the syntax for

[jQuery] Re: ANNOUNCE: zoomi plugin!

2007-06-23 Thread Daemach
Very nice work Sean - that is going to be really useful. I haven't looked into the border issue you mentioned, but this.width or this.style.width hold the value of the style= attribute of the element. When your node's styles are inherited via a css rule you need to look for the computed style.

[jQuery] Re: ANNOUNCE: zoomi plugin!

2007-06-23 Thread Daemach
Erg - I hit send too soon... If you look at document.styleSheets[0].cssRule[4].style.borderTop in the Firebug DOM tab, it looks like it should be returning a value for that attribute. I can't tell you why it doesn't at the moment, but if you query borderTopWidth, borderTopColor, or

[jQuery] Re: ANNOUNCE: zoomi plugin!

2007-06-23 Thread Daemach
Here's an even better way :) str+=border-top-style: + $(this).css(borderTopStyle) + br/; On Jun 23, 2:33 pm, Sean Catchpole [EMAIL PROTECTED] wrote: Another weekend, another plugin =P zoomi:http://www.sunsean.com/zoomi/ So here's the scoop. It's almost ready, beta as some people call it.

[jQuery] Re: ANNOUNCE: zoomi plugin!

2007-06-23 Thread Su
This is neat. On 6/23/07, Sean Catchpole [EMAIL PROTECTED] wrote: The feature I'm wondering about, is if the zoom2 image should inherit the classes of the original image. (If what I'm saying makes no sense, go view the source code of the zoomi page above) Would it be a pain to make it

[jQuery] Re: Triggering thickbox from a select dropdown

2007-06-23 Thread Su
I think all you'd need to do is launch tb_show and pass it the appropriate parameters(just view the TB source for this). I'm just not sure what event you would use on the dropdown. onchange, maybe? On 6/23/07, Andy Matthews [EMAIL PROTECTED] wrote: I'd like to trigger thickbox from a select

[jQuery] Re: Triggering thickbox from a select dropdown

2007-06-23 Thread Andy Matthews
Su, that worked perfectly! Thank you, I KNEW it had to be possible. On Jun 23, 9:57 pm, Andy Matthews [EMAIL PROTECTED] wrote: tb_show? I'll give that a shot Su. Thank you for the suggestion. On Jun 23, 9:52 pm, Su [EMAIL PROTECTED] wrote: I think all you'd need to do is launch tb_show

[jQuery] Re: ANNOUNCE: zoomi plugin!

2007-06-23 Thread Benjamin Sterling
I agree with Su, you may be able to get away with using src and lowsrc, but I am not totally sure what browsers are fully supporting lowsrc. On 6/23/07, Su [EMAIL PROTECTED] wrote: This is neat. On 6/23/07, Sean Catchpole [EMAIL PROTECTED] wrote: The feature I'm wondering about, is if the

[jQuery] Overlay plugin?

2007-06-23 Thread Glen Lipka
I can't find it, but I vaguely remember someone had a plugin that just puts a 50% opacity overlay over the page. Sort of like a thickbox thing, but without all the other stuff. Does anyone know where it is? Glen

[jQuery] Re: Overlay plugin?

2007-06-23 Thread rolfsf
blockUI perhaps? http://malsup.com/jquery/block/ Glen Lipka wrote: I can't find it, but I vaguely remember someone had a plugin that just puts a 50% opacity overlay over the page. Sort of like a thickbox thing, but without all the other stuff. Does anyone know where it is? Glen

[jQuery] Re: Overlay plugin?

2007-06-23 Thread Glen Lipka
This one is possibly more than I bargained for. It's really cool though. I'll try and use it. I think I was thinking of one that was smaller and didn't do quite as much. Thanks for the tip though, I appreciate it. Glen On 6/23/07, rolfsf [EMAIL PROTECTED] wrote: blockUI perhaps?

[jQuery] Re: Overlay plugin?

2007-06-23 Thread Rey Bango
dimScreen: http://docs.jquery.com/Plugins/dimScreen Glen Lipka wrote: I can't find it, but I vaguely remember someone had a plugin that just puts a 50% opacity overlay over the page. Sort of like a thickbox thing, but without all the other stuff. Does anyone know where it is? Glen --

[jQuery] OT: Excellent Resource for Web Developers

2007-06-23 Thread Rey Bango
I generally try to avoid these types of post but I discovered a site called WebAppers which is really awesome. Its chock full of RIA, Ajax, JS and development posts which I'm finding very cool. http://www.webappers.com/ Rey...

[jQuery] Re: Overlay plugin?

2007-06-23 Thread Glen Lipka
dimScreen is great. Check it out: http://www.commadot.com/jquery/easebox/ Although, I changed it slighly to use $(window).width() instead of $(document).width() This might only work with the dimensiosn plugin included. Glen On 6/23/07, Glen Lipka [EMAIL PROTECTED] wrote: It should be Rey