[jQuery] Re: how to disable and enable submit button via jQuery [code included]

2007-07-05 Thread Klaus Hartl
Allan Mullan wrote: I believe this is because you can't actually remove the attribute "disabled" - Instead try doing $("#submitanswer).attr("enabled", "enabled"); No, there is nothing like an enabled attribute. Just set the disabled attribute to true or false (I found that to be the most r

[jQuery] Re: encoding(charset) problem

2007-07-05 Thread Ⓙⓐⓚⓔ
that came up a while ago I added a patch to jQuery ajax.js that enables you to roll your own encoding... and it makes the source smaller! It is scheduled (I hope) to go in to jQuery 1.2 http://jqueryjs.googlecode.com/svn/branches/jake-dev/ http://jqueryjs.googlecode.com/svn/branches/jake-dev

[jQuery] Re: encoding(charset) problem

2007-07-05 Thread Rhapidophyllum
I think you don't have to change the entire server setting, but header information in your individual server responses should be set to gb. On Jul 4, 2007, at 11:29 AM, Guoliang Cao wrote: Hi, I'm using jQuery 1.1.3 in my AJAX-based game viewer. I download game data through ajax calls. Game

[jQuery] Re: how to animate two divs' position smoothly at the same time

2007-07-05 Thread eddy
Thank you! But you only explain a fact to me. I hope you will tell me how to do some logic while animation is in progress! On 7月6日, 上午2时59分, "Ganeshji Marwaha" <[EMAIL PROTECTED]> wrote: > I guess, the animation process happens behind the scenes. So, if you > want to do some logic while animation

[jQuery] AutoScaling Image

2007-07-05 Thread Steve Blades
OK, maybe someone can help me wrap my head around a good way of doing this. Here's the setup (question to follow). I have a container div that contains a) an image [float:left] b) a table, and c) a div below the image and table. I use JQuery to hide the lower div on page load. I have a hover() ev

[jQuery] SITES: Recent sightings

2007-07-05 Thread Rey Bango
I just submitted some new sites to the list: The Miami Herald - The site for the main newspaper of Miami, Florida (http://www.miamiherald.com/) mypictr - A free picture resizing service, which allows you to create a custom profile avatar for your favorite social network. (http://mypictr.com

[jQuery] login via ajax

2007-07-05 Thread Shelane
I'm sure someone out there has done a login via ajax. What's the securest way to pass a username and password into the server. Currently, I have the case where a user desires to register for an event. If the user is not logged in, he/she is presented with a login form that has a "Register for t

[jQuery] Re: how to disable and enable submit button via jQuery [code included]

2007-07-05 Thread Karl Rudd
Try: $("#submitanswer").attr("disabled", ""); Karl Rudd On 7/6/07, PaulM <[EMAIL PROTECTED]> wrote: if($("#answer").val().length < 200){ $("#submitanswer").attr("disabled","disabled"); } will disable it but than upon the key press

[jQuery] Re: jQuery Survey - July 4, 2007

2007-07-05 Thread John Resig
Oh man, I'll need a night out after signing all those pictures :-P --John On 7/5/07, Glen Lipka <[EMAIL PROTECTED]> wrote: Just a reminder, the first million respondents get a night out on the town with John Resig. Survey is very short and helps out the whole community. http://www.surveymonke

[jQuery] Re: Designerly Ajax ? from newbie

2007-07-05 Thread David
Hi John, You can use the load method to populate the #content div. Something like this should work: $("#content").fadeOut().load("http://myurl.com";).fadeIn(); Cheers, David jsw_nz wrote: Hi Benjamin, OK, maybe I need to explain better I want to apply AJAX to a CMS pagination scheme

[jQuery] Re: Designerly Ajax ? from newbie

2007-07-05 Thread jsw_nz
Hi Benjamin, OK, maybe I need to explain better I want to apply AJAX to a CMS pagination scheme (using a system generated navigation bar) where gets targeted and dynamically updated with AJAX - (no page refresh) So say the end user is on page 1 and clicks navigation bar to load page 2 (1)

[jQuery] Re: Can't get hover event to work properly in IE6

2007-07-05 Thread Eric Crull
Try Brian Cherne's plugin hoverIntent. Jquery hover is firing for every element your mouse is moving over. I had the same problem and switched and it works nicely. FYI, I set the timeout for 300 and added a callback to the out function: function(){$("#menuCup1:visible").hide(). You may not nee

[jQuery] Re: jQuery Survey - July 4, 2007

2007-07-05 Thread Glen Lipka
Just a reminder, the first million respondents get a night out on the town with John Resig. Survey is very short and helps out the whole community. *http://www.surveymonkey.com/s.aspx?sm=uB_2bAIx8Qg1Tc7gikoMXEnQ_3d_3d *Thanks. :) Glen On 7/4/07, Glen Lipka <[EMAIL PROTECTED]> wrote: Please t

[jQuery] Re: how can I prohibit from users pasting content into text boxes?

2007-07-05 Thread Glen Lipka
http://groups.google.com/group/mozilla.dev.web-development/browse_thread/thread/a499932e8be4f918 or http://www.forum4designers.com/message197102.html Maybe one of these help? Glen On 7/5/07, Josh Bush <[EMAIL PROTECTED]> wrote: That looks oddly familiar... :) I'm fairly certain that there i

[jQuery] Re: Hidden divs, showing based on anchor in URL

2007-07-05 Thread Glen Lipka
Check out the history plugin. It does this for you. http://www.stilbuero.de/jquery/history/ Glen On 7/5/07, sccr410 <[EMAIL PROTECTED]> wrote: http://www.hughesnunn.com/attorneys.html You can see on the URL above, I am using hidden divs that get shown when a user clicks on the name - nothing

[jQuery] Re: Feature suggestion: animating through stylesheets

2007-07-05 Thread Glen Lipka
You can also give an element a css attribute of zoom:1 to trigger haslayout. This is an awesome expose of the subject: http://www.satzansatz.de/cssd/onhavinglayout.html Glen On 7/5/07, Joe Knizacky <[EMAIL PROTECTED]> wrote: I found this in reference to IE and filters (posted by Dean Edwards)

[jQuery] Hidden divs, showing based on anchor in URL

2007-07-05 Thread sccr410
http://www.hughesnunn.com/attorneys.html You can see on the URL above, I am using hidden divs that get shown when a user clicks on the name - nothing fancy for jQuery. However, if you go to the home page, I want to be able to link each of the attorney names using an anchor in the URL and by defau

[jQuery] Re: Manipulating a stylesheet directly

2007-07-05 Thread başkan
sizin ne demek istediğinizi vallahi anlamıyorum:) On 5 Temmuz, 23:04, "Michael Geary" <[EMAIL PROTECTED]> wrote: > I think we are talking about the same thing, but coming at it from different > angles. The code I posted is a building block you could use to write your > own animation function. It'

