[jQuery] Detect version of internet explorer using jquery

2009-05-27 Thread Nitin Sawant
how to Detect version of internet explorer using jquery?? also name of browser?

[jQuery] Re: hoverIntent conflicts in IE browsers ( superfish fly-out )

2009-05-27 Thread sutra
Hi Brian, thanks for the reply. While trying to make a sample page that shows only flyout menu so that I can show you, I got more finding. Whether with v1.3.2 or v1.2.6 with hoverIntent, the flyout behaves like other browsers in all three IEs. The site that is showing issue, is a Magento site

[jQuery] JQuery Cycle Help!

2009-05-27 Thread Paul
I am really someone can help (fingers crossed anyways!) I am trying to implement the cycle plugin into this page: http://staging.visualintent.com.au/cc2/index4.html It all seems to be working well in Firefox etc but not Internet Explorer 6+ and I have no idea why! Basically I am trying to have

[jQuery] Re: tablesorter bug? How can I use tablesorter plugin to sort float?

2009-05-27 Thread devdoer
Thanks. I've found the parser example documentation. http://tablesorter.com/docs/example-parsers.html On 5月26日, 下午12时07分, devdoer devdo...@gmail.com wrote: Thanks. Is there any demo parser example I can learn from ? I am a new beginner of JS and of cource jquery On 5月23日, 上午12时09分,

[jQuery] Re: jCarousel Question

2009-05-27 Thread West
Anyone can help me please? Thank you! On May 26, 5:46 pm, West andrei.buzdu...@gmail.com wrote: Hello. I have a question regardingjCarouselusage. I am able to configurejCarouselto display items on more than one horizontal line? For example: back 1 2 forward --  3 4 - 4

[jQuery] Loading google map js on a certain point of action

2009-05-27 Thread heohni
Hi, on my contact page, I have some hidden divs. One is for a google map. This div is only shown when the user has clicked to open the div. As I am working with smarty my template looks like this: span id=gmap {literal} script src=http://maps.google.com/maps?

[jQuery] Re: Superfish with multicolumn sub navigation

2009-05-27 Thread Hetneo
Further to that last post. I have placed the contents of the Parent menu item into a div. However, superfish is adding the list items within the div. One way of solving my issue could be getting superfish to ignore certain ul buried in parent items, but how do I do this? This is the

[jQuery] Re: Menu slideUp is very erratic

2009-05-27 Thread Phil Sherry
I've had to revisit this code, as the following error is generated in IE when hovering over the menus that have dropdowns: Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.5.21022; InfoPath.2; .NET CLR

[jQuery] Re: Make textbox visible if checkbox is selected

2009-05-27 Thread heohni
untested: input id=myText name=myText type=text / $('#myText').hide(); // on default, hide textbox $('#myCheckbox').click(function(){ var checked_status = this.checked; if(checked_status == true) { $('#myText').show(); } }); On 27 Mai, 11:30, ciupaz luigi.zambe...@gmail.com wrote: Hi all,

[jQuery] Re: Make textbox visible if checkbox is selected

2009-05-27 Thread ciupaz
Perfect, thank you heohni. L

[jQuery] Re: Superfish with multicolumn sub navigation

2009-05-27 Thread Charlie
superfish doesn't add items, it only animates them *if* they exist did you look at the working example i shared with you? Using superfish it shows several methods to do what you need without using ul's in the div if you are stuck on using ul's inside the div then you would need to do some

[jQuery] Re: Loading google map js on a certain point of action

2009-05-27 Thread Charlie
$.getScript("url") might help heohni wrote: Hi, on my contact page, I have some hidden divs. One is for a google map. This div is only shown when the user has clicked to open the div. As I am working with smarty my template looks like this: span id="gmap" {literal} script src=""

[jQuery] Re: Loading google map js on a certain point of action

