Re: [jQuery] Thickbox: Smoooooth scrolling with fixed positioning

2006-09-19 Thread Klaus Hartl
Michal Tatarynowicz schrieb: On 9/15/06, *Klaus Hartl* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: you can see it in action (and the difference) here now, just click on a thumbnail in the pictures section or in photos nearby and scroll the page... I don't think

Re: [jQuery] Packing jquery code

2006-09-19 Thread Klaus Hartl
Meece, Clifford T schrieb: I have made some modifications to the jquery code and would like to pack it back down. What command is used to generate the official 'packed' version? Cliff, do you refer to the ant build file? You have to call the task pack to generate a packed file... --

Re: [jQuery] Request from a newbie

2006-09-19 Thread Klaus Hartl
Blair McKenzie schrieb: function refreshData() { $(#report).load(bentonite.cfm?dataType=html); // Loads the page via ajax and puts content into specified elements return false; }; $(function() { // $(fn) == $(document).ready(fn) refreshData(); setTimeout(refreshData(), 3000);

Re: [jQuery] Request from a newbie

2006-09-19 Thread Blair McKenzie
Better :)On 9/19/06, Klaus Hartl [EMAIL PROTECTED] wrote: Blair McKenzie schrieb: function refreshData() { $(#report).load(bentonite.cfm?dataType=html); // Loads the page via ajax and puts content into specified elements return false; }; $(function() { // $(fn) == $(document).ready(fn)

Re: [jQuery] interface-sotables question

2006-09-19 Thread Dan Atkinson
Your script won't work because it doesn't know what the var serial is. It's an undefined variable and therefore, it outputs exactly that. Nothing. Lets look at the source for the sortable demo... function serialize(s) { serial = $.SortSerialize(s); alert(serial.hash); } As you

Re: [jQuery] tweenbox - image gallery

2006-09-19 Thread Will Jessup
Dan, I'm not exactly sure how to do that ... it may be possible w/ some iframe trickery , but not sure. image.complete only returns true/false Will Ah right. Would a % counter be better, perhaps, or is that harder to do, since you have to check the loaded size on the currently loading

Re: [jQuery] Help Appending HTML

2006-09-19 Thread Mike Alsup
jQuery knows how to handle table/tbody issues. That maybe true. The tbody element is implicit, even if you don't have it in the html source, it is part of the DOM tree. In IE you must use the tbody element to append rows to... ___ jQuery mailing

[jQuery] Determine which button was just clicked

2006-09-19 Thread Dan Atkinson
Hey all! Ok, right to the point here! I have a page in ASP.NET which has two sets of username and password boxes and two sets of submit buttons. Because it is ASP.NET, there can only be one form in a page. The problem in a normal page is that, when the user presses enter on the keyboard, the

Re: [jQuery] Determine which button was just clicked

2006-09-19 Thread Christian Bach
Hi, let's say we have the following html i the page. form id=form1 input type=text name=username class=formItem/ /form form id=form2 input type=text name=username_again class=formItem/ /form script var currentForm = false; var triggerKeyCode = 13; $(document).ready(function() {

Re: [jQuery] Determine which button was just clicked

2006-09-19 Thread Dan Atkinson
Christian, Thanks for the reply but, as I mentioned there is only one form on the page, and two submit buttons inside it. Your code sample assumes that there is more than one form and wouldn't work on a single form. Christian Bach wrote: Hi, let's say we have the following html i the

[jQuery] $.ajax mistake

2006-09-19 Thread Roberto Ortelli
Hello, strange problem, jQuery can't extract the xml data after an ajax query... see below for the code: my XHTML file contains a simple form: form method=post name=cityForm id=cityForm input type=text name=city id=city size=40 / input type=submit value=Localité id=submit / img

Re: [jQuery] $.ajax mistake

2006-09-19 Thread Klaus Hartl
A quick and dirty workaround would be: success: function(xhr){ result = $(count, $.httpData(xhr, 'xml')).text(); $(#feedback).html(result = + result); } but I still recommend to use the latest jQuery version from svn. -- Klaus ___

Re: [jQuery] Determine which button was just clicked

2006-09-19 Thread Christian Bach
I see, i guess i have to pay more attention :) OK, how about this. var submitType = false; $(your single form id).submit(function() { if(submitType == type1) { // do something } else if(submitType == type2) { // do something } else {

Re: [jQuery] Determine which button was just clicked

2006-09-19 Thread Christian Bach
Append a hidden input element to the form. $(your single form id).append('input type=hidden name=myserversecret id=myserversecret/'); then append a different value depending on which textarea the user hit the enter button. $(#myserversecret).val(I hit enter in the second textearea); /c Dan

[jQuery] Possible to In/Decrease element with jQuery

2006-09-19 Thread Mark Harwood
Im currently working on a nice simple personal CMS, and jQuery is the basis of everything JS related. Im wanting to know how easy it would be to create a custom function that will allow a user to resize a textarea box verticaly so that they can view more of the text. Im sure it quite simple,

Re: [jQuery] Determine which button was just clicked

2006-09-19 Thread Dan Atkinson
Dynamically created controls are a pain in the arse to reference on postback in ASP.NET, so it's generally easier to just create one on the serverside, and then check it on postback. There are plenty of hacks, like duplicating the prefix on the ID and name of the control, which forces .NET to

Re: [jQuery] Wildcards

2006-09-19 Thread Fil
Some form of regex as part of the DOM find function in jQuery would be great though... When I started with jquery I advocated for this (powerful and easy to implement). I still think it's a good idea, but the answer at the time (last August, not so far back...) was that it could be plugged-in

Re: [jQuery] Request from a newbie

2006-09-19 Thread Paul
Blair, Klaus, thanks for the help. I was able to use your code with minor modifications. As a followup question, when I use the $(#report).load(bentonite.cfm?dataType=html) syntax, the report div is not expanding to fit the content of the data being returned; its always just 1 em tall.

Re: [jQuery] Possible to In/Decrease element with jQuery

2006-09-19 Thread Karl Swedberg
On Sep 19, 2006, at 8:39 AM, Mark Harwood wrote: Im wanting to know how easy it would be to create a custom function that will allow a user to resize a textarea box verticaly so that they can view more of the text. I know that Firefox has an extension for this, and Drupal has a built- in

[jQuery] datePicker is gone when 2nd time loading a form

2006-09-19 Thread Michael Grosser
and now for the solution :/$_SESSION['count'] ++;and every form input gets a raising id, so that its unique everytime - datepicker works : ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

[jQuery] % width / animation combo problem

2006-09-19 Thread David Olinsky
I've got a horizontal bar that represents a percentage of completion of a certain task. I can use jquery to set the width as follows: $('#bar').width(?=$progress_percent?%); (yes, that's php) I can also do the following: $('#bar').width('?=$progress_percent?%').show(); What I can't do is

[jQuery] New Plugin: AutoScroll

2006-09-19 Thread Jonathan Sharp
I developed a new plugin for large web pages that scroll. Hold down the control key and move your mouse to the edge to scroll the page. No fussing with scrollbars. View the demo. Feedback appreciated! http://jdsharp.us/code/AutoScroll/-js ___ jQuery

Re: [jQuery] New Plugin: AutoScroll

2006-09-19 Thread Jörn Zaefferer
Jonathan Sharp schrieb: I developed a new plugin for large web pages that scroll. Hold down the control key and move your mouse to the edge to scroll the page. No fussing with scrollbars. View the demo. Feedback appreciated! Nice! Doesn't do anything on FF1.5, but works on IE6 and Opera9 (all

Re: [jQuery] New Plugin: AutoScroll

2006-09-19 Thread Yehuda Katz
It's very cool, but I can't imagine a good use case. The fact that you need to hold down the control key makes it difficult to communicate with users how to use it. On the other hand, having it happen automatically wouldn't work in most cases either. -- YehudaOn 9/19/06, Jonathan Sharp [EMAIL

Re: [jQuery] Suckerfish conversion

2006-09-19 Thread abba bryant
Anyone have any ideas? This one is stumping me big time. A multilevel suckerfish plugin would be awesome. -- View this message in context: http://www.nabble.com/Suckerfish-conversion-tf2297242.html#a6394522 Sent from the JQuery mailing list archive at Nabble.com.

Re: [jQuery] Processing JSON with jquery

2006-09-19 Thread Sam Sherlock
no trouble, its all working fine now.Opera is also though its much slower.Web developing is like solving a rubics cube (without warm water and soap)plenty of perserverance and a little help from gurus on this list has enabled me to create a concept I devised a while back. I have made some

Re: [jQuery] Google map plugin idea

2006-09-19 Thread Blair McKenzie
I'd definitely be interested.BlairOn 9/20/06, Wil Stuckey [EMAIL PROTECTED] wrote: Yes. I have thought about making something similar. Although, I don't have much experience with the gMaps API. -WilOn 9/19/06, Yehuda Katz [EMAIL PROTECTED] wrote: Is there any interest in a Google Maps plugin,

Re: [jQuery] New Plugin: AutoScroll

2006-09-19 Thread Jörn Zaefferer
Jonathan Sharp schrieb: You're correct, but I've been developing against jQuery 0.x which doesn't have extend and for some reason the keydown/keyup events weren't firing... Ah, I see. When you update, you should give the latest revision a try. There were quite a lot of fixes since 1.0.1.

[jQuery] center function - is there a plugin I need?

2006-09-19 Thread Sam Sherlock
Theres no information about the center function on visual jquery.when I call the function I get the following error$(#imageContainer).center is not a functionDoes center() require a plugin?? thx - S ___ jQuery mailing list discuss@jquery.com

Re: [jQuery] center function - is there a plugin I need?

2006-09-19 Thread Matt Stith
Make sure your using the most recent version of jquery.On 9/19/06, Sam Sherlock [EMAIL PROTECTED] wrote: Theres no information about the center function on visual jquery.when I call the function I get the following error $(#imageContainer).center is not a functionDoes center() require a plugin??

Re: [jQuery] Wildcards

2006-09-19 Thread Matt Stith
Personally, i use things with IDs like title_number and stuff like that all the time, and $([EMAIL PROTECTED]'title_']) seems to work fine. I havent had any problems.On 9/19/06, Dave Methvin [EMAIL PROTECTED] wrote: Here is another approach which actually detects all td clicks...

Re: [jQuery] center function - is there a plugin I need?

2006-09-19 Thread Blair McKenzie
Yes, center has been spun out into a plugin. You'll need to get it from SVN (you can see the web ui here).On that note, does anyone know if it's possible to download files through the SVN web ui? BlairOn 9/20/06, Sam Sherlock [EMAIL PROTECTED] wrote: Theres no information about the center function

Re: [jQuery] Suckerfish conversion

2006-09-19 Thread abba bryant
I don't think it is a css issue. If I remove the animation code ( the .hover functions outside of the document.all check ) the code works fine. The css and markup is directly from the pretty example on the son of suckerfish page. The possibility of a css error is the first thing I checked - thank

[jQuery] How to calulate the real height of an element

2006-09-19 Thread limodou
I have some elements dynamicly created, but I found the height is not the displayed height, and it's larger. I don't sepcify the height of the elements which dynamicly created, so the height attribute should be default. Is there a way to get the display height but not the default height? And it