[jQuery] Re: Feature suggestion: animating through stylesheets

2007-07-05 Thread Joe Knizacky
I found this in reference to IE and filters (posted by Dean Edwards): Filters only apply to elements with "layout": http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/haslayout.asp An obscure Microsoft concept to differentiate between it's different rendering models. Annoying

[jQuery] Re: how can I prohibit from users pasting content into text boxes?

2007-07-05 Thread Josh Bush
That looks oddly familiar... :) I'm fairly certain that there isn't a cross-browser way to detect pastes. The sample Jörn posted will only catch IE and Mozilla. Josh On Jul 5, 3:35 pm, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > PaulM wrote: > > how can I prohibit from users pasting content in

[jQuery] Re: $("#container > element.class") possible, but what about everything except a class?

2007-07-05 Thread Klaus Hartl
Glen Lipka wrote: I expanded my demo page to show the different possibilities. http://www.commadot.com/jquery/selectors/ John/Gordon, your code doesn't seem to find the grandchildren. This one just was itching at my mind, but I think I found the perfect selector: $("#container *").not(".notme

[jQuery] Re: how can I prohibit from users pasting content into text boxes?

2007-07-05 Thread Shelane
So how does your "checkbox" function work? When a box is checked the value gets put in a text box? What is this purpose? You can display the value instead in a div. The checked values will get passed when a form is submitted so it's not necessary to also have them in a textbox if that textbox i

[jQuery] Translate to jquery

