[jQuery] .click with confirm coming up multiple times

2008-07-18 Thread hubbs
I have been working on a script, that will put a URL into a var when a link is clicked. Then, when a second link is clicked a confirm dialog appears, if you click ok, that var is printed. Problem is, it works only the first time you click one of the first links. If you click a second link, and

[jQuery] jQuery in the wild

2008-07-18 Thread Glen Lipka
http://www.sears.com/shc/s/s_10153_12605_Appliances_Dishwashers_Built-In+Dishwashers#viewItems=84&pageNum=1&sortOption=ORIGINAL_SORT_ORDER Sears' using the latest version. They even made their own plugins. http://content.sears.com/shared/js/quickView.js Wow, they have 22 scripts totallying 460k.

[jQuery] Re: Taconite support effects?

2008-07-18 Thread Mike Alsup
> Well I said the changed jQuery(el).show(10, function() {  line > Don't work very well but it working fine in IE 7. Invoking "show" with a speed argument causes it to animate the height and width of the element. That really doesn't sound like a good idea for table rows. Other effects, such as

[jQuery] Re: Using jQuery Form Plugin - submitting special characters

2008-07-18 Thread Pablo Santiago
hubbs, Smart quotes from MS Word are a different charset (windows-1252). To have them correctly displayed you'll need to set your page to this charset and also check that your server accepts it (Firebug can tell you that). However, I'm dealing with a similiar problem... I'm using ISO-8859-1 both

[jQuery] Re: Taconite support effects?

2008-07-18 Thread Alexsandro_xpt
Well I said the changed jQuery(el).show(10, function() { line Don't work very well but it working fine in IE 7. In FF 3 rows was twisted, look: http://img242.imageshack.us/img242/3205/37531080mc8.gif IE 7 http://img295.imageshack.us/img295/4665/iedh1.gif Stranger this! On 18 jul, 21:36

[jQuery] Re: onLoad Confirm and Redirect

2008-07-18 Thread kraftworkz
Nobody can help on this matter? Humn (scratch). Can somebody direct me to a website that maybe better suited to find an answer or help? kraftworkz wrote: > > I'm new to the JQuery world and was trying make a Confirm message popup to > enter a website. The user has to agree before entering a

[jQuery] Re: Taconite support effects?

2008-07-18 Thread Alexsandro_xpt
Wow amazing!!! :D Perfect!!! I tried change line jQuery(el).fadeIn(500, function() { to jQuery(el).show(10, function() { And this don't work very well, Did you know why? Thank you a lot!!! On 18 jul, 19:37, Mike Alsup <[EMAIL PROTECTED]> wrote: > On Jul 18, 6:29 pm, Mike Alsup <[EMAIL P

[jQuery] sfHover Suckerfish not working in IE 6

2008-07-18 Thread lerrow
We are trying to add this horizontal menu to a wordpress site. We are using News Premiums's Live Wire 2.0 Template. You can check the site here http://www.laseleccion.com.ar/argentina, the site is under contruction. This is the css for the Menu /* Menu Horizontal Multi Nivel */ #menu, #menu ul

[jQuery] Re: using the load method in Firefox

2008-07-18 Thread asle
You may look into livequery. http://brandonaaron.net/docs/livequery/ Alle javascript on the loaded content needs to use livequery. Livequery "watches" for the objects if they are not already loaded. I.ex. you want a click event on loaded content named like You would then write js code for that li

[jQuery] Re: Dynamic checkbox not included in submit by jquery.form

2008-07-18 Thread nelsonmichael
Doh! all that and the problem was just that I didn't include a name attribute in the checkboxes, just id's.

[jQuery] Re: Taconite support effects?

2008-07-18 Thread Mike Alsup
On Jul 18, 6:29 pm, Mike Alsup <[EMAIL PROTECTED]> wrote: > > I wish the rows showing one by one. > > > E.g: > > > row number 1 is showing. > > after showed row 1, the row number 2 is showing > > after showed row 2, the row number 3 is showing > > A script like this should do it: > > var $trs =

[jQuery] Re: JTemplates site gone ?!

2008-07-18 Thread Half-Dead
Yes i've come across that one, tho it seems to not be maintained anymore since a long time, and i had some problemes in the way i wanted to use it with IE (as usual..) Main reason i really like jtemplates is because i am very happy with jquery and managed to wrap all of jtemplates functionality i

[jQuery] Create a class on run-time?

2008-07-18 Thread Evert
Is it possible to create css class on run-time with jquery/javascript? if yes, how?

[jQuery] Re: Strongly recommend jQuery In Action book

2008-07-18 Thread John CA
Hi Iain, Wow...must be ESP...I just bought Pro Javascript Design Patterns and then found your recommendation. That is a good sign! John > Date: Fri, 18 Jul 2008 12:29:43 -0700 > Subject: [jQuery] Re: Strongly recommend jQuery In Action book > From: [EMAIL PROTECTED] > To: jquery-en@googlegroups

[jQuery] Re: .removeClass() performance is very low on IE7

2008-07-18 Thread Evert
Thanks! I had fixed my code and your answer inspired me to map the elements with the class into an array. My script become more responsive now. On Jul 8, 8:31 pm, "Joel Birch" <[EMAIL PROTECTED]> wrote: > Hi Evert, > > '.someclass' is a slow selector as it has to check every single > element on

[jQuery] Re: Taconite support effects?

2008-07-18 Thread Alexsandro_xpt
Hi Mike... I wish the rows showing one by one. E.g: row number 1 is showing. after showed row 1, the row number 2 is showing after showed row 2, the row number 3 is showing ... ... ... Understand? Can you help me please? Thank you. On 18 jul, 18:01, Mike Alsup <[EMAIL PR

[jQuery] Re: leandrovieira.com lightbox problems with several images

2008-07-18 Thread Alexsandro_xpt
I don't know your problem, but I have a question. Why you have jquery.dimensions.js in your page? because jQuery core already has dimension plugin. And I think it not necessary. On 18 jul, 17:05, asle <[EMAIL PROTECTED]> wrote: > Hi, > This lightbox plugin works in all browsers. But they mus

[jQuery] Re: Feedback for new plugin idea: ui.querybuilder

2008-07-18 Thread Rene Veerman
I like the idea for this plugin, but fear it might be hard to use once done. Searches can be about anything. How does the UI know what graphics to display for a criterion? How do you plan to communicate a search-query to the server? And what kind of results-display do you propose? On Fri, Jul 18

[jQuery] Re: Taconite support effects?

2008-07-18 Thread Mike Alsup
> I'm trying doing some effects with Taconite and have some sucess. > > My XHR return this: > >     >     some tr xhtml codes >     >     >     >     > > > That work fine, inclusive that XML > > >     >     some tr xhtml codes >     > > > But, I wish fadeIn or show each html tr, one by

[jQuery] Taconite support effects?

2008-07-18 Thread Alexsandro_xpt
I'm trying doing some effects with Taconite and have some sucess. My XHR return this: some tr xhtml codes That work fine, inclusive that XML some tr xhtml codes But, I wish fadeIn or show each html tr, one by one, just like a callback. There a

[jQuery] Re: Lighbox not working

2008-07-18 Thread asle
I can confirm this. The large image opens in the same window and the console says: String.vsprintf("Resource interpreted as %1$@ but transferred with MIME type [EMAIL PROTECTED]", "document", "image/jpeg"): unsupported format character [EMAIL PROTECTED] Treating as a string. file:///System/Library

[jQuery] Re: JTemplates site gone ?!

2008-07-18 Thread Jack Killpatrick
Tossing this out here, as an FYI (alt templating lib): http://code.google.com/p/trimpath/wiki/JavaScriptTemplates We've been using that for nearly 2 years and like it a lot. A neat thing it can do is run any js that you put in the template, too, which makes it handy in lots of ways. I don't r

[jQuery] leandrovieira.com lightbox problems with several images

2008-07-18 Thread asle
Hi, This lightbox plugin works in all browsers. But they must think nobody needs help because I cannot find any forum, help or comments at all Good. Problem is I cannot get the navigation to work with several images. The demo works fine but when I get that on my server it always thinks there is o

[jQuery] using the load method in Firefox

2008-07-18 Thread Princess of Mars
Hi, I'm creating a page that loads content from another page using the JQuery load method. The problem I'm having now is that the content on the page I am loading from has Javascripts that it needs to run functionally. When I load that page, .load('../WebSite/ReportSlide08.html', funct

[jQuery] autocomplete pass extraparams with value of another autocomplete

2008-07-18 Thread emeade
I have 2 autocomplete fields (using Dylan Verheul's autocomplete plugin)...one for city and one for zipcode. I'd like to pass the value of the zipcode field as an extraParam of the city autocomplete and vice versa. My problem is I can't seem to figure out how to get the current value of either fie

[jQuery] Re: Getting "this" to work with my function and jquery

2008-07-18 Thread hubbs
Sorry for not clarifying. action=delete is just something that I want sent through in the query string, it has nothing to do with javascript. Let me explain why I am needing this function: I have a large listing of assets that are in my system. I have created a generic "delete" button bellow a

[jQuery] Re: Getting "this" to work with my function and jquery

2008-07-18 Thread Mike Alsup
> I do not really want to use an inline onclick, but I am a javascript > newbie, and I was unsure how to still pass the two variable to the > function if I did not do it inline. How could I rewrite this so that > my function will still work, but "re-factoring" as you say? You never showed us whe

[jQuery] Demos at docs.jquery.com not working in Opera

2008-07-18 Thread JoonasR
I couldn't find any previous posts about this issue. For some reason none of the demos work in docs.jquery.com using Opera 9.5 nor 9.27. For example page http://docs.jquery.com/UI/Dialog http://docs.jquery.com/UI/Dialog displays only an empty area where the demo should be. A quick look with th

[jQuery] onLoad Confirm and Redirect

2008-07-18 Thread kraftworkz
I'm new to the JQuery world and was trying make a Confirm message popup to enter a website. The user has to agree before entering and ifthey do not agree it sends them somewhere else. My start code is below, can somebody help me with how to add this as a onload when somebody enters the site and a

[jQuery] Re: Hide DOM when clicking outside it? (Newbie Question)

2008-07-18 Thread Rene Veerman
Possibly. Please show us the code / an example.. On Thu, Jul 17, 2008 at 7:41 PM, Doover <[EMAIL PROTECTED]> wrote: > > I have a simple menu which are shown when you click on a link. Is it > possible to hide the menu when I click outside it? > > Any help are appreciated. Thanks. >

[jQuery] Re: Strongly recommend jQuery In Action book

2008-07-18 Thread iain duncan
Seconded, it's a really well done book. As is the Rhino. Also excellent is Pro Javascript Design Patterns. Iain

[jQuery] Issues with .css( )

2008-07-18 Thread benjam
I have looked and looked, and I get the same error everytime I try to use the .css( ) function with { }: missing : after property id Here is my code: $(this).css({ font-weight: 'bold', font-size: 'larger' }); Maybe a fresh pair of eyes will help?

[jQuery] Re: JTemplates site gone ?!

2008-07-18 Thread Half-Dead
Thank's a lot for the feedback and the zipfile !;) Sure hope the site will be back tho, cause not only did it have a few nice examples on it on how to use the library, but i really think this is really one of the best template libraries out there (javascript- wise anyways). - Robert

[jQuery] Re: Lighbox not working

2008-07-18 Thread pedramphp
Yup I just test it , it works with other browsers but in safar 3.1.1 it doesn't work but the old version worked I'm talking about the Direct LInk http://www.balupton.com/sandbox/jquery_lightbox/ On Jul 18, 1:57 pm, Michael W <[EMAIL PROTECTED]> wrote: > I've actually used this lightbox an

[jQuery] Re: How to queue up ajax requests?

2008-07-18 Thread Abba . Bryant
or, blockUI the interface on each click and load once per click. This will mean the user has to space their clicks out because they CANT click more times. On Jul 17, 7:39 am, wick <[EMAIL PROTECTED]> wrote: > partner[etc], > > > Currently, when the pan ends, an onEnd event is fired, which then >

[jQuery] Re: jScrollPane with jQuery 1.2.6

2008-07-18 Thread Samer E. Ziadeh
yea I have my style loading before the script, but as Kevin pointed out the version differences, I have version 4702 so I will try to update to 4765 later on today or tomorrow and hope it works. I'll keep this letter posted with whatever happens On Tue, Jul 15, 2008 at 10:44 AM, Kevin Ashworth <[E

[jQuery] Re: Getting "this" to work with my function and jquery

2008-07-18 Thread hubbs
Thanks for the help. I do not really want to use an inline onclick, but I am a javascript newbie, and I was unsure how to still pass the two variable to the function if I did not do it inline. How could I rewrite this so that my function will still work, but "re-factoring" as you say? On Jul 18

[jQuery] Want slide over effect for forms

2008-07-18 Thread Sam
Hi, I'm developing a form in ASP.NET that allows users to enter a new company and its address. I want this in three steps and want a slide over effect in between steps i.e. In Screen 1, the user sees a few texbox controls to enter company's name, # of employees, EIN, etc. When the user clicks ne

[jQuery] Re: JTemplates site gone ?!

2008-07-18 Thread chris thatcher
Gosh I was just there recently, seems strange indeed. I have a very recent zip of the source if you need it. I also use jtemplates a lot. Hmm... so hopefully it's just that they forget to renew the domain name or failed to pay the bill for hosting. In the worst case I'm willing to try to help

[jQuery] Re: Getting "this" to work with my function and jquery

2008-07-18 Thread Mike Alsup
On Jul 18, 12:58 pm, hubbs <[EMAIL PROTECTED]> wrote: > I might be getting confused about the proper use of "this".  I thought > I understood how this worked, and that since I am triggering the > onclick even on an anchor, that the "this" would be in the context of > that anchor tag, so that I c

[jQuery] Re: Contiunuous Scrolling

2008-07-18 Thread EllisGL
What you could do is use DIVs to make a function that loops the movement with hover.. On Jul 18, 8:27 am, juro <[EMAIL PROTECTED]> wrote: > Hi, > > When using the jcarousel plugin -http://sorgalla.com/projects/jcarousel/ > - I would like the carousel to keep on scrolling until the end, as > long

[jQuery] ajax response content type interception

2008-07-18 Thread Mike Nichols
I submitted a patch a long time ago here http://dev.jquery.com/ticket/2890 that allows the response content type to determine how jquery handles the response (script, html, etc). This is not being looked at or applied (not sure why) so I was wondering if there is a way to intercept the response to

[jQuery] Re: "not" not working (newbie)

2008-07-18 Thread besh
Hi Daniele, at the time you're attaching the click event, the paragraph has no class and thus it will accept the click event (which then works "forever"). You have to rebind all the events after the DOM has been changed. There's some interesting reading about events on Karl Swedberg's famous web

[jQuery] Re: Getting "this" to work with my function and jquery

2008-07-18 Thread EllisGL
er: var asseturl = $("#"+assetid).attr("href"); On Jul 18, 12:14 pm, EllisGL <[EMAIL PROTECTED]> wrote: > Try this: > function deleteAjaxAsset(message, assetid) >  { >   var asseturl = $("#"+assetid.attr("href")); > >   alert(asseturl); > >   var confirmDelete = confirm(message); > >   if(confi

[jQuery] Re: "not" not working (newbie)

2008-07-18 Thread EllisGL
you have a syntax error $("p:not(.open)").click(function() { // Do something $(this).addClass("open"); }); On Jul 18, 11:02 am, Daniele <[EMAIL PROTECTED]> wrote: > Hi. I am doing a simple thing summarized as follow: when i click on a > paragraph i want it to do something only the first tim

[jQuery] Re: jQuery injecting problem

2008-07-18 Thread Karl Swedberg
Thanks, guys, for bringing this to the attention of the discussion list. I'm at a loss as to how to fix it. If anyone else has a suggestion, please advise. Here is the bookmarklet script, after reformatting for legibility: (function() { var s = document.createElement('script'); s.setAtt

[jQuery] Re: Getting "this" to work with my function and jquery

2008-07-18 Thread EllisGL
Try this: function deleteAjaxAsset(message, assetid) { var asseturl = $("#"+assetid.attr("href")); alert(asseturl); var confirmDelete = confirm(message); if(confirmDelete == true) { if(action == "delete") { $.ajax( { type : "POST", url : asseturl + "?ac

[jQuery] Re: Issues with .css( )

2008-07-18 Thread Karl Swedberg
On Jul 18, 2008, at 12:27 PM, benjam wrote: I have looked and looked, and I get the same error everytime I try to use the .css( ) function with { }: missing : after property id Here is my code: $(this).css({ font-weight: 'bold', font-size: 'larger' }); Maybe a fresh pair of eyes will help?

[jQuery] Re: AutoComplete and JSon not working as expected. Please, help me out.

2008-07-18 Thread Lucius Vorenus
Tty to use this http://fromvega.com/wordpress/2007/05/05/auto-complete-field-with-jquery-json-php/ Maybe it helps

[jQuery] Re: Interface Elements problem!

2008-07-18 Thread Karl Swedberg
Hi there, Interface is no longer being supported. If you're able, please upgrade jQuery to 1.2.6 and head on over to http://ui.jquery.com/download_builder/ and scroll down to download the new UI effects. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Ju

[jQuery] Getting "this" to work with my function and jquery

2008-07-18 Thread hubbs
I might be getting confused about the proper use of "this". I thought I understood how this worked, and that since I am triggering the onclick even on an anchor, that the "this" would be in the context of that anchor tag, so that I could grab its href. Here is what I have done, but it is returni

[jQuery] Re: jQuery injecting problem

2008-07-18 Thread Raphael Saunier
Hi Sam, I'm having the exact same problem when I try to "inject" jQuery using that bookmarklet on certain sites (e.g.: reddit.com, livejournal.com, etc...). Obviously, the cause of the problem is the JavaScript code already on the site. All of these sites have messed with the "Object.prototype" an

[jQuery] Re: UI-Tabs: How to get the text of selected tab?

2008-07-18 Thread Klaus Hartl
Not very well either. jQuery has a text method already. $('#example').tabs({ select: function(ui) { alert( $(ui.tab).text() ); } }); --Klaus On Jul 18, 7:39 am, RobG <[EMAIL PROTECTED]> wrote: > On Jul 18, 1:09 pm, zlich <[EMAIL PROTECTED]> wrote: > > > i figured it out > > No

[jQuery] Interface Elements problem!

2008-07-18 Thread mumf83
jQuery: 1.1.2 Interface Elements: 1.2 I'm new to jQuery and I'm using the slide FX effect from Interface Elements. I'm currently using the SlideOutLeft and SlideInLeft event. And for some reason when I use a callback parameter, which should get called after the effect has finished, according to t

[jQuery] Re: [Validate]

2008-07-18 Thread Jörn Zaefferer
Yes, either select a form or some input element. Both works. if ($("#myform").valid()) alert("yeah!") if (!$("#myinput").valid() alert("n!") Jörn On Fri, Jul 18, 2008 at 3:18 PM, yang <[EMAIL PROTECTED]> wrote: > > Hi all, > > In the API documentation for Validation plugin, it is written th

[jQuery] "not" not working (newbie)

2008-07-18 Thread Daniele
Hi. I am doing a simple thing summarized as follow: when i click on a paragraph i want it to do something only the first time. I was able to do it using "one( type, data, fn )" but before that I tried using a different approach like this: $("p:not(.open)").click(function () { // do something

[jQuery] Re: Input field: focus=remove text; blur=put it back

2008-07-18 Thread Karl Swedberg
well, mine isn't really a public plugin. but it made sense to write it as a plugin for myself so I could use it easily in multiple projects. Feel free to use anything you want in it, though, for jQuery UI Forms. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: Input field: focus=remove text; blur=put it back

2008-07-18 Thread Jörn Zaefferer
Another one, with, despite its name, support for password fields (by cloning the field and displaying a normal input while not focused): Demo: http://dev.jquery.com/view/trunk/plugins/searchField/ Source: http://dev.jquery.com/view/trunk/plugins/searchField/jquery.searchField.js Usage: $("input"

[jQuery] jCal Calendar & jquery version 1.2.6

2008-07-18 Thread jckeyes
Currently developing a project using the latest release of jquery (1.2.6). I'm also using the jCal calendar plugin. I have been having some quirky issues with it in IE. The problems seems to stem from the fact that jCal (at least on the demo page) runs of jquery 1.2.3 to work properly. I would

[jQuery] Superfish DropDownMenu

2008-07-18 Thread Bouki
hi, i would like to realize something like that http://css.alsacreations.com/xmedia/exemples/accordeon/menu_demo.html except that it have to slides up and down on mouse over i'm using jquery and superfish to do so, i tried to remove the position:absolute and position:relative from css, it look l

[jQuery] Re: Input field: focus=remove text; blur=put it back

2008-07-18 Thread Jörn Zaefferer
I mean, what the hell, at least 6 plugins for such a basic feature?? Jörn On Fri, Jul 18, 2008 at 5:56 PM, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > Another one, with, despite its name, support for password fields (by > cloning the field and displaying a normal input while not focused): > > De

[jQuery] How can the selector match the last 2 selected element.

2008-07-18 Thread chrisyue
The selector can match last one elememt by using ":last", but how about last n elements?Are there some simple way to do this?

[jQuery] Re: Feedback for new plugin idea: ui.querybuilder

2008-07-18 Thread chris thatcher
Are you familiar with OpenSearch? I bring it up because the OpenSearch has already provided some of the semantics to help generalize the search issue. At some point I had built a client with jquery for opensearch + atom and opensearch-suggest + json, but can't share it because it was part of some

[jQuery] Re: How can the selector match the last 2 selected element.

2008-07-18 Thread Mike Alsup
> You could also just use the slice() method :-) > > $('div').slice(-2); Nice!

[jQuery] Re: JTemplates site gone ?!

2008-07-18 Thread Dave Ward (Encosia)
I can't remember if it's as complete as what was on the jTemplates site, but the 0.7 download includes decent documentation: http://plugins.jquery.com/files/jTemplates_0_7_0.zip On Jul 18, 6:17 am, Half-Dead <[EMAIL PROTECTED]> wrote: > Hi, > > Seems likehttp://jtemplates.tpython.comdropped of t

[jQuery] Feedback for new plugin idea: ui.querybuilder

2008-07-18 Thread Keith Hughitt
Hi all, I've started designing a jQuery UI plugin for building complex search queries in a visual fashion, and wanted to see what people though, or if people had any suggestions. Once the plugin is finished, anyone is welcome to use it of course. I also posted this message in the jQuery UI group,

[jQuery] Re: jQuery animate (help needed)

2008-07-18 Thread Geir
Wow! You are amazing! I felt stuck on this. Tried Talkfrilance.com, but no answers. And here you are enlightening me.. Thanks a lot! (I'll post again when I tried out the new code)

[jQuery] Problem with long request

2008-07-18 Thread k8
Hi guys, i have a one problem.. Script JS: $().ready(function() { $(window).load(function () { $("#content").append("Connessione in corso.."); $.get("bot.php", function(data){ $("#content").html(data); }); });

[jQuery] jQuery.find() in XMLHttpRequest.responseText?

2008-07-18 Thread Toxane
Hi I'm trying to find paragraphs in the XMLHttpRequest.responseText but always get typeof object instead of a string. The responseText contains a full HTML Document: var myText = new jQuery('' + jQuery(XMLHttpRequest.responseText).find('p') + ''); jQuery('#myID').text(myText); Any help please

[jQuery] Re: jQuery Cycle Pager Vertical Scroll

2008-07-18 Thread greencode
Thanks anyway... I'll just have to try to think of a workaround. On Jul 18, 3:55 pm, Mike Alsup <[EMAIL PROTECTED]> wrote: > > I'm using the Cycle Plugin and want to add numbers across the top > > (pager) and then when I click on these numbers the images scroll > > vertically up and down. I can d

[jQuery] Re: jQuery animate (help needed)

2008-07-18 Thread Mike Alsup
> Dang, Mike. I'm sure glad you're around to correct my mistakes. Right back atcha, Karl. :-)

[jQuery] Multiple fields validation [Validate]

2008-07-18 Thread yang
Hi all. I have a complex situation. I have lots of fields and 3 main parts in a form. I have to validate all parts seperate from other parts and have to display error messages in specific parts. Below is a simple visual representation of my form: -- Main Form --- Part 1 (Div) - C

[jQuery] Re: jQuery Cycle Pager Vertical Scroll

2008-07-18 Thread Mike Alsup
> I'm using the Cycle Plugin and want to add numbers across the top > (pager) and then when I click on these numbers the images scroll > vertically up and down. I can do it where it always scrolls up or > always down but I want it up and down. For example: > > If I have 3 images and I'm on the 1st

[jQuery] Strongly recommend jQuery In Action book

2008-07-18 Thread john6630
As a newbie, I am always appreciative of recommended resources. And this one time, I get to return the favor by highly recommending "jQuery In Action" from Manning press by Bear Bibeault and Yehuda Katz. It is very well written and well organized. The examples are accurate and complete. Given I ha

[jQuery] jQuery Cycle Pager Vertical Scroll

2008-07-18 Thread greencode
Hi, I'm really new to all of this so please be kind... I'm using the Cycle Plugin and want to add numbers across the top (pager) and then when I click on these numbers the images scroll vertically up and down. I can do it where it always scrolls up or always down but I want it up and down. For ex

[jQuery] Gdata How to Send Put Request for Multiple Events (in atom feed format)

2008-07-18 Thread Ed
How do you send an HTTP Put Request that delivers a gdata atom feed ( ex = feed.xml) to Google Calendar? I can't find any info about it here: http://code.google.com/apis/calendar/developers_guide_js.html#Interactive_Samples

[jQuery] Re: jQuery animate (help needed)

2008-07-18 Thread Karl Swedberg
On Jul 18, 2008, at 9:25 AM, Mike Alsup wrote: clip is a valid css property but it is not supported by jQuery's animate function. If you need to animate the clip property then you have to do it manually (without using animate). Mike In that case, the problem with the first part of his cod

[jQuery] Patch to make ajaxStop event fire on cross-domain/subdomain use of getScript/ajax

2008-07-18 Thread Lars Rune Nøstdal
Hey, I couldn't get the ajaxStop global event to fire on errors (connection dropped etc.) when doing cross-domain/subdomain calls to getScript/ajax without doing this: --- old-symbolicweb/javascript/jquery-1.2.6.js 2008-07-18 13:38:02.0 +0200 +++ new-symbolicweb/javascript/jquery-1.2.6.

[jQuery] Re: Query on JQuery - Related to Panels, AJAX Form Submit

2008-07-18 Thread Pawan Jadhav
ya, i am re-architecting product. currently i am using frames and wants to use panel instead. On Jul 17, 11:15 pm, jquertil <[EMAIL PROTECTED]> wrote: > you're looking at pretty much completely re-architecting your app. I > originally thoguht ajax-loading scripts and css is a no-brainer, but > d

[jQuery] [jCarousel] Error on Resizing when Carousel is Hidden

2008-07-18 Thread juro
Hi, When I hide the div a jcarousel is on and resize the browser I get this error: jCarousel: No width/height set for items. This will cause an infinite loop. Aborting... As the jCarousel is in the page flow and all the items are populated, I don't understand why this error comes up. Can anyone

[jQuery] Re: Input field: focus=remove text; blur=put it back

2008-07-18 Thread Karl Swedberg
I really like this approach, Scott! The advantage it has is that it plays nicely with form validation. Not an issue with a simple search field, but for larger forms in which the fields need to be empty unless user enters text, the other approach could foil validating on required fields beca

[jQuery] Re: How can the selector match the last 2 selected element.

2008-07-18 Thread Karl Swedberg
On Jul 18, 2008, at 9:22 AM, Mike Alsup wrote: You could create a new selector shortcut for that case like this: jQuery.expr[':'].lastx = function(a,i,m,r){return i>=r.length-m[3];}; And then use it like this: var lastTwoDivs = $('div:lastx(2)'); You could also just use the slice() method

[jQuery] Re: jQuery animate (help needed)

2008-07-18 Thread Karl Swedberg
Dang, Mike. I'm sure glad you're around to correct my mistakes. Two in one day! :-D --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jul 18, 2008, at 9:25 AM, Mike Alsup wrote: clip is a valid css property but it is not supported by jQuery's animate functi

[jQuery] Re: My first jQuery plugin

2008-07-18 Thread Karl Swedberg
On Jul 18, 2008, at 9:13 AM, Mike Alsup wrote: Yes, Sam's selector will definitely stop climbing the DOM once it finds the first match. That's what the :eq(0) part does. Actually, I don't think that's true. I believe :first, :last, :eq, etc apply their logic after the list of potential e

[jQuery] Re: Two versions of jQuery for two plug-ins!

2008-07-18 Thread Karl Swedberg
Hi Jagadeesh, If you could provide a link to the FastFind menu, I bet someone could do a quick upgrade patch for you. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jul 18, 2008, at 8:53 AM, Jaggy wrote: Dear All, I am no more a developer, so pardon i

[jQuery] [jCarousel] Contiunuous Scrolling

2008-07-18 Thread juro
Hi, When using the jcarousel plugin - http://sorgalla.com/projects/jcarousel/ - I would like the carousel to keep on scrolling until the end, as long as the user 'hovers' over the arrow. Hovering isn't the problem, continuous scrolling is. Maybe I have to use a different plugin but I haven't fo

[jQuery] Re: Override XMLHTTPRequest

2008-07-18 Thread Mike Alsup
> Is there a way to override the XMLHTTPRequest object used in jQuery’s > AJAX API? > I would like to use a custom implementation of XMLHTTPRequest. Practically speaking, no, this is not currently supported. For non-IE browsers you could redefine the XMLHttpRequest function to your own implement

[jQuery] [Validate]

2008-07-18 Thread yang
Hi all, In the API documentation for Validation plugin, it is written that valid() method can validate "selected elements". Can someone help me for the usage of this method? Can it be done with jQuery selectors, like: $('elements').valid() ? Thank you.

[jQuery] Re: jQuery animate (help needed)

2008-07-18 Thread Mike Alsup
clip is a valid css property but it is not supported by jQuery's animate function. If you need to animate the clip property then you have to do it manually (without using animate). Mike > The problem is that clip is not a valid HTML attribute. As far as I   > know, it was only used for the ele

[jQuery] Re: How can the selector match the last 2 selected element.

2008-07-18 Thread Mike Alsup
> The selector can match last one elememt by using ":last", but how > about last n elements?Are there some simple way to do this? You could create a new selector shortcut for that case like this: jQuery.expr[':'].lastx = function(a,i,m,r){return i>=r.length-m[3];}; And then use it like this: v

[jQuery] Re: jQuery animate (help needed)

2008-07-18 Thread Karl Swedberg
Hi Geir, The problem is that clip is not a valid HTML attribute. As far as I know, it was only used for the element in Netscape 3 and 4. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jul 18, 2008, at 6:48 AM, Geir Solerød wrote: Hi! I'm rather new to

[jQuery] Re: My first jQuery plugin

2008-07-18 Thread Mike Alsup
> Yes, Sam's selector will definitely stop climbing the DOM once it   > finds the first match. That's what the :eq(0) part does. Actually, I don't think that's true. I believe :first, :last, :eq, etc apply their logic after the list of potential elements has been built. The results are accurate

[jQuery] Re: mixing validate, and ajaxSubmit

2008-07-18 Thread Andiih
Could (should) you add a classes section to the documentation. I know I could, but I don't feel worthy! Andrew On Jul 17, 6:07 pm, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > Yes, thats exactly it! > > You can still fall back to metadata, eg. class="required {min:2}" > (just include the metad

[jQuery] Two versions of jQuery for two plug-ins!

2008-07-18 Thread Jaggy
Dear All, I am no more a developer, so pardon if my request sound stupid! I saw the following 2 plug-ins of jQuery interesting for our application: 1) FastFind Menu, it requires jQuery1.0 2) Rounded Corners, it requires jQuery 1.2.3 Basically, FastFind Menu doesn't work if I use jQuery 1.2.3!

[jQuery] Re: Difference between two code fragments

2008-07-18 Thread Karl Swedberg
I'm not seeing any obvious problems with the second version, except that you should do ... var e = $(this); rather than just ... e = $(this); But probably a better way to accomplish the same thing would be to just chain the two methods to the same selector: $("#subsections_tabs :text")

[jQuery] Re: My first jQuery plugin

2008-07-18 Thread Karl Swedberg
Hi Pete, Yes, Sam's selector will definitely stop climbing the DOM once it finds the first match. That's what the :eq(0) part does. The :first selector does the same thing as :eq(0), so this would work equally as well: $("#myelement").parents("table:first") --Karl Karl Swedb

[jQuery] Re: Query on JQuery - Related to Panels, AJAX Form Submit

2008-07-18 Thread Pawan Jadhav
is there anything to execute that script and CSS On Jul 17, 8:06 pm, Mike Alsup <[EMAIL PROTECTED]> wrote: > >         I have following requirement for doing submit using AJAX. > >         I have a form which contains 15-20 input fields/attributes, > >  user can enter special character in those f

[jQuery] jQuery animate (help needed)

2008-07-18 Thread Geir Solerød
Hi! I'm rather new to js, jQuery (and this mail-list). I'm trying to make a fancy menu using jQuery. I need some help.. This is my code so far, but I've only had sucsess with the three first lines. After that I don't know what is wrong.. $(document).ready(function(){ $('#K_meny'

[jQuery] Combination selector

2008-07-18 Thread zerowing
Hi all, I want to know if I can do a combination of selector? If want to select both class and id, how can I do that? In my css I have this (.openBloc #blc2 { ... } ) but when I wrote this in javascript $(' div.openBloc > #blc2 ') it's not working in IE6. I need to select both because I have the

[jQuery] Re: What's the syntax for this.find('input','textarea').each...?

2008-07-18 Thread nood
Ah! Perfect. Thanks. On Jul 17, 7:10 pm, jquertil <[EMAIL PROTECTED]> wrote: > 'input','textarea' ==> this would try to find INPUT tags inside a > context of TEXTAREA tags. > > you want: > > 'input, textarea' ==> remember the jquery selectors behave like CSS > selectors.

  1   2   >