2009-05-27 Thread heohni
I made now this: if(item == #gmap){ $.getScript(http://maps.google.com/maps? file=apiv=2key=ABQIp1kkS_NlSeBqN9yg50Bb9hTRRxoX5cqBbtB- sMaIPwRkCNveuxTK0oI3HaFAjNd9OtVNIVqQYPII7g, function(){ alert(Script loaded and executed.);

[jQuery] Re: Superfish with multicolumn sub navigation

2009-05-27 Thread Hetneo
Hehe.. I was afraid you were going to say that. jQuery is my strongest point (as you have probably already guessed) and I am running out of time. BUT I will definitely donate to your wonderful project if you could help me with this custom scripting (hehe.. desperation + desire to use superfish

[jQuery] Re: Loading google map js on a certain point of action

2009-05-27 Thread heohni
This was helping and solving my problem: http://groups.google.com/group/Google-Maps-API/browse_thread/thread/8863f57e0904a221/3f1577e7abed928b On 27 Mai, 12:22, Charlie charlie...@gmail.com wrote: $.getScript(url) might help heohni wrote:Hi, on my contact page, I have some hidden divs. One

[jQuery] Re: jQuery barcode

2009-05-27 Thread FireJocker
hi, I just found this discussion when I posted my own version last week (I found no existent when I started my plugin and the time to start a website you had posted yours) Anyway, I have a version that handles barcode : ean 8, ean 13, 2 of 5 standard (or industrial) and interleaved, code 11,

[jQuery] THeory: dealing with really big data sets

2009-05-27 Thread andymott
Hello, I was hoping someone can help me with this problem . I wanted to create a site like www.kayak.com only for a different industry the concept being the filtering process. I understand using json and jquery. However i am wondering if anyone had any idea if json would be a good idea to go

[jQuery] logging panel?

2009-05-27 Thread mickey
Hi Is there any logging panel plugins that i can use? Similar to YUI's? Thanks

[jQuery] how to use stop() properly

2009-05-27 Thread GaVrA
Hi! I have a little problem. On this page: http://www.arvag.net/test/jquery/bug/ simple box that fadeIn and fadeOut on hover event. I fixed queue problem with .stop({clearQueue:true}) but now i have some other problem. Here it will fade over the course of 2 sec. If you move your mouse away

[jQuery] Hiding a cfoutput until clicked

2009-05-27 Thread grabit
Hi There i want to hide my phone numbers in an output page so that the viewer has to click an icon to see it. i have the following jquery so far: !---JQuery test to hide phone--- script type=text/javascript src=jquery.js/script script type=text/javascript $(document).ready(function() {

[jQuery] Re: performance of html(val)

2009-05-27 Thread GaVrA
Try append or appendTo. http://docs.jquery.com/Manipulation/append http://docs.jquery.com/Manipulation/appendTo On May 27, 5:29 am, jonathan topcod...@gmail.com wrote: I am constructing a large table on the fly and add it to the dom using html(val).  It takes about 6 seconds.  I am wondering

[jQuery] Event behaving

2009-05-27 Thread elischer.flor...@googlemail.com
Hi, I have a question why is this not working: $(button).keypress(function(e) { e.preventDefault(); alert(hello); }); but this here: $(button).click(function(e) { e.preventDefault(); alert(hello); }); For my understanding when I hit enter in a form keypress should work?! thx TC

[jQuery] Need help optimizing/analyzing jquery / json

2009-05-27 Thread andymott
Hello Guys, I have created a site using jquery www.arc-max.com/cruisesearch/ the problem lies in the initial loading of the result page (the front page is a bit slow but that I can optimize that on my own) . I am using json to store the result set. The json file can get a bit bloated up anywhere

[jQuery] jQuery.post - PHP script - redirect

2009-05-27 Thread mrozko
Hi All, I have following problem: I would like to post (jQuery.post) login-form variables to the PHP script (backend.php) for validation and if it is succesfull then redirect to myaccount.php. Here is my code: script type=text/javascript $(document).ready(function() {

[jQuery] jQuery.post - PHP script - redirect

2009-05-27 Thread mrozko
Hi All, I am looking for the solution of this problem: i have a login form. i would like to shake the login-form box, if the authentication (PHP+MySQL) failed. i use jQuery.post for posting the values from login form to the PHP- script (used for validation - named backend.php). This is the

[jQuery] [validate] other language for messages

2009-05-27 Thread elischer.flor...@googlemail.com
Hi, I need to localize my validation plugin in general. Hence I thought I have to override the default code with this one: - //further language validation $(.myForm).validate({ messages: {

[jQuery] Re: Where to find a proper slide effect?

2009-05-27 Thread GaVrA
I am really tired now, so cant think this all the way through but the idea is to animate at the same time outer div by its height and inner by its top value so you get that effect. Something like this maybe: aclick for slide/a div div lorem ipsum lorem ipsum lorem ipsum

[jQuery] Re: [validate] other language for messages

2009-05-27 Thread Jörn Zaefferer
The default messages are defined in $.validator.messages, and you can overwrite those. Take a look at the existing localizations, eg. http://jqueryjs.googlecode.com/svn/trunk/plugins/validate/localization/messages_es.js The bracket issue is documented here:

[jQuery] Validate between textboxes

2009-05-27 Thread ciupaz
Hi all, having 3 textboxes, how can I validate to make one of them required if the other two are not compiled by the user? Thanks in advance. Luis

[jQuery] find reverse

2009-05-27 Thread Peter Marino
Hi jQuery Group, is it possible find a node backwards instead of forwards. i.e. div id=test0 div id=findme / div now I would like to do (remember find_reverse does not exist) $(#findme).find_reverse(#test0); is there any method to do a find_reverse??? regards, Peter Wraae Marino -- Power

[jQuery] Re: Need help optimizing/analyzing jquery / json

2009-05-27 Thread deltaf
I didn't look too closely at the files, but I suggest separating your data from the executing code. Use JSON to create a series of data objects and use a different script to run through those objects and build your page based on search criteria, etc. From what I saw in cruise_json.js, there's a

[jQuery] Re: find reverse

2009-05-27 Thread Caires Vinicius
Do you want to use parent? $(#findme).parent() http://docs.jquery.com/Traversing/parent#expr On Wed, May 27, 2009 at 9:19 AM, Peter Marino marino.pe...@gmail.comwrote: Hi jQuery Group, is it possible find a node backwards instead of forwards. i.e. div id=test0 div id=findme / div

[jQuery] Re: Where to find a proper slide effect?

2009-05-27 Thread M.M.
Thanks Gavra, I just needed the idea :) I added the wrapper animation and it works fine now. For those guys who asked it before, I made 'myslide' effect based on UI 'slide', and it's on http://sklupc.com/slide2 (it works only up/ down for now)

[jQuery] Re: find reverse

2009-05-27 Thread Peter Marino
Hi Caires, something like that but it should continue up the parent until it finds it or return null peter On Wed, May 27, 2009 at 2:21 PM, Caires Vinicius caire...@gmail.com wrote: Do you want to use parent? $(#findme).parent() http://docs.jquery.com/Traversing/parent#expr On Wed, May

[jQuery] Making a button in active

2009-05-27 Thread Fluffica
Good Afternoon (or morning depending on where you are). I really hate posting probably quite simple questions to forums, but this is really foxing me. $(.btn).click(function(){ //.btn is now NOT clickable $(#somethingElse).doStuff(slow, function(){

[jQuery] Validate textbox on particulare selected combo value

2009-05-27 Thread ciupaz
Hi all, I have a select (combobox) like this: select name=role id=role option value=AdminADMIN/option option value=UserUser/option option value=Other id=OtherOTHER (specify)/option /select and a textbox like: input name=txtOther id=txtOther type=text / I'd like to validate

[jQuery] Re: Making a button in active

2009-05-27 Thread Fluffica
Sorry, I should probably add, it's not actually a button. It's an a href=whatever.php class=btn On May 27, 2:05 pm, Fluffica thomas.james.winstan...@googlemail.com wrote: Good Afternoon (or morning depending on where you are). I really hate posting probably quite simple questions to forums,

[jQuery] Re: does selectors $ cache?

2009-05-27 Thread Andy Matthews
No, it does not cache. Each time you make a page query, a new call is made. For better performance, always cache commonly used selectors: $myID = $('#myID'); // $ used for initial var to indicate a jQuery object var text = $myID.text(); var color = $myID.css('color'); Also, you should always

[jQuery] Re: Event behaving

2009-05-27 Thread Andy Matthews
Most likely because the button element doesn't recognize the keypress event. Not every element have the same events. Swap out button for input and try it again, it should work just fine. -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf

[jQuery] Re: find reverse

2009-05-27 Thread Andy Matthews
One thing to remember Peter is that jQuery returns an array. You could do a more comprehensive search, then reverse the returned value. Something like this might work: var $myDivs = $('div').reverse; then search through $myDivs for your preferred value. andy _ From:

[jQuery] Re: find reverse

2009-05-27 Thread M.M.
On May 27, 2:19 pm, Peter Marino marino.pe...@gmail.com wrote: Hi jQuery Group, is it possible find a node backwards instead of forwards. isn't that parents()? (not parent, parents :) http://docs.jquery.com/Traversing/parents

[jQuery] [validate] Which one do I need to put? Very simple question.

2009-05-27 Thread elvisparsley
I could not find any document about this. In js script, are firstname, flasname etc from id or name in the html? For example in js var validator = $(#signupform).validate({ rules: { firstname: required, lastname: required,

[jQuery] Re: find reverse

2009-05-27 Thread Peter Marino
hi, did not see the parents() method before now.. it does look this is what I need.. will check when I get home from work... thanks peter On Wed, May 27, 2009 at 4:49 PM, M.M. mario.maru...@gmail.com wrote: On May 27, 2:19 pm, Peter Marino marino.pe...@gmail.com wrote: Hi jQuery Group, is

[jQuery] Re: Making a button in active

2009-05-27 Thread GaVrA
You can use timeout method, or maybe changing href attribute to href= $(.btn).click(function(){ var oriHref = $(this).attr('href'); //.btn is now NOT clickable $(this).attr('href' : ''); $(#somethingElse).doStuff(slow, function(){ //.btn is now clickable

[jQuery] Re: [validate] Which one do I need to put? Very simple question.

2009-05-27 Thread Jörn Zaefferer
They always refer to the name-attribute! Jörn On Wed, May 27, 2009 at 4:56 PM, elvisparsley okada.s...@gmail.com wrote: I could not find any document about this. In js script, are firstname, flasname etc from id or name in the html? For example in js var validator =

[jQuery] Reuse ajax calls

2009-05-27 Thread Lideln
Hi ! Is there a way to store ajax calls in variables and reuse them later ? I saw that $.ajax is returning the XHR object, maybe it could be a lead ? For example, I would like to do : [code] var SClass = { oSavedAjaxRequest: null, doMyRequest: function() { if

[jQuery] Re: Making a button in active

2009-05-27 Thread Fluffica
I thought oriHref was a fancy part of jQuery there. Well, hopefull thinking. Unfortunatly I've got a long list of dynamic links, and need to disable them all when one is clicked. Putting the original href back into each one doesn't seem possible (at least with my designer trying out this

[jQuery] Re: Making a button in active

2009-05-27 Thread GaVrA
oriHref is just variable containing value of href atribute... :) Could you post some demo page or paste here some code? On May 27, 5:17 pm, Fluffica thomas.james.winstan...@googlemail.com wrote: I thought oriHref was a fancy part of jQuery there. Well, hopefull thinking. Unfortunatly I've

[jQuery] inline script html vs xhtml

2009-05-27 Thread dhoover
I am a bit perplexed at why a simple bit of code I have is firing in HTML but not in the equivalent XHTML. Here is the HTML file (that works as expected): html head titleText Demo/title meta http-equiv=Content-type content=text/html;charset=UTF-8 link rel=stylesheet type=text/css

[jQuery] superfish layout

2009-05-27 Thread Bjorn
Hi all, i want to change the layout of the superfish navbar, but can't get my grip on the CSS. I want to lose the backgrounds so the menu is only text. This way it will fit into my site. Who knows how i do this?

[jQuery] Re: Hiding a cfoutput until clicked

2009-05-27 Thread the lern
You cannot reference coldfusion variables with javascript directly. I would instead wrap each cfoutput in a span and use that. On May 26, 8:12 pm, grabit webmas...@communityonline.co.nz wrote: Hi There i want to hide my phone numbers in an output page so that the viewer has to click an icon

[jQuery] Submitting Form does not refresh Text Area

2009-05-27 Thread nicko
I have 4 forms on my HTML Page and 1 text area in each form. This text area displays some content to user after reading from Database. But when form gets submitted, the textArea does not get refreshed. This is the code: $cgi-textarea({-id= $res.CommentHistoryId,

[jQuery] trying to implement accessible_news_slider in a site

2009-05-27 Thread alberto
I'm trying to implement this http://www.reindel.com/accessible_news_slider/ on http://mercantipercaso.com/ I would to surf .articoli under Eventi but I'm totally lost on how to modify the jquery.accessible-news- slider.js They used an ul in the example,I've got just a div class=articoli/div per

[jQuery] superfish layout

2009-05-27 Thread Bjorn
Hello, i can't get my grip on the CSS of the superfish. I'm using the navbar system, but i want to use it without the backgrounds. So that the menu fits in my site. What do i need to change? Greetings Bjorn

[jQuery] Re: Making a button in active

2009-05-27 Thread M.M.
Why don't you just add the class, like this: $(.btn).click(function(){ if($(this).hasClass('disabled')) //alert(can't touch this!); } else { $(this).addClass('disabled'); $(#somethingElse).doStuff('slow', function(){

[jQuery] Re: Making a button in active

2009-05-27 Thread Charlie
another option is put an overlay over them Fluffica wrote: I thought "oriHref" was a fancy part of jQuery there. Well, hopefull thinking. Unfortunatly I've got a long list of dynamic links, and need to disable them all when one is clicked. Putting the original href back into each one

[jQuery] Re: Where to find a proper slide effect?

2009-05-27 Thread GaVrA
Nemaš frke Mario... ;) On May 27, 2:29 pm, M.M. mario.maru...@gmail.com wrote: Thanks Gavra, I just needed the idea :) I added the wrapper animation and it works fine now. For those guys who asked it before, I made 'myslide' effect based on UI 'slide', and it's

[jQuery] Re: inline script html vs xhtml

2009-05-27 Thread Scott Sauyet
dhoover wrote: I am a bit perplexed at why a simple bit of code I have is firing in HTML but not in the equivalent XHTML. Here is the HTML file (that works as expected): [ ... ] script type=text/javascript src=js/jquery-1.3.2.min.js / This is the culprit. I'm not sure why, but script tags

[jQuery] Re: Reuse ajax calls

2009-05-27 Thread Scott Sauyet
Lideln wrote: Is there a way to store ajax calls in variables and reuse them later ? I saw that $.ajax is returning the XHR object, maybe it could be a lead ? Are you trying to save the XHR object jQuery uses internally, the jQuery parameters to the call, or the results of the call? The

[jQuery] Re: Read Pro JavaScript Techniques?

2009-05-27 Thread Rey Bango
Considering that the list shows Flanagan's book as the only recommendation, I don't find it a viable resource for true recommendations on DOM scripting or JavaScript. Flanagan's book is absolutely amazing but there are plenty of updated books which are outstanding JavaScript resources.

[jQuery] Re: Read Pro JavaScript Techniques?

2009-05-27 Thread Rey Bango
Yep that's an understatement. Then again, they have the same bias towards every major JS framework project. I've made a personal choice not to bother with CLJ due to their obvious biases and the vitriol replies to anyone who goes against their opinions. You will find some good information

[jQuery] Re: jQuery, MooTools, and Prototype - A Comparison

2009-05-27 Thread Rey Bango
That and the fact that we have an amazing community who is willing to work with developers of all experience levels. In addition, we have a core team that is completely accessible and willing to interact with the jQuery community. Essentially, we go to great lengths to: 1) Listen to the

[jQuery] Tablesorter and zebra - does not stripe rows on initial sort

2009-05-27 Thread Matt Brown
With a tablesorter config that looks something like this: $(#table).tablesorter({ cssHeader: sortAble, cssAsc: sortAsc, cssDesc: sortDesc, headers: {3: {sorter: 'time'}}, sortList: sortOrder, widgets: ['zebra'], widgetZebra: { css:

[jQuery] Re: Tablesorter and zebra - does not stripe rows on initial sort

2009-05-27 Thread Matt Brown
Ok so after actually testing if the patch mentioned in that other posting fixes this problem, I can safely say that it does fix my issue :) On May 27, 12:21 pm, Matt Brown matt.br...@citrix.com wrote: With a tablesorter config that looks something like this: $(#table).tablesorter({        

[jQuery] Re: Making a button in active

2009-05-27 Thread Liam Byrne
This is definitely the best option, as you can achieve everything that you might need The disabled css class can a) have the same text colour as the text b) set text-decoration to none c) set the cursor the normal one d) have an a.disabled:hover pseudo-class to do a b Just remember to

[jQuery] Re: find reverse

2009-05-27 Thread dabear
The closest()-method (available since jquery 1.3) would be ideal here, as it stops searching when an element matching the expression is found. See also: http://docs.jquery.com/Traversing/closest Please also note that ids are unique within a document, so just $ (#test0) should be fast enough. On

[jQuery] [validate] multiple labels per form element

2009-05-27 Thread Fountain Internet
I've found the Validate plugin to be really useful, but one issue I have is the label markup that the plugin generates to contain the validation message. Since forms should have label markup associated with the field description (e.g. First name), this means that you end up with two labels

[jQuery] selecting next()'s until I reach a tag

2009-05-27 Thread Andy
Is there a way for me to add the next several blocks until I get to a specific tag? So let's say the code is: h5title/h5 pdescription text/p pdescription text/p h5title2/h5 pdescription text/p pdescription text/p pdescription text/p h5title2/h5 pdescription text/p Basically, I want to

[jQuery] MultiPage Form plugins?

2009-05-27 Thread MPowered
I am looking for a plugin to paginate a multiple page form. I would like to decouple validation and navigation forward and back. What plugins or demos can you recommend for pagination of forms? Thanks.

[jQuery] Re: [validate] mulitpage forms

2009-05-27 Thread MPowered
Please post a link to the multipage form demo. Thanks. -- View this message in context: http://www.nabble.com/-validate--mulitpage-forms-tp16339750s27240p23746573.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.

[jQuery] Re: MultiPage Form plugins?

2009-05-27 Thread MorningZ
if it was me, i'd use UI Tabs to break up the form controls and just group the validation rules (or roll my own validation to keep it per tab)... but that's just a suggestion On May 27, 12:40 pm, MPowered monte.hayw...@gmail.com wrote: I am looking for a plugin to paginate a multiple page

[jQuery] Specifying THUMBS in JCarousel -- sorry if this has been answered elsewhere

2009-05-27 Thread Chad
Probably a stupid newb question, but -- Can I specify the thumbnail files that JCarousel is going to use rather than having the plugin generate its own thumbs? I already have the data -- it seems silly to waste processor time on thumbnail generation when the thumbs are already available. This

[jQuery] Re: selecting next()'s until I reach a tag

2009-05-27 Thread Mauricio (Maujor) Samy Silva
Try: $('h5').nextAll('p'); Maurício -Mensagem Original- De: Andy Para: jQuery (English) Enviada em: quarta-feira, 27 de maio de 2009 14:11 Assunto: [jQuery] selecting next()'s until I reach a tag Is there a way for me to add the next several blocks until I get to a

[jQuery] Re: selecting next()'s until I reach a tag

2009-05-27 Thread Andy
Thanks for the suggestion! That sort of works, but it's also getting the p tags AFTER the next H5, and I don't want it to. On May 27, 1:24 pm, Mauricio \(Maujor\) Samy Silva css.mau...@gmail.com wrote: Try: $('h5').nextAll('p'); Maurício   -Mensagem Original-   De: Andy   Para:

[jQuery] Re: [validate] multiple labels per form element

2009-05-27 Thread waseem sabjee
Show me the HTMlL and explain to me what you want to achieve. I'm sure there is an easier way. On Wed, May 27, 2009 at 6:04 PM, Fountain Internet sijones.uk@ googlemail.com wrote: I've found the Validate plugin to be really useful, but one issue I have is the label markup that the plugin

[jQuery] Re: MultiPage Form plugins?

2009-05-27 Thread waseem sabjee
The UI Tabs is good :) Theres really many forms of pagination. verticle tabbing. horizontal tabbing. numberings etc. you can use Dynamic tabbing if you don't want to do AJAX methods to load content into a container when a certain value is clicked. Did you have anything specific i mind ? On

[jQuery] Re: jQuery, the Ready Function, and Other Javascript - A Dirt Simple Inquiry

2009-05-27 Thread kiusau
On May 26, 12:21 pm, Ricardo ricardob...@gmail.com wrote: 1. Do you get errors if you remove the last 2 spry scripts? 2. Regardless of which script does what, you should put the $().ready ( always after all the scripts as a safety measure, there's no negative impact. 3. If I remember a

[jQuery] Re: jQuery, the Ready Function, and Other Javascript - A Dirt Simple Inquiry

2009-05-27 Thread kiusau
On May 26, 5:51 am, infoaddicted jack.lapla...@gmail.com wrote: According to the documentation, the body of your ready function will execute when the DOM has loaded and is ready to traverse. The last two scripts manipulate the DOM, so I would put the ready function afterward so I could be

[jQuery] Re: input field name include . jquery cann't parse

2009-05-27 Thread Karl Swedberg
On May 26, 2009, at 9:05 PM, RobG wrote: The choice is clear - the OP can simply stop using jQuery selectors for those elements, or stop using jQuery (or any other CSS selector- based framework) at all. Really? That's the only choice? As others have already noted, you can simply escape the

[jQuery] Re: Detect version of internet explorer using jquery

2009-05-27 Thread Karl Swedberg
On May 27, 2009, at 2:47 AM, Nitin Sawant wrote: how to Detect version of internet explorer using jquery?? $.browser.msie $.browser.version also name of browser? You'll probably need to parse the string returned by navigator.userAgent keep in mind, though, that browser sniffing is

[jQuery] Re: [validate] multiple labels per form element

2009-05-27 Thread Fountain Internet
ok, here's a snippet of my HTML: p label for=txtNameName: span class=requiredField*/span/ label br / input type=text id=txtName name=txtName / /p I adapted the Remember The Milk example code to validate my fields. For the above field the resulting markup becomes: p

[jQuery] Re: selecting next()'s until I reach a tag

2009-05-27 Thread Mauricio (Maujor) Samy Silva
Please have a look at: http://docs.jquery.com/JQuery_1.2_Roadmap#.nextUntil.28.29_.2F_.prevUntil.28.29 Maurício -Mensagem Original- De: Andy Para: jQuery (English) Enviada em: quarta-feira, 27 de maio de 2009 14:32 Assunto: [jQuery] Re: selecting next()'s until I reach a tag

[jQuery] disabling all click events on all DOM elements for a small bit of time

2009-05-27 Thread con-man-jake
I am new to jquery and to web development in general. I have many elements (over 100) on a page each with an onclick event listener function. They have different listener function names and varying number of parameters. The functions may take a second or two to process. If I click on any one

[jQuery] Tablesorter is not enabled on my page

2009-05-27 Thread bayadmin
Hello, I am trying out the Tablesorter in Wordpress 2.7.1 to make a membership list sortable. For some reason the sortable features isn't being enabled (or at least visible). I need help find the culprit. Here are the steps I've taken so far: 1) In the header.php file I added the following code

[jQuery] Re: Tablesorter is not enabled on my page

2009-05-27 Thread GaVrA
I think you didnt make selector valid. You need to use them just like you use in css. For instance, you have this: $(1).tablesorter( {sortList: [[0,0], [1,0]]} ); it should be this: $(#1).tablesorter( {sortList: [[0,0], [1,0]]} ); On May 27, 7:26 pm, bayadmin admin.baynet...@gmail.com wrote:

[jQuery] Re: disabling all click events on all DOM elements for a small bit of time

2009-05-27 Thread Lideln
Hi, I think you should use the blockUI plugin. It's really simple, and exactly what you are looking for, unless I'm mistaken. On May 27, 7:58 pm, con-man-jake jakedim...@gmail.com wrote: I am new to jquery and to web development in general. I have many elements (over 100) on a page each with

[jQuery] Re: Reuse ajax calls

2009-05-27 Thread Lideln
On May 27, 6:00 pm, Scott Sauyet li...@sauyet.com wrote: Lideln wrote: Is there a way to store ajax calls in variables and reuse them later ? I saw that $.ajax is returning the XHR object, maybe it could be a lead ? Are you trying to save the XHR object jQuery uses internally, the

[jQuery] Re: [validate] multiple labels per form element

2009-05-27 Thread waseem sabjee
you don't need a plugin to do this for you. its just unnecessary memory usage. all you would need to do is first add a class to your p tag like p class=one then the script $(p.one).append('span class=errorMy Error\/span'): On Wed, May 27, 2009 at 8:22 PM, Fountain Internet sijones.uk@

[jQuery] Re: disabling all click events on all DOM elements for a small bit of time

2009-05-27 Thread waseem sabjee
you this you can use the bind() and unbind() right ? On Wed, May 27, 2009 at 9:17 PM, Lideln lid...@gmail.com wrote: Hi, I think you should use the blockUI plugin. It's really simple, and exactly what you are looking for, unless I'm mistaken. On May 27, 7:58 pm, con-man-jake

[jQuery] Re: Where to find a proper slide effect?

2009-05-27 Thread Ricardo
It's easier to hook the inner element to the bottom and just animate the outer one: http://snipt.org/kgM (avoided wrapInner 'cause it doesn't preserve the original element) On May 27, 12:58 am, GaVrA ga...@crtaci.info wrote: I am really tired now, so cant think this all the way through but

[jQuery] Re: selecting next()'s until I reach a tag

2009-05-27 Thread Andy
That looks great but I don't know how to implement it into my jQuery library. When I include it in the page or in my jQuery file, I get all sorts of errors. On May 27, 2:58 pm, Mauricio \(Maujor\) Samy Silva css.mau...@gmail.com wrote: Please have a look

[jQuery] Re: disabling all click events on all DOM elements for a small bit of time

2009-05-27 Thread James
How about setting a global variable such that it will be 'on' when a function is running, and set back to 'off' when done? Whenever a function sees that it's 'on' it will not execute. Aside from that, knowing you have so many elements with an onclick event, is there any other way to re-work your

[jQuery] Re: selecting next()'s until I reach a tag

2009-05-27 Thread Ricardo
Do a loop like this (this example adds alternating colors to the groups of paragraphs): $('h5').each(function(i){ var colors = ['green', 'red', 'blue']; n = $(this), ps = []; while( (n = n.next()).length !n.is('h5') ) ps.push( n[0] ); $(ps).css('color', colors[i%3]); });

[jQuery] Re: disabling all click events on all DOM elements for a small bit of time

2009-05-27 Thread con-man-jake
Magic. Thank you Lideln. It worked immediately. I was able to do it in seconds. Thank you again. On May 27, 3:17 pm, Lideln lid...@gmail.com wrote: Hi, I think you should use the blockUI plugin. It's really simple, and exactly what you are looking for, unless I'm mistaken. On May 27,

[jQuery] Re: find reverse

2009-05-27 Thread Ricardo
Be aware that closest() returns the element itself if no match is found. I prefer to use $(el).parents('xx:first') to avoid that. Peter, no jQuery method will return null. If nothing is found it will return an empty collection (length == 0). On May 27, 2:03 pm, dabear bjorni...@gmail.com wrote:

[jQuery] Re: [validate] multiple labels per form element

2009-05-27 Thread Fountain Internet
I think you misunderstand what I'm trying to do. The plugin automatically inserts the second label - what I was trying to do was get it to use a span instead of a label, preferably without forking the code. On May 27, 8:24 pm, waseem sabjee waseemsab...@gmail.com wrote: you don't need a plugin

[jQuery] Re: Tablesorter is not enabled on my page

2009-05-27 Thread bayadmin
Hi GaVrA, per your suggestion I added the # sign to the function and it did not make any difference. On May 27, 12:17 pm, GaVrA ga...@crtaci.info wrote: I think you didnt make selector valid. You need to use them just like you use in css. For instance, you have this: $(1).tablesorter(

[jQuery] Re: Tablesorter is not enabled on my page

2009-05-27 Thread Matt Brown
I'm pretty sure it's invalid HTML/CSS/whatever to have elements whose IDs start with a number. Trying using a regular name, such as element1. On May 27, 4:03 pm, bayadmin admin.baynet...@gmail.com wrote: Hi GaVrA, per your suggestion I added the # sign to the function and it did not make any

[jQuery] Re: Tablesorter is not enabled on my page

2009-05-27 Thread Jonathan
the ID 1 is invalid. See http://www.w3.org/TR/REC-html40/types.html#type-name On May 27, 10:26 am, bayadmin admin.baynet...@gmail.com wrote: Hello, I am trying out the Tablesorter in Wordpress 2.7.1  to make a membership list sortable. For some reason the sortable features isn't being

[jQuery] Re: Tablesorter is not enabled on my page

2009-05-27 Thread GaVrA
You are right Matt. ID and NAME tokens must begin with a letter ([A-Za-z]) and may be followed by any number of letters, digits ([0-9]), hyphens (-), underscores (_), colons (:), and periods (.). http://www.w3.org/TR/REC-html40/types.html#type-name On May 27, 10:08 pm, Matt Brown

  1   2   >