2007-07-05 Thread Sebastián V. Würtz
I what translate this (im still noob) to jquery can anyone helpme? function insertAfter(newElement,targetElement) { var parent = targetElement.parentNode; if (parent.lastChild == targetElement) { parent.appendChild(newElement); } else { parent.insertBefore(newElement,targetElement.nextS

[jQuery] XML parsing problem

2007-07-05 Thread Linan
Hi everyone, I'm trying to build a tempalte engine based on jQuery. XML grammer is chosen as the flow controlling work. Naturally I want to use jQuery to parse XML doc, but the result is disappointing. For example: $('') it returns: [for, p, while, div] I went back to the source code and found

[jQuery] Re: tableSorter - problems with changing the number of rows

2007-07-05 Thread Christian Bach
.trigger("resort"); /christian 2007/7/5, Phil Glatz <[EMAIL PROTECTED]>: On Jul 5, 4:22 am, "Christian Bach" <[EMAIL PROTECTED]> wrote: > set useCache: false > > then trigger this after the update. > > $('#bodytable').trigger("updateColumnData"); Thanks, Christian; that did the trick. When

[jQuery] Re: how can I prohibit from users pasting content into text boxes?

2007-07-05 Thread Jörn Zaefferer
PaulM wrote: how can I prohibit from users pasting content into text boxes? Something along these lines: if ($.browser.msie) this.onpaste= function(){setTimeout(checkVal,0);}; else if ($.browser.mozilla) this.addEventListener('input',checkVal,false); -- Jörn Zaefferer http://bassistance.d

[jQuery] Re: question about redirecting url after post using jquery

2007-07-05 Thread Mike Fern
Hi Matt, Thanks but I have made sure it's a valid url. In my case, port 8282 is the Apache port, no problem with that. Is there any way to show debug information for the xml response in jquery? Maybe something like pseudo stack trace? In my code, i use simple alert to notify if error occurs but i

[jQuery] Re: Ranges

2007-07-05 Thread Jörn Zaefferer
Alan Gutierrez wrote: I'm currently working on selections and ranges for a rich text editor. Is this built into jQuery in a cross-platform way, or is there a plugin I can use? There is a jQuery plugin available for that stuff, I can't remember the same, but you should find something on the p

[jQuery] Re: Feature suggestion: animating through stylesheets

2007-07-05 Thread Benjamin Sterling
Both took less time, but the DOM had more calls, hmmm... On 7/5/07, Sean Catchpole <[EMAIL PROTECTED]> wrote: Good point Glen, I've updated my example so that finds and saves the 's. Now all that should be "profiled" are the animations. http://www.sunsean.com/cssAnimate.html ~Sean On 7/5/07

[jQuery] Re: simple ahref toggle problem [beginner]

2007-07-05 Thread Ganeshji Marwaha
try something like this on ur document.ready event.. Remember to remove your href="javascript:popUp('sound.html')" from your anchor and replace it with "#". Untested, but this should get u in the right direction. var on = false; $("#gomusic").click(function() { if(!on) { popUp("sound.html"); $(th

[jQuery] Re: Release: Tooltip plugin 1.1

2007-07-05 Thread Jörn Zaefferer
Glen Lipka wrote: Nice work, this looks awesome. One quirk. On the last examples (bottom right), when I mouse over in FF, the tip goes offscreen. It doesnt happen every time. Strange behavior. Yeah, thats really rather weird. So far no hack could really avoid that. -- Jörn Zaefferer http:/

[jQuery] Re: Release: Tooltip plugin 1.1

2007-07-05 Thread Jörn Zaefferer
Jens wrote: thanks for the update. I am loading content to a page dynamically (Ajax: $.get) and have used tooltip to apply tooltip on the fly on each part. All elements uses the same tooltip selector. My problem with the new version is tooltip fails if you call it more than once: $(".toolTip")

[jQuery] Re: how can I prohibit from users pasting content into text boxes?

2007-07-05 Thread Andy Matthews
Are you saying that you would like people to be able to TYPE things into this checkbox, but not copy and paste? That seems a little excessive, but you could probably check for a key event. If the user has pressed CTRL + V then disable the checbox, then reenable it as soon as they release those ke

[jQuery] Re: Feature suggestion: animating through stylesheets

2007-07-05 Thread Lauris Bukšis-Haberkorns
on firefox css is working faster and has way much less calls but on ie after dom has been called css is not working anymore. On 7/5/07, Rick Faircloth <[EMAIL PROTECTED]> wrote: > > I noticed that the example runs in DOM mode > anytime, but CSS mode will only run if the page > is refreshed and

[jQuery] Re: Feature suggestion: animating through stylesheets

2007-07-05 Thread Sean Catchpole
On 7/5/07, Rick Faircloth <[EMAIL PROTECTED]> wrote: I noticed that the example runs in DOM mode anytime, but CSS mode will only run if the page is refreshed and CSS is tried first. After DOM mode has run, CSS no longer works. Clearly there are bugs. =( And is the effect supposed to be a to

[jQuery] Re: Manipulating a stylesheet directly

2007-07-05 Thread Michael Geary
I think we are talking about the same thing, but coming at it from different angles. The code I posted is a building block you could use to write your own animation function. It's not the jQuery feature you want, just a start on it. :-) I meant to ask: how many elements are you animating simultan

[jQuery] Re: Feature suggestion: animating through stylesheets

2007-07-05 Thread Scott Sauyet
Sean Catchpole wrote: You bring up an excellent point. However if we can temporarily create a unique className (say "jQueryAnimation"+timestamp) for the duration of the animation, then specificty won't be a problem. I don't want to discourage you from trying, but I think it's more complicated

[jQuery] Re: Feature suggestion: animating through stylesheets

2007-07-05 Thread Rick Faircloth
I noticed that the example runs in DOM mode anytime, but CSS mode will only run if the page is refreshed and CSS is tried first. After DOM mode has run, CSS no longer works. And is the effect supposed to be a total fade out and in, or is it supposed to be like a "streak of light" passing over th

[jQuery] Re: Feature suggestion: animating through stylesheets

2007-07-05 Thread Aaron Heimlich
On 7/5/07, Glen Lipka <[EMAIL PROTECTED]> wrote: DOM Profile (1705.165ms, 119624 calls) CSS Profile (286.028ms, 143 calls) So does this mean the dom was faster even though it had so many more calls? No, it means that DOM took significantly more time to complete and made significantly more fu

[jQuery] Re: how to disable and enable submit button via jQuery [code included]

2007-07-05 Thread Allan Mullan
I believe this is because you can't actually remove the attribute "disabled" - Instead try doing $("#submitanswer).attr("enabled", "enabled"); (plus you had an error in your syntax, you didn't put a # in that removeAttr line...) Hope that helps Allan PaulM wrote: if($("#an

[jQuery] Re: Feature suggestion: animating through stylesheets

2007-07-05 Thread Glen Lipka
So looking in firebug, I am confused at the results. Probably because I dont know what I am doing. DOM Profile (1705.165ms, 119624 calls) CSS Profile (286.028ms, 143 calls) So does this mean the dom was faster even though it had so many more calls? Glen On 7/5/07, Sean Catchpole <[EMAIL PROTEC

[jQuery] how to disable and enable submit button via jQuery [code included]

2007-07-05 Thread PaulM
if($("#answer").val().length < 200){ $("#submitanswer").attr("disabled","disabled"); } will disable it but than upon the key press I want to enable it and this doesnt work: $("#answer").keyup( functio

[jQuery] Re: Feature suggestion: animating through stylesheets

2007-07-05 Thread Sean Catchpole
Scott, You bring up an excellent point. However if we can temporarily create a unique className (say "jQueryAnimation"+timestamp) for the duration of the animation, then specificty won't be a problem. I'll go ahead and convert this all into a plugin and we can really see if it's useful. There m

[jQuery] Re: Feature suggestion: animating through stylesheets

2007-07-05 Thread Sean Catchpole
Good point Glen, I've updated my example so that finds and saves the 's. Now all that should be "profiled" are the animations. http://www.sunsean.com/cssAnimate.html ~Sean On 7/5/07, Glen Lipka <[EMAIL PROTECTED]> wrote: It brings up an interesting point. All the speed tests are to FIND the

[jQuery] Re: how can I prohibit from users pasting content into text boxes?

2007-07-05 Thread PaulM
thats silly. I want them to use the checkbox to put stuff in, but not via copy and paste On Jul 4, 5:58 pm, Terry B <[EMAIL PROTECTED]> wrote: > disable the text box > > On Jul 4, 5:25 pm, PaulM <[EMAIL PROTECTED]> wrote: > > > how can I prohibit from users pasting content into text boxes?

[jQuery] Re: Feature suggestion: animating through stylesheets

2007-07-05 Thread Scott Sauyet
Sean Catchpole wrote: [ ... ] http://www.sunsean.com/cssAnimate.html [ ... ] > I think this is an interesting idea. Perhaps jQuery should apply a unique class to the elements it's going to animate, then manipulate the css instead of the dom. This is an interesting idea. But I see one major

[jQuery] Re: Feature suggestion: animating through stylesheets

2007-07-05 Thread Aaron Heimlich
On 7/5/07, Rey Bango <[EMAIL PROTECTED]> wrote: The CSS option (http://www.sunsean.com/cssAnimate.html) doesn't run for me in IE7. It worked for me, but only once. -- Aaron Heimlich Web Developer [EMAIL PROTECTED] http://aheimlich.freepgs.com

[jQuery] Re: does the jQuery team plan to update the doc one the jQuery site?

2007-07-05 Thread Rey Bango
John addressed this earlier. The API hasn't really changed so you should be able to continue to use the existing docs. There are some very small updates that need to be made but nothing major. Rey... Guapo wrote: i mean update the doc to 1.1.3.1. cuz there is no place to reference the new f

[jQuery] Re: Feature suggestion: animating through stylesheets

2007-07-05 Thread Rey Bango
The CSS option (http://www.sunsean.com/cssAnimate.html) doesn't run for me in IE7. Benjamin Sterling wrote: You are correct on that Dan, good catch. On 7/5/07, *Dan G. Switzer, II* <[EMAIL PROTECTED] > wrote: The CSS effect works in IE6 for me—provided I run

[jQuery] does the jQuery team plan to update the doc one the jQuery site?

2007-07-05 Thread Guapo
i mean update the doc to 1.1.3.1. cuz there is no place to reference the new feature in jQuery1.1.3. So... Thanks!

[jQuery] Re: Feature suggestion: animating through stylesheets

2007-07-05 Thread Glen Lipka
It brings up an interesting point. All the speed tests are to FIND the selectors. What about speed tests in terms of how fast to CHANGE attributes. Or how fast/smooth/lowest CPU to animate? Just goes to my pet peeve: The speed tests are flawed. Glen On 7/5/07, Dan G. Switzer, II <[EMAIL PROTEC

[jQuery] Re: how to animate two divs' position smoothly at the same time

2007-07-05 Thread Ganeshji Marwaha
Strange... Will try it when i get back home today... -GTG On 7/4/07, Glen Lipka <[EMAIL PROTECTED]> wrote: I tried to make a demo. http://www.commadot.com/jquery/animate/ How come I get an infinite too much recursion error loop? Glen On 7/4/07, Ganeshji Marwaha <[EMAIL PROTECTED]> wrote: >

[jQuery] Re: how to animate two divs' position smoothly at the same time

2007-07-05 Thread Ganeshji Marwaha
I guess, the animation process happens behind the scenes. So, if you want to do some logic while animation is in progress, all you need to do is to add it to the next line after the animation code. But, if your requirement is to do some logic after the animation ends, then you will have to supply

[jQuery] Re: Feature suggestion: animating through stylesheets

2007-07-05 Thread Dan G. Switzer, II
>On 7/5/07, Dan G. Switzer, II <[EMAIL PROTECTED]> wrote: >> The CSS effect works in IE6 for me-provided I run it first. However, it's >much, much slower. I'm not sure if it's IE's re-rendering of the CSS or if >it's in the fade() function. > >I'm not sure either, but it could be that I'm using Ti

[jQuery] Re: Problems with jCarouselLite and hide divs

2007-07-05 Thread Ganeshji Marwaha
I have put together a demo page here showcasing, that you can set display to none in javascript after the call to jCarouselLite. The link to the page is http://www.gmarwaha.com/jquery/jcarousellite/testDisplayNone.php Since you are using document.ready event to both create the carousel and also h

[jQuery] Re: Feature suggestion: animating through stylesheets

2007-07-05 Thread Benjamin Sterling
You are correct on that Dan, good catch. On 7/5/07, Dan G. Switzer, II <[EMAIL PROTECTED]> wrote: The CSS effect works in IE6 for me—provided I run it first. However, it's much, much slower. I'm not sure if it's IE's re-rendering of the CSS or if it's in the fade() function. --

[jQuery] Re: [SITE SUBMISSION] www.pharmaconnectme.com

2007-07-05 Thread spinnach
thanks rey, glad you like it.. dennis. Rey Bango wrote: Nice look site spinnach. I really like the flyout div that appears next to each bloggers pic. Very nice. I've added it to the list. spinnach wrote: http://www.pharmaconnectme.com - the first international network created by pharma

[jQuery] Re: Feature suggestion: animating through stylesheets

2007-07-05 Thread Sean Catchpole
On 7/5/07, Dan G. Switzer, II <[EMAIL PROTECTED]> wrote: The CSS effect works in IE6 for me—provided I run it first. However, it's much, much slower. I'm not sure if it's IE's re-rendering of the CSS or if it's in the fade() function. I'm not sure either, but it could be that I'm using Timeo

[jQuery] Re: Feature suggestion: animating through stylesheets

2007-07-05 Thread Dan G. Switzer, II
The CSS effect works in IE6 for me-provided I run it first. However, it's much, much slower. I'm not sure if it's IE's re-rendering of the CSS or if it's in the fade() function. _ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Benjamin Sterling Sent: Thursday,

[jQuery] Re: tableSorter - sorting

2007-07-05 Thread Phil Glatz
Christian Bach wrote: > And to leak a new feature: it will contain multiple column sorting. One more suggestion, if it isn't in there already: the ability to exclude some columns as sortable. The column wouldn't display the sorting class in the header, and clicking on it would have no effect. May

[jQuery] Re: Zebra table with hidden rows

2007-07-05 Thread Karl Swedberg
This should work, too* : $("table.xy tr:visible:odd").addClass("odd") * Might not work after first table if more than one class="xy"> exists on the same page. --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Jul 5, 2007, at 1:03 PM, Scott Sauyet

[jQuery] Re: Feature suggestion: animating through stylesheets

2007-07-05 Thread Benjamin Sterling
I agree, I profiled each: DOM:Profile (2296.875ms, 49015 calls) CSS:Profile (437.5ms, 143 calls) With the dom, there a bit of a gradient affect, more noticeable on IE6, but of course, css does not work in IE6. On 7/5/07, Aaron Heimlich <[EMAIL PROTECTED]> wrote: On 7/5/07, Sean Catchpole <[EM

[jQuery] Re: Setting Default Submit Button For Forms

2007-07-05 Thread Dan G. Switzer, II
>Dan, > >Very interesting thought. I have always done my input elements like >this: > > > Also, I almost never have a "Cancel" button actually do a submit. While this method isn't unobtrusive, I usually use something like: -Dan

[jQuery] Re: Problems with jCarouselLite and hide divs

2007-07-05 Thread Jean
I will try, i think this will fix On 7/5/07, Ganeshji Marwaha <[EMAIL PROTECTED]> wrote: That wouldn't fix ur problem... For now ur best work-around is to hide the div using javascript after the call to jCarouselLite()... This way you are giving the plugin the means to construct itself before u

[jQuery] Re: Feature suggestion: animating through stylesheets

2007-07-05 Thread Sean Catchpole
I've put together an example that shows the perfomance a little better of using CSS over direct DOM manipulation. http://www.sunsean.com/cssAnimate.html I think this is an interesting idea. Perhaps jQuery should apply a unique class to the elements it's going to animate, then manipulate the css

[jQuery] Re: tableSorter - problems with changing the number of rows

2007-07-05 Thread Phil Glatz
On Jul 5, 4:22 am, "Christian Bach" <[EMAIL PROTECTED]> wrote: > set useCache: false > > then trigger this after the update. > > $('#bodytable').trigger("updateColumnData"); Thanks, Christian; that did the trick. When I rebuild the table with more rows, sorting isn't working. If I was sorting o

[jQuery] Re: mootools accordion, all items closed at page load?

2007-07-05 Thread Luciano A. Ferrer
On 7/5/07, Rey Bango <[EMAIL PROTECTED]> wrote: > > Are you using jQuery, MooTools or both? > > Rey only jquery... I have solved it! changed the line $("dd:not(:first)").hide(); to $("dd:first").hide(); This is the right way? luciano > Luciano A. Ferrer wrote: > > Hi! > > > > I need to use m

[jQuery] Re: Need to put-in web trends tracking using SmartSource data collector

2007-07-05 Thread skyeflye
Hi Nik, WebTrends is a commercial application that must be paid for. If you (or your client) do not have a paid license from WebTrends, then there is no way to use it. WebTrends sells versions of its software that they host for you and also versions that you can install on your own web server(s).

[jQuery] Re: question about redirecting url after post using jquery

2007-07-05 Thread Matt Stith
You might wanna use firebug and make sure your getting a correct response. It might be making an error because what you are assigning isnt a url. On 7/5/07, Mike Fern <[EMAIL PROTECTED]> wrote: hi devs, i'm new to this group. i recently play with jquery and feel happy with the features and sim

[jQuery] Re: Problems with jCarouselLite and hide divs

2007-07-05 Thread Ganeshji Marwaha
That wouldn't fix ur problem... For now ur best work-around is to hide the div using javascript after the call to jCarouselLite()... This way you are giving the plugin the means to construct itself before u hide it... In the mean-time, i will work on a fix for the same and keep u posted. Lemme k

[jQuery] Re: What's happened to $.expr['@'] in jQuery 1.1.3?

2007-07-05 Thread Aaron Heimlich
On Jul 5, 12:01 pm, "John Resig" <[EMAIL PROTECTED]> wrote: > Aaron - you should file a ticket for this and I'll consider it. http://dev.jquery.com/ticket/1364 -- Aaron Heimlich Web Developer [EMAIL PROTECTED] http://aheimlich.freepgs.com

[jQuery] Re: mootools accordion, all items closed at page load?

2007-07-05 Thread Rey Bango
Are you using jQuery, MooTools or both? Rey Luciano A. Ferrer wrote: Hi! I need to use mootools accordion, but just with 1 item... so, it would be nice to have it closed when pages loads... Do you have any idea about how to achieve this? (I am stupid using javascript... :( ) TIA, and sorr

[jQuery] Re: Zebra table with hidden rows

2007-07-05 Thread Thomas Jaggi
This is not tested, but something like this might do it: $("table.xy tr:visible").each(function(index) { if (index %2 == 1) { $(this).addClass("odd"); } }); It's perfect, thank you!

[jQuery] Re: Zebra table with hidden rows

2007-07-05 Thread Scott Sauyet
backflip wrote: I'm using the following code to style a table: $("table.xy tr:nth-child(odd)").addClass("odd"); But before doing that I'm hiding some rows: $("tr#xy").hide(); Now the zebra pattern isn't working any more (it's an abnormal zebra), of course. How to apply the zebra-stuff ju

[jQuery] Load Google Analytics from jQuery

2007-07-05 Thread Skullman
Hello! I guess if any of you have tried to load Google Analytics from JQuery. What I want to do is as simple as this: My original footer: footer.php something /footer.php Instead of put the Google Analytics on the footer, I want to include

[jQuery] mootools accordion, all items closed at page load?

2007-07-05 Thread Luciano A. Ferrer
Hi! I need to use mootools accordion, but just with 1 item... so, it would be nice to have it closed when pages loads... Do you have any idea about how to achieve this? (I am stupid using javascript... :( ) TIA, and sorry for the bad english :) luciano

[jQuery] Re: question about Firebug...

2007-07-05 Thread Nicolas Hoizey
> I see that FB has a console...is it possible to print variables to > this console as my JS code progresses? Yes, just do this: console.log('the message'); -Nicolas -- Nicolas "Brush" HOIZEY Clever Age : http://www.clever-age.com/ Gastero Prod : http://www.gasteroprod.com/ Photos : http:

[jQuery] Re: Problem with a possible race condition

2007-07-05 Thread Chris Jordan
Klaus, Thanks for responding. This is happening in both IE and FF. I hadn't thought of ThickBox having an onShow Callback. That may be my best bet. I thought that putting code in the $(function(){}); section was supposed to prevent this sort of thing. For what it's worth, here's my code for the

[jQuery] Re: What's happened to $.expr['@'] in jQuery 1.1.3?

2007-07-05 Thread John Resig
Possibly. While that would, functionally, work - it would provide a serious speed hit (requiring that each available ["@"] expression be parsed for every element that isn't matched. Although, that would only be in the case of when you include ["@"] checks. Aaron - you should file a ticket for thi

[jQuery] Re: What's happened to $.expr['@'] in jQuery 1.1.3?

2007-07-05 Thread Diego A.
Oh, I see where you're going... Well, I'd personally choose to 'make-do' with built-in selectors for the sake of performance. But it's good to have the option... On 05/07/07, Aaron Heimlich <[EMAIL PROTECTED]> wrote: > > Basically, I'm wondering if something like this is feasible: > > if ( (type =

[jQuery] Re: question about Firebug...

2007-07-05 Thread Dan G. Switzer, II
Andy, Make sure to read the docs: http://www.getfirebug.com/docs.html Lots of stuff you can do. (That link can be gotten to via the little Firebug icon next to the "Inspect" menu option.) To output data to the console, I usually use: console.log(); -Dan _ From: jqu

[jQuery] Re: question about Firebug...

2007-07-05 Thread Andy Matthews
Beautiful guys... Found this: http://ajax.phpmagazine.net/2006/05/firebug_the_future_of_javascri.html as soon as I sent my email. Thanks for the quick response. _ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Benjamin Sterling Sent: Thursday, July 05, 2007 11

[jQuery] Re: question about Firebug...

2007-07-05 Thread Benjamin Sterling
Console can be used to run functions or write functions against your page. I think you should be able to just log your variables to the logger. On 7/5/07, Andy Matthews <[EMAIL PROTECTED]> wrote: I see that FB has a console...is it possible to print variables to this console as my JS code prog

[jQuery] Re: question about Firebug...

2007-07-05 Thread Aaron Heimlich
http://www.getfirebug.com/console.html The function documented here can be called from anywhere in your JS. On 7/5/07, Andy Matthews <[EMAIL PROTECTED]> wrote: I see that FB has a console...is it possible to print variables to this console as my JS code progresses? *

[jQuery] Re: Feature suggestion: animating through stylesheets

2007-07-05 Thread Benjamin Sterling
Gordon, I put together a very quick example, although it does not run in ie6 (which I am sure there is a fix for) it looks OK in FF. http://www.benjaminsterling.com/experiments/jqAnimatedStyles/ The functions are from: http://www.hunlock.com/blogs/Totally_Pwn_CSS_with_Javascript On 7/5/07, Gord

[jQuery] question about Firebug...

2007-07-05 Thread Andy Matthews
I see that FB has a console...is it possible to print variables to this console as my JS code progresses? Andy Matthews Senior ColdFusion Developer Office: 877.707.5467 x747 Direct: 615.627.9747 Fax: 615.467.6249 [EMAIL PROTECTED] www.dealerskins.com

[jQuery] Re: What's happened to $.expr['@'] in jQuery 1.1.3?

2007-07-05 Thread Aaron Heimlich
Basically, I'm wondering if something like this is feasible: if ( (type == "" && !!z || type == "=" && z == m[5] || type == "!=" && z != m[5] || type == "^=" && z && !z.indexOf(m[5]) || type == "$=" && z.substr(z.length - m[5].length) == m[5] || (type == "*=" || type == "~=")

[jQuery] Re: Problem with a possible race condition

2007-07-05 Thread Klaus Hartl
Chris Jordan wrote: Bump. Can anyone shed some light on this? Thanks heaps, Chris On Jul 4, 3:42 pm, Christopher Jordan <[EMAIL PROTECTED]> wrote: Okay, just an update for anyone thinking of helping. I ran the dialog page by itself (sans thickbox) and the focus gets set just fine. So this is

[jQuery] Zebra table with hidden rows

2007-07-05 Thread backflip
I'm using the following code to style a table: $("table.xy tr:nth-child(odd)").addClass("odd"); But before doing that I'm hiding some rows: $("tr#xy").hide(); Now the zebra pattern isn't working any more (it's an abnormal zebra), of course. How to apply the zebra-stuff just to the visible

[jQuery] Re: Multiple-select-box: set multiple to false

2007-07-05 Thread Thomas Jaggi
Are you sure you're not getting an error somewhere in the execution path? I've never tried toggling a select element between a multiple select and a single select. It seems it just doesn't work in Safari if the .hide()-stuff is before the multiple = false. Well, whatever. Quite frankly, this

[jQuery] Re: attaching events to large table

2007-07-05 Thread Josh Bush
Thank you kind sir. You just made my day. There was two similar calls in that plugin one for click and the other for double click. It was taking 16+ seconds and is now a respectable 300ms. Josh On Jul 5, 11:03 am, "Dan G. Switzer, II" <[EMAIL PROTECTED]> wrote: > Josh, > > > > >I have a table

[jQuery] Re: Multiple-select-box: set multiple to false

2007-07-05 Thread Mike Alsup
Quite frankly, this just feels "wrong". Is there a reason you're doing this? :-) I was thinking the same thing, Dan. In fact, I'd be surprised if this works at all. "multiple" may be an attribute but I think the element "type" ("select-multiple") is the key to the actual gui component styl

[jQuery] Re: Feature suggestion: animating through stylesheets

2007-07-05 Thread Gordon
Yes, that's what I'm getting at. Like I said, I noticed with my jQuery coding and script optimization efforts that DOM access has quite a significant overhead, and that jQuery animates by manipulating the DOM style attribute for all elements being animated. If it were possible to manipulate the s

[jQuery] Re: Problems with jCarouselLite and hide divs

2007-07-05 Thread Ganeshji Marwaha
hi jean, i think u are using version 0.2.0. Last week 0.3.0. A few bugs were fixed as well... To start with, u might want to try that version. You can download it at http://www.gmarwaha.com/jquery/jcarousellite/index.php This should mostly fix your problem. If it doesn't try adding the following

[jQuery] Re: What's happened to $.expr['@'] in jQuery 1.1.3?

2007-07-05 Thread Diego A.
I would like to help but you've lost me there Aaron... Is it possible to attach an "else" to the "if" statement that replaced it[1] > that checks in [EMAIL PROTECTED] On 05/07/07, Aaron Heimlich <[EMAIL PROTECTED]> wrote: > > On 7/5/07, John Resig <[EMAIL PROTECTED]> wrote: > > > > > > Yeah, thi

[jQuery] Re: Multiple-select-box: set multiple to false

2007-07-05 Thread Dan G. Switzer, II
>I just wanted to reply that wouldn't work either but there was another >problem: >When I'm hiding some elements of the form BEFORE I set multiple to >false, it doesn't work: > $("#field2").hide(); > $("#field3").hide(); > $("#field6").hide(); > $("[EMAIL PROTECTED]")[0].multiple = false; > >L

[jQuery] Re: attaching events to large table

2007-07-05 Thread Dan G. Switzer, II
Josh, >I have a table that has 1,000 rows and I'm trying to bind a function >to the click event of each row. This can be quite slow the way I'm >currently doing it. Here is an example my my current process: > > this.find(settings.selector).click(function(){selectRow(this);}); > > fu

[jQuery] Re: Need help with JQuery + Prototype integration

2007-07-05 Thread Ganeshji Marwaha
glad u finally figured it out.. -GTG On 7/5/07, sprak <[EMAIL PROTECTED]> wrote: On Jul 3, 12:31 pm, "Ganeshji Marwaha" <[EMAIL PROTECTED]> wrote: > wow... keep us in the loop if u find a way out. The developer who wrote the JQuery portion found the answer; apparently, the "toggle" attribut

[jQuery] Re: Problem with a possible race condition

2007-07-05 Thread Chris Jordan
Bump. Can anyone shed some light on this? Thanks heaps, Chris On Jul 4, 3:42 pm, Christopher Jordan <[EMAIL PROTECTED]> wrote: > Okay, just an update for anyone thinking of helping. I ran the dialog > page by itself (sans thickbox) and the focus gets set just fine. So this > is somehow related

[jQuery] Re: Form submit problem when dealing with more than 1 form

2007-07-05 Thread Catalin
I've replaced options = jQuery.extend(options); with options = options || {}; and it works now. Thanx Mike ! On Jul 5, 5:00 pm, "Mike Alsup" <[EMAIL PROTECTED]> wrote: > Most likely the problem occurs because you're using the extend method > incorrectly. If you only pass a single arg to ext

  1   2   >