[jQuery] Re: create table ID's from index

2009-03-01 Thread Charlie Tomlinson
oddly enough that is the one option that doesn't produce anything ...no firebug errors and no output with selector ending in html() i can print alerts with the cell contents, just can't get the variable and the index to create one output selector tried ...tr alone... then tr td, tr td te

[jQuery] Re: jQuery validation question: validating multiple email inputs

2009-03-01 Thread Stephan Veigl
Hi, you have the same error as above. Having a return statement in a for loop will evaluate the first element only. If you want to validate all emails that's a logical AND conjunction of all single email validations. So you have to have some and function in your code as well. Try something like:

[jQuery] Re: alternate color row starting from a point

2009-03-01 Thread Magritte
Great! Thanks to all, you save me :) On 28 Feb, 20:34, ricardobeat wrote: > Two other ways: > > $('tr.className + tr').each(function(){ >    var nxt = $(this), i=0; >    while (nxt.length){ >      nxt.css('backgroundColor', i%2 ? 'white' : 'red'); >      nxt = n.next(':not(.className)'); >    

[jQuery] Re: JQuery Won't Read remote xml via proxy.. but will read local xml

2009-03-01 Thread mkmanning
The proxy file is being returned as text/html and not text/xml. On Mar 1, 4:00 pm, KrushRadio - Doc wrote: > Okay, I tried using Troy Wolf's Proxy php page...  It's a little more > than what i needed, but it works just fine. > > I think this is something with JQuery itself...  For anyone who wan

[jQuery] Re: Newbie needs Help with jquery logic

2009-03-01 Thread ricardobeat
Not sure what this is an answer too (appear as a new subject), but: $("img:not(this)") You have 'this' as a string in there. That's saying "give me all images which are not a 'this' element". Should be this: $("img").not(this) //passing the actual DOM element to not() I prefer to code it this

[jQuery] Re: Code Simplifying Help

2009-03-01 Thread mkmanning
If your markup will remain as you've shown, you can get away with this: $('select[id^=Branch]').change(function(){ var _this = $(this); ajax_loading_image('.ajax_loading_image'); _this.parent().next().load('get_members',{'ajax':true,'id':_this.val ()},funct

[jQuery] Re: Change CSS depending on page you're on

2009-03-01 Thread ricardobeat
Yes we are! You're not only talking about the low percentage of browsers with JS off, but more important mobile browsers which don't have full support for javascript. That's a big market. Besides that, using pure CSS is faster, simpler, less prone to errors and follows the unobtrusive principles.

[jQuery] jCarousel Effects

2009-03-01 Thread Nic Hubbard
I am wanting to use jCarousel but I am wondering if the only option for effects is to use the easing plugin? Or, is there a way to just simply specify the fade effect?

[jQuery] Adding additional callbacks to image slides

2009-03-01 Thread HM-User
I have a number of image slides which are fading in and out and I am also using the pager option (jQuery Cycle). What I want to know however is, is it possible to invoke a created headline for the image as well as the image's alt? So: function onAfter() { jQuery('#caption').html(this.alt); } dis

[jQuery] Re: create table ID's from index

2009-03-01 Thread mkmanning
Sorry, didn't look closely enough. Your selector is wrong; try this: var country_name= $("td:first",this).text(); On Mar 1, 10:49 pm, Charlie Tomlinson wrote: > where it stands now, tables have no id's  however if i put the variable I'm > taking from a td and write it as "country_name" + this.i

[jQuery] Re: create table ID's from index

2009-03-01 Thread Charlie Tomlinson
where it stands now, tables have no id's  however if i put the variable I'm taking from a td and write it as "country_name" + this.id +i   it produces the variable name (not value) with index    and tables get id's country_name1, country_name2, etc if i remove brackets from country name I get

[jQuery] Re: Change CSS depending on page you're on

2009-03-01 Thread expresso
Nice post! I'll try the body route like everyone else has Maujor wrote: > > > How about use the widely ways to achieve this? > > 1-) Via CSS > Assign an ID to the body element for each page, like: > , , > > and an ID for each menu item like: > > >default.aspx home >

[jQuery] Re: Change CSS depending on page you're on

2009-03-01 Thread expresso
Sure, if the user has it turned off, they're just not going to see the nice highlighted selection on the menu items. But I bet you it's rare that we have to worry anymore about JS being turned off. If that were the case, JQuery and rest would be an "issue" today. expresso wrote: > > Another

[jQuery] Re: Change CSS depending on page you're on

2009-03-01 Thread expresso
Another thing I don't get is why everyone says JavaScript is not ideal. I mean are we all really still worrying about users not having JS turned on in the year 2009 when almost half the sites or more have JS reliant controls and functions on the page? expresso wrote: > > Thanks much for clari

[jQuery] Re: Change CSS depending on page you're on

2009-03-01 Thread expresso
Thanks much for clarifying..! mkmanning wrote: > > > Since it's not a regex, it doesn't matter for the substring if > it's .asp or .aspx (or .as or .a for that matter). Any of those will > do. > > On Mar 1, 10:17 pm, expresso wrote: >> I see now.  Yea, strip out the .aspx (asp is classic, no

[jQuery] Re: tab overflow

2009-03-01 Thread Paul Georges
thanks for the post jack, but that's not quite what i'm looking for. this is something more like it http://groups.google.com/group/jquery-en/browse_thread/thread/8255485ab727257b/ea1137ff12769cbf?lnk=gst&q=tab+scrolling#ea1137ff12769cbf i think this guy's mods are done to an older version of jq

[jQuery] Re: IE no error tracking, jquery not working

2009-03-01 Thread frodosghost
The $(document).ready() is closed here, just must of missed it in the copy. Sorry.

[jQuery] Re: Slideshow Using Ajax

2009-03-01 Thread Nic Hubbard
Actually, it looks like jCarousel might do what I want... On Mar 1, 9:53 pm, mkmanning wrote: > @Nic, can you explain what you're trying to acheive? If you know the > images' urls, then you can just cycle through them and update an img > tag's src attribute for a slideshow. > > On Mar 1, 8:57 pm

[jQuery] Re: Slideshow Using Ajax

2009-03-01 Thread Nic Hubbard
Yes, I know the src URLs. Basically I want the functionality of the jQuery cycle plugin, but when you click the next button, it will load the next image src in through ajax, or a js array. The reason for this is, with the normal slideshows and cycle plugins they load up all the images at the sam

[jQuery] Re: Change CSS depending on page you're on

2009-03-01 Thread mkmanning
Since it's not a regex, it doesn't matter for the substring if it's .asp or .aspx (or .as or .a for that matter). Any of those will do. On Mar 1, 10:17 pm, expresso wrote: > I see now.  Yea, strip out the .aspx (asp is classic, nobody uses that > anymore) > > then take the page name and set the

[jQuery] Re: Change CSS depending on page you're on

2009-03-01 Thread expresso
I see now. Yea, strip out the .aspx (asp is classic, nobody uses that anymore) then take the page name and set the css to whatever element that has that ID as the page name's CSS. thought about that, and to me that's the best way to to it if going the javaScript route. thanks a lot! mkmannin

[jQuery] Re: Change CSS depending on page you're on

2009-03-01 Thread mkmanning
When a user clicks a hyperlink, a new page loads and the code example I gave executes -- on the new page ondomready. It never executed on the click. That's why it's extracting the pathname from the location object. On Mar 1, 10:05 pm, expresso wrote: > I'm saying this: > > 1) User clicks a hyper

[jQuery] Re: create table ID's from index

2009-03-01 Thread mkmanning
If I read you right, you're trying to assign an ID to the table and it doesn't already have one? If that's the case, you reference the table's id in: this.id = country_name +this.id + i; so unless the table already has an id, the second this.id will be undefined. On Mar 1, 10:04 pm, Charlie To

[jQuery] Re: Change CSS depending on page you're on

2009-03-01 Thread expresso
I'm saying this: 1) User clicks a hyperlink, it calls that javascript method which sets some css class 2) user is redirected to whatever page that hyperlink represented 3) you just lost the css that you changed when the user clicked the hyperlink mkmanning wrote: > > > I'm not sure what you

[jQuery] create table ID's from index

2009-03-01 Thread Charlie Tomlinson
have about 150 html tables ( all same format, headings etc). Trying to assign ID's based on fact they all carry appropriate name in same td index in table. not heavily versed in JS and closest I've come is $("table").each(function(i){                var country_name= $("this tr:eq(1) td:eq(

[jQuery] Re: IE no error tracking, jquery not working

2009-03-01 Thread mkmanning
>From your code snippet, it looks like the $(document).ready() isn't closed. On Mar 1, 9:35 pm, frodosghost wrote: > From what I have seen, I have run into a fun error to get. It seems > that something to do with my jquery is breaking IE, but I cannot find > out what it is. So far the code works

[jQuery] Re: Slideshow Using Ajax

2009-03-01 Thread mkmanning
@Nic, can you explain what you're trying to acheive? If you know the images' urls, then you can just cycle through them and update an img tag's src attribute for a slideshow. On Mar 1, 8:57 pm, Ami wrote: > There is no way to load images in AJAX. AJAX is only for text (Like JS/ > CSS/JSON/XML,..

[jQuery] IE no error tracking, jquery not working

2009-03-01 Thread frodosghost
>From what I have seen, I have run into a fun error to get. It seems that something to do with my jquery is breaking IE, but I cannot find out what it is. So far the code works fine in every other browser, except IE. Of course, to make it more confusing, jquery on some previous pages does work, ju

[jQuery] Re: parent load question

2009-03-01 Thread Ami
If it's not on the same domain you must use JSONP. On Mar 2, 7:27 am, mkmanning wrote: > I'll go ahead and ask this here as well: is 'http://test.com/ > remote.html' in the same domain? > > On Mar 1, 8:55 pm, Ami wrote: > > > > > Try to put between and #myelemnt > > > > >   > > > > > Aminad

[jQuery] Re: Load External an DIV within the same DIV.. without tabs

2009-03-01 Thread mkmanning
You can use the new live function http://docs.jquery.com/Events/live#typefn or you can just bind a click event on a containing div and use event delegation by getting the target: //your ajax content here $('#container').click(function(e){ e = $(e.target); if(e.is('a')){

[jQuery] Re: load remote file in parent element (which is a td cell)

2009-03-01 Thread mkmanning
Is 'http://remotefile.html' the same domain? On Mar 1, 5:32 pm, joshm wrote: > I'm having trouble getting this to work (perhaps it can't be done), > basically I want to access an element and I know it's parent is going > to be a node and then I want to populate the (or > innerhtml) with the co

[jQuery] Re: How to find a parent

2009-03-01 Thread Karl Swedberg
On Mar 2, 2009, at 12:07 AM, Rick Faircloth wrote: Only up the DOM, huh? Yes, that's right. http://docs.jquery.com/Traversing/closest#expr It's a convenience method for those who want to roll their own event delegation rather than use .live() --Karl Karl Swedberg www

[jQuery] Re: load remote file in parent element (which is a td cell)

2009-03-01 Thread mkmanning
Sorry if this repeats but it didn't appear to post. Is 'http:// remotefile.html' in the same domain? On Mar 1, 5:32 pm, joshm wrote: > I'm having trouble getting this to work (perhaps it can't be done), > basically I want to access an element and I know it's parent is going > to be a node and t

[jQuery] Re: parent load question

2009-03-01 Thread mkmanning
I'll go ahead and ask this here as well: is 'http://test.com/ remote.html' in the same domain? On Mar 1, 8:55 pm, Ami wrote: > Try to put between and #myelemnt > > >   > > > Aminadav > On Mar 2, 4:15 am, joshm wrote: > > > Can someone explain how to do this, I'm trying to load the parent of

[jQuery] Re: Change CSS depending on page you're on

2009-03-01 Thread mkmanning
I'm not sure what you mean by losing the CSS value? If you load a new page, the CSS loads (preferably in an external stylesheet), and the JavaScript executes ondomready (the JavaScript would have to be on every page, or preferably included in an external file also). From your example markup, each

[jQuery] Re: How to find a parent

2009-03-01 Thread Rick Faircloth
Only up the DOM, huh? -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of mkmanning Sent: Sunday, March 01, 2009 9:45 PM To: jQuery (English) Subject: [jQuery] Re: How to find a parent It checks the current element for a match, and then

[jQuery] Re: Slideshow Using Ajax

2009-03-01 Thread Ami
There is no way to load images in AJAX. AJAX is only for text (Like JS/ CSS/JSON/XML,...) You can use AJAX to load the image source, and put it in , or On Mar 2, 5:53 am, Nic Hubbard wrote: > I have been searching for a jQuery slideshow plugin that can load in > images using ajax.  But I am hav

[jQuery] Re: parent load question

2009-03-01 Thread Ami
Try to put between and #myelemnt   Aminadav On Mar 2, 4:15 am, joshm wrote: > Can someone explain how to do this, I'm trying to load the parent of > an element (which will be a cell) and then load the with the > html from a remote file kind of like so: > > var parent = $('#myelement').par

[jQuery] Re: multiple conditions?

2009-03-01 Thread Ami
var divFocus=false,textareaFocus=false $('div').focus(function () {divFocus=true}).blur(function() {divFocus=false;doSomething()}; $('textarea').focus(function () {textareafocus=true}).blur(function() {textareaFocus=false;doSomething()} function doSomthing() { if (!divFocus && !textAreaFocus) ale

[jQuery] Re: Selector Efficiency?

2009-03-01 Thread Josh Rosenthal
Hi Stephen, My apologies for not getting back to you sooner. I've been sick and my projects have gotten away from me. We now return to the email I'd started writing before I lost track of everything. Thank you! Trebly so! First, yes, the data is ordered based on a template in geoserver th

[jQuery] Re: Newbie needs Help with jquery logic

2009-03-01 Thread Sean O
This was a fun one to play with. I think this is the effect you're after... Demo: http://jsbin.com/iwile Source: http://jsbin.com/iwile/edit It's pretty concise & self-explanatory, but if you have any questions, just reply. SEAN O http://www.sean-o.com http://twitter.com/seanodotcom ixxaln

[jQuery] Re: Change CSS depending on page you're on

2009-03-01 Thread expresso
Also when dealing with Subtext, it's not that simple, I'm trying to figure out how do that in Subtext...the example you spoke of but it's difficult, I need to figure out where I can do this since it's a bit complicated in how they are rending their user controls, default.aspx, etc. expresso wro

[jQuery] Re: Change CSS depending on page you're on

2009-03-01 Thread expresso
Problem with the JavaScript is that you loose the css value after you're redirected to whatever page. You'd have to obviously have to either do some if statements to check which .aspx page y ou went to or send the id of the anchor over in a querystring then grab it in JavaScript to set it again

[jQuery] Re: History/Remote - problem with jquery 1.3.1

2009-03-01 Thread Karl Swedberg
The first thing I would do is check for any instances of the old xpath syntax for attribute selectors: [...@attribute]. For example: a...@href $ ... ] --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Mar 1, 2009, at 9:00 PM, kingofthelowend wrote: I have

[jQuery] multiple conditions?

2009-03-01 Thread homien...@gmail.com
I have a div with a textbod inside of it. When both of these lose focus, so the focus is not on either of them, then I want the div to move. How would I write the code that if both of these lose focus, THEN do whatever i want. I just want to know how to have 2 selectors, and when both of them lose

[jQuery] load remote file in parent element (which is a td cell)

2009-03-01 Thread joshm
I'm having trouble getting this to work (perhaps it can't be done), basically I want to access an element and I know it's parent is going to be a node and then I want to populate the (or innerhtml) with the contents of my remote fileanyone have any suggestions? $(document).ready(function()

[jQuery] Re: History/Remote - problem with jquery 1.3.1

2009-03-01 Thread kingofthelowend
I have the same problem! On Mar 1, 10:25 am, Jim wrote: > The History/Remote plugin (http://stilbuero.de/jquery/history/index.html > ) works great with jquery 1.2.6 but not 1.3.1. The load part of the > plugin works, but the history part is not working. Is there a fix or a > more current plugin

[jQuery] parent load question

2009-03-01 Thread joshm
Can someone explain how to do this, I'm trying to load the parent of an element (which will be a cell) and then load the with the html from a remote file kind of like so: var parent = $('#myelement').parent().load('http://test.com/ remote.html'); I have tried several other variations and the

[jQuery] Slideshow Using Ajax

2009-03-01 Thread Nic Hubbard
I have been searching for a jQuery slideshow plugin that can load in images using ajax. But I am having a really hard time finding one. Does anyone have any recommendations for one?

[jQuery] How to get elements from region?

2009-03-01 Thread Jackal
Hi, The API document.elementFromPoint will give me a element by certain position. But I need a elements by certain region. For example: ABCDEFGHIJKLMNOPQRSTUVWXYZ I need a document.elementsFromRegion(0, 0, 50, 10), it will return 2 elements. How do I implement this API using jQuery or na

[jQuery] Re: Code Simplifying Help

2009-03-01 Thread ramonmaruko
Thank you, it worked perfectly!(aside from the extra ' beside the word "Branch") Time to understand the code. :D MorningZ wrote: > $('select[id^='Branch]').change(function(){ > var idx = this.id.substr(this.id.length - 1); > var selected = $(this).val(); > ajax_loading_ima

[jQuery] Urgent Help: UI Tabs + Accordion jQuery Con flict‏

2009-03-01 Thread nathanwf
I need a little help. I am trying to get two jQuery plugins working together. I have tried a lot of noConflict codes but havent got anywhere with it. Here is the link to both of them working independently. I know it is a small fix, but I've tried it all and can not find the solution. Please Help.

[jQuery] Re: How to find a parent

2009-03-01 Thread mkmanning
It checks the current element for a match, and then proceeds up the DOM from there, through each parent, until it finds a match or returns nothing if no match is found. On Mar 1, 6:36 pm, "Rick Faircloth" wrote: > Do you know how jQ traverses to find the closest match? > > Does it go down all th

[jQuery] Re: Change CSS depending on page you're on

2009-03-01 Thread mkmanning
You can do still do it with asp: http://stackoverflow.com/questions/188124/programmatic-solution-to-change-navigation-id-to-highlight-current-page-asp-net Or if you really want to use JavasScript, the same solution above applies: var pathname = window.location.pathname; pathname = pathname.subst

[jQuery] Re: How to find a parent

2009-03-01 Thread Rick Faircloth
Do you know how jQ traverses to find the closest match? Does it go down all the way to the bottom of the DOM, then up? Or does it go up one, down one, up two, down two, etc., until it finds a match? -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com]

[jQuery] Re: How to find a parent

2009-03-01 Thread Rick Faircloth
Definitely worth mentioning... very handy... -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of mkmanning Sent: Sunday, March 01, 2009 8:23 PM To: jQuery (English) Subject: [jQuery] Re: How to find a parent It's probably worth mentioning

[jQuery] Re: I can't figure out how to implement JQuery into my website

2009-03-01 Thread Rick Faircloth
Here's an example of how the code would look when you link to the jQuery core file and different plug-ins: (This one is what I'm calling the core file...it's the main jQuery file.) You can place the files, such as the ones mentioned above, "jquery-1.2.6.min.js", "jquery.bgiframe.js", and "j

[jQuery] Re: I can't figure out how to implement JQuery into my website

2009-03-01 Thread Josh Powell
It's just a javascript file, put it wherever you put your javascript files. On Mar 1, 12:20 pm, Warfang wrote: > What code do I need to put in my HTML header? I have already > downloaded the JQuery code from JQuery's homepage to my computer, but > where exactly do I put that? I'm using Webs.com

[jQuery] Re: help please

2009-03-01 Thread Rick Faircloth
Glad you're making some progress... With the css, I'd start by commenting out sections of his css to see which parts affect the one you're working on. His css is going to be much more complex than necessary for your purposes since his css is for all the examples on the demo page. But comment ou

[jQuery] Re: jQuery validation question: validating multiple email inputs

2009-03-01 Thread ml2009
Hello - wonder if you could help me. I tried another way to validate multiple email addresses, but I still couldn't figure it out. on code below, only the first email is validated. Any suggestions? jQuery.validator.addMethod("multiemail", function(value, element, param) { if (this.optional(ele

[jQuery] Re: Change CSS depending on page you're on

2009-03-01 Thread expresso
But I'm using a asp.net master page and inheriting it's body. so my pages only will have one global body tag. mkmanning wrote: > > > Unless your only option is to resort to JavaScript, this is something > you could do with CSS alone, if you put an id or class on the body tag > for each page

[jQuery] Re: Change CSS depending on page you're on

2009-03-01 Thread Mauricio (Maujor) Samy Silva
How about use the widely ways to achieve this? 1-) Via CSS Assign an ID to the body element for each page, like: , , and an ID for each menu item like: home about contact And CSS selector for current page is: body#home li#ho a:link, body#about li#ab a:link, bod

[jQuery] Re: Change CSS depending on page you're on

2009-03-01 Thread mkmanning
Unless your only option is to resort to JavaScript, this is something you could do with CSS alone, if you put an id or class on the body tag for each page and just rely on the CSS hierarchy to change the style for each list item. It also has the advantage of working immediately, instead of waiting

[jQuery] Re: How to find a parent

2009-03-01 Thread mkmanning
It's probably worth mentioning that jQuery 1.3 also has a new 'closest' method that would achieve this: $('#cancel').closest('div.popup') On Mar 1, 2:57 am, "Rick Faircloth" wrote: > Glad we could help!  I was close anyway! :o) > > Rick > > -Original Message- > From: jquery-en@googlegro

[jQuery] History/Remote - problem with jquery 1.3.1

2009-03-01 Thread Jim
The History/Remote plugin ( http://stilbuero.de/jquery/history/index.html ) works great with jquery 1.2.6 but not 1.3.1. The load part of the plugin works, but the history part is not working. Is there a fix or a more current plugin to accomplish the same function? Jim

[jQuery] I can't figure out how to implement JQuery into my website

2009-03-01 Thread Warfang
What code do I need to put in my HTML header? I have already downloaded the JQuery code from JQuery's homepage to my computer, but where exactly do I put that? I'm using Webs.com to host now, so do I upload the code to my directory there? From there, how do I add new code from plugins? Sorry for

[jQuery] 'Jerky' copy and extended lines of copy when composing e-mails

2009-03-01 Thread miniMarine
I once saw someones post describing the problem he was having; I'm experiencing the same maddening problem. Now, I can't find him and I can find no mention of a similar problem on any other the other avenues of req assistance. A person in this group posted a similar problem but with graphics or

[jQuery] hi guys do you know any good jquery plugin for photo tagging ?

2009-03-01 Thread PUTRA PRIMA
hi guys do you know any good jquery plugin for photo tagging ? -- Putra Prima A 0410630078 Teknik Elektro Brawijaya 3 ipa 2 smunsa 2004 http://siubie.zxq.net/wordpress/

[jQuery] Including several plugins for ajax loaded content - not just one function

2009-03-01 Thread Zorphas
Hello, I'm having trouble because I have a site where entire pages are loaded through ajax, and I want all the jquery plugins/code that I have to apply to the loaded content. For example: I have a jQuery slideshow plugin, a spelling checker, a richtext editor that changes all the elements with .r

[jQuery] Problem Traversing

2009-03-01 Thread JEF
I am making a slideshow kind of thing on a website and im having some trouble going back and forth from element to element this is the code $(".next").click(function () { $(this).closest(".ego-text").hide(2500).queue(function () { $(this).next(".ego-text").show(2500); }); }); $(".ba

[jQuery] Re: help please

2009-03-01 Thread paulmo
thanks for the feedback rick. it's working now and as is often the case here, not sure why. had to do with the order of several js in the head section. however, my fonts are changed now, and though i scan the screen and tooltip.css files, not getting a font option that adjusts all the text equall

[jQuery] Change CSS depending on page you're on

2009-03-01 Thread expresso
I'm trying to do something simple but this is my first stab at doing this in JQuery. default.aspx home about.aspx about contact.aspx contact

[jQuery] Re: hover on image flickers.

2009-03-01 Thread mkmanning
Since the bigger image completely covers the thumbnail, you could bind the hide() to the div: $('li > img').bind('mouseover',function() { $(this).next("div").show(); }).next('div').bind('mouseout',function(){ $(this).hide(); }); On Mar 1, 4:00 pm,

[jQuery] Jcarousel lite parameter problem

2009-03-01 Thread surreal5335
I am working on adding a feature to jcarousel lite which will allow for continous scrolling when a button is hovered over previous or next. So far I am about half way there but I need to write an ending statment to tell jquery to stop the scroll upon the hover out event. What I have in the comment

[jQuery] JQuery Won't Read remote xml via proxy.. but will read local xml

2009-03-01 Thread KrushRadio - Doc
Okay, I tried using Troy Wolf's Proxy php page... It's a little more than what i needed, but it works just fine. I think this is something with JQuery itself... For anyone who wants to look at this, i've uploaded it to my server: http://ww2.krushradio.com/test/yp/jquery.zip Now... I wanted to

[jQuery] Re: hover on image flickers.

2009-03-01 Thread donb
The hover shows the div, the image in that div overlays the image in the li, the hover ends, and so it flips back and forth between them Try using one of the available plugins that does the same thing, e.g.: http://plugins.jquery.com/project/thumbnail_hover_popup or at least remove the 'unhover

[jQuery] Re: jQ Validate Remote on blur()?

2009-03-01 Thread s.ross
I think that's most of the solution. Thanks. onkeyup would be great to set on a per-element basis. When I get a chance, I'll look through the code and see if I can suggest a patch. Thanks again, Steve On Mar 1, 2009, at 3:19 PM, Jörn Zaefferer wrote: Try this: onkeyup: function(elemen

[jQuery] Re: jQ Validate Remote on blur()?

2009-03-01 Thread Jörn Zaefferer
Try this: onkeyup: function(element) { if ( (element.name in this.submitted || element == this.lastElement) && element.name != "user[email]" ) { this.element(element); } } Let me know if that works for you. Jörn On Sun, Mar 1, 2009 at 10:58 PM, s.ross wrote: >

[jQuery] Re: Performance Question: A Single "document.ready" or multiple?

2009-03-01 Thread Cursief
I don't think you will notice much difference. I'm using multiple in one project as well and didn't notice much change in speed. Rik Jeffrey B schreef: Hello, I'm new to jquery and I've been wondering if there are any performance implications to "packing" all of my jquery code into a single

[jQuery] Accordion and external controls

2009-03-01 Thread zac
I have a accordion menu that expands and contracts with mouse over: $("dd").hide(); var overFn = function(){ $("dd:visible").slideUp("slow"); $(this).parent().next().slideDown("slow"); }; // hover delay var outFn = function(){}; $("dt a").hoverIntent({ over: overFn,

[jQuery] Performance Question: A Single "document.ready" or multiple?

2009-03-01 Thread Jeffrey B
Hello, I'm new to jquery and I've been wondering if there are any performance implications to "packing" all of my jquery code into a single instance of "$(document).ready(function()..." or using separate ones for each goal I want to achieve? All the best, Jeffrey

[jQuery] jquery ui and ajaxForm work only once then does not submit

2009-03-01 Thread Cursief
Hi i'm stuck at the following. I have made a button that puts out a clear request for a form. The flow of this should be: dialog -> if yes -> use ajaxForm to submit -> reload section so in my document ready i have the following: (multiple buttons can exist) $(".blockClear").each(function (i) {

[jQuery] Re: splitter plugin: messes up the layout

2009-03-01 Thread Dave Methvin
Chris, I don't have Firefox 2 handy and it's working fine on Firefox 3. In general it works best to initialize nested splitters from the inside out; there are a few situations where initializing the outer splitter will not work. It looks like your sample is very close to being a table with resiz

[jQuery] Re: help please

2009-03-01 Thread Rick Faircloth
I took the code of the plug-in demo page and stripped everything down to what you have (plus html, title, and body tags) and I still get the styling (gray background with 1px solid black border) on the first example. Just to triple-check, you do have all your .js and .css files in the same folder

[jQuery] jQ Validate Remote on blur()?

2009-03-01 Thread s.ross
I'm very happy with jQuery Validate, but am having difficulty with the following scenario: rules: "user[email]": { required: true, email: true, remote: '/signups/unique_email?lf=' + $ ('.radios[checked]').attr('id') }, As you can see, this

[jQuery] hover on image flickers.

2009-03-01 Thread Tijmen Smit
I was playing around with jQuery and this gallery. The idea is that it shows a bigger image on hover. That part works, but the image just won't stop flickering once you move your mouse over it. I really don't see why it flickers. Why does it do that, and how would I be able to fix it? http://tij

[jQuery] Re: $.getJSON

2009-03-01 Thread Wil Everts
One of my favorite examples of this is the Flickr example on Visual jQuery (http://remysharp.com/visual-jquery/). $.getJSON("http://api.flickr.com/services/feeds/photos_public.gne?tags=cat&tagmode=any&format=json&jsoncallback=?";, function(data){ $.each(data.items, function(i,item){ $

[jQuery] jQuery and Browser Zoom

2009-03-01 Thread Miroku
Is there a way to detect through jQuery when a user zoom the page with the browser options? Thanx in advance ^^

[jQuery] Re: Load External an DIV within the same DIV.. without tabs

2009-03-01 Thread johhnnyboy
http://maxblog.me/ajaxify/demo.php On 1 mrt, 18:03, "Erik R. Peterson" wrote: > Without using TABS, can I place links inside a DIV and replace the   > same DIV with external content from another DIV? > > I'm trying to achieve the effect found in this link using iFrames, but   > I DON'T want to u

[jQuery] Re: help please

2009-03-01 Thread paulmo
sure, thanks: //this code in previous message $(function() { $('#set1 *').tooltip(); }); this in body: Write something. On Mar 1, 1:38 pm, "Rick Faircloth" wrote: > Got a page that can be viewed online or > some code we can

[jQuery] Re: splitter plugin: messes up the layout

2009-03-01 Thread Chris
noone? On Mar 1, 2:02 pm, Chris wrote: > I have prepared a downloadable package that should make the problem > really visible:http://tinyurl.com/adjp4r > > On Mar 1, 12:36 pm, Chris wrote: > > > Maybe I should mention that I'm using Firefox 2. > > > On Mar 1, 12:34 pm, Chris wrote: > > > > Hi,

[jQuery] data object not included in clone?

2009-03-01 Thread sliver
When cloning and element, you can pass a boolean value of true to copy event handlers... what about the data object from jQuery? console.log($('').data('foo', 'bar').clone(true).data('foo')); -- > undefined

[jQuery] Re: css method on span reports block?

2009-03-01 Thread sliver
Is this a bug in 1.3.2 then? On Mar 1, 1:16 pm, Frederik Ring wrote: > Looks like this is a 1.3.2 issue I think. Just tried it with 1.2.6 and > it returned inline in both cases. > > On Mar 1, 6:31 pm, sliver wrote: > > > Im not sure if this is intended, but it leads to some unexpected > > resul

[jQuery] Re: [plugin] jqModal +r14 updated

2009-03-01 Thread Alexandre Plennevaux
that's a nice upgrade Brice! On Sun, Mar 1, 2009 at 9:21 AM, Brice Burgess wrote: > > Plugin Page: http://dev.iceburg.net/jquery/jqModal/ > > updated jqModal to +r14 > > Changes include smart detection of the triggering element. This allows you > to call $.jqmShow() and $.jqmHide() within the

[jQuery] Re: Does removing an element automatically remove bound events from memory?

2009-03-01 Thread sliver
Thanks for the quick response! On Mar 1, 1:42 pm, mkmanning wrote: > As of 1.2.2 bound events and cached data are removed if you use .remove > () or .empty() > > On Mar 1, 9:52 am, sliver wrote: > > > Say you have a page that will alter the DOM extensively through user > > interaction as well a

[jQuery] Re: Does removing an element automatically remove bound events from memory?

2009-03-01 Thread mkmanning
As of 1.2.2 bound events and cached data are removed if you use .remove () or .empty() On Mar 1, 9:52 am, sliver wrote: > Say you have a page that will alter the DOM extensively through user > interaction as well as binding events to those elements. My question > is, are bound events to removed

[jQuery] Re: help please

2009-03-01 Thread Rick Faircloth
Got a page that can be viewed online or some code we can review? Rick -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of paulmo Sent: Sunday, March 01, 2009 9:10 AM To: jQuery (English) Subject: [jQuery] Re: help please just copied enti

[jQuery] $.getJSON

2009-03-01 Thread Alain Roger
hi, i do not understand so well how the function getJSON works. i've read the documentation but i think i miss the point. i would like to pass some argument/parameter to a php file which in return gives me som JSON answer. therefore i wrote the following code: $.getJSON("lg.php", { start: 0, offs

[jQuery] Re: css method on span reports block?

2009-03-01 Thread Frederik Ring
Looks like this is a 1.3.2 issue I think. Just tried it with 1.2.6 and it returned inline in both cases. On Mar 1, 6:31 pm, sliver wrote: > Im not sure if this is intended, but it leads to some unexpected > results: > > console.log($('').css('display')); --> 'block' > > According to W3, span's d

[jQuery] Does removing an element automatically remove bound events from memory?

2009-03-01 Thread sliver
Say you have a page that will alter the DOM extensively through user interaction as well as binding events to those elements. My question is, are bound events to removed elements automatically unbound/removed as well?

  1   2   >