[jQuery] Re: Javascript city state zipcode country component

2009-03-20 Thread Vijay
Do you use this from the client side using Javascript like jquery ? Thanks for your response. Vijay On Mar 19, 7:47 am, ricardobeat wrote: > I'm using Maxmind's GeoLite City open-source database. It's free and > has surprising accuracy. They also have paid webservice plans with > more precise da

[jQuery] Re: Javascript city state zipcode country component

2009-03-20 Thread Vijay
Thanks for your response. I am looking for a full fledged commercial ready to use product hopefully making a call from the client side. Vijay On Mar 19, 9:04 am, MorningZ wrote: > Another option to possible look at > > http://bassistance.de/2009/03/03/jquery-snippet-autocomplete-city-bas... > >

[jQuery] Re: is it possible to do this (ignore clicks)

2009-03-20 Thread Steven Yang
i believe you can simply do e.stopPropagation()because you get event bubbling for the events inside the div all the events bind to element inside your div should use e.stopPropagation() please correct me if i am wrong

[jQuery] Re: Call for contributors: A simple, fast and flexible grid/spreadsheet component.

2009-03-20 Thread Tin
Sridhar, The grid itself is fairly data-agnostic. It reads the data through the JavaScript array interface, but what drives the datasource is completely arbitrary. The examples on the project home page show several ways of feeding the data to the grid. Examples #1-#3 load the data directly in

[jQuery] Re: Call for contributors: A simple, fast and flexible grid/spreadsheet component.

2009-03-20 Thread Tin
BTW, I *did* mean to say 50'000 items - that's not a typo. The example is set to use 500 rows, but setting it to 50'000 works reasonably well in IE7, which by my benchmarks (http:// slickgrid.googlecode.com/svn/trunk/model%20benchmarks.html) is about 4 times slower than FF3 and Chrome/Safari. Th

[jQuery] Cross-Domain Jquery event?

2009-03-20 Thread david.0pl...@gmail.com
I ask you gurus of jquery because I have no clue if this thing is even possible: I'll try to explain: I have several domains, which resides on the same server, on top of the page of each domain there's an with the same content for every domain (there's a precise reason for this but it's complex

[jQuery] Re: findValue

2009-03-20 Thread Bright Dadson
Thanks very much guys for the advice - it is really usefull to me. Apppreciate it alot. Quick question! my code has been altered to reflect the change suggested, like this; $("#operator").autocomplete("auto.php", { delay:10, lineSeparator: "^", cacheLength: 10, mat

[jQuery] Re: compare jQuery objects

2009-03-20 Thread DBJDBJ
Urgh, I was typing too fast ;o( Meaning was lost. This is the amended versio : On Mar 20, 9:45 am, DBJDBJ wrote: > The real issue is architecture of jQ. By design jQ object keeps its > state. State being array of references to dom nodes aka elements. > The "references" NOT the objects. The point

[jQuery] Re: compare jQuery objects

2009-03-20 Thread DBJDBJ
The real issue is architecture of jQ. By design jQ object keeps its state. State being array of references to dom nodes aka elements. The "references" no the objects. The pointers. One has to expect that anything can happen to the objects which are being referenced. Example: var $1 = $("#sprite

[jQuery] Re: Do you figure out how to do this?

2009-03-20 Thread Adrian Grigoras
So if I use a reverse proxy it will work.In this case there will be seen as a single domain. On Mar 20, 5:24 am, James wrote: > No, I believe that calling example1.mydomain.com from > example2.mydomain.com will still not work. That is also considered a > separate domain. > > On Mar 19, 4:47 am,

[jQuery] Re: Cross-Domain Jquery event?

2009-03-20 Thread Martin Möller
david wrote: > in fact the .centerPopup > resides on a completely different domain. > Now is there a workaround for this? Dear David, you could read up on: Cross Frame Communication with Fragment Identifiers http://www.tagneto.org/blogcode/xframe/ui.html#pipeMessage_1237544371429 And this migh

[jQuery] Re: Validation and Tabs plugins compatibility

2009-03-20 Thread Jörn Zaefferer
I've released an update to the validation plugin, including a demo showing integration with jQuery UI tabs: http://jquery.bassistance.de/validate/demo/tabs Jörn On Tue, Jul 8, 2008 at 10:56 PM, peace4theapes wrote: > > Diego, > > Thanks for the reply. I tried this idea but it threw up another >

[jQuery] jQuery.strict === true

2009-03-20 Thread DBJDBJ
http://x.dbjsystems.com/blog/?p=86

[jQuery] Re: is it possible to do this (ignore clicks)

2009-03-20 Thread Brendan
Couldn't you bind an onclick event to whatever links you want to stop and just have them return false; ? On Mar 20, 3:22 am, Steven Yang wrote: > i believe you can simply do e.stopPropagation()because you get event > bubbling for the events inside the div > all the events bind to element inside

[jQuery] Re: live works in IE6?

2009-03-20 Thread benjamw
http://jsbin.com/evuqi Does not work in IE6 On Feb 7, 9:15 pm, Dave Methvin wrote: > > File a ticket:http://dev.jquery.com > > Before doing that, post a sample here. A lot of "bugs" are not bugs.

[jQuery] Re: live works in IE6?

2009-03-20 Thread benjamw
My bad, disregard that previous one, I was unaware that 'submit' was not yet supported by live( ). Is there a quick way I can fake it for now? On Mar 20, 12:52 pm, benjamw wrote: > http://jsbin.com/evuqi > > Does not work inIE6 > > On Feb 7, 9:15 pm, Dave Methvin wrote: > > > > > > File a tick

[jQuery] What does this do?

2009-03-20 Thread Danjojo
Sorry not a quiz... I just am having trouble remembering how I built this. What does this do? firstInt = Number($("div#upsell .upsell_feature_module:visible").attr ("id")); Is it counting where in the chain of Div's the current position is? My code is: function scrollCartUpsells(num){

[jQuery] Rotating CSS classes each 5 sec

2009-03-20 Thread Alexandru Dinulescu
Hello. I have a huge question. I need something that rotates classes each 5 seconds for ex I have a . I want each 5 seconds the class to be changed from img1 to img2, and so on so at the start an array should be placed like imgArray = [ "img1" , "img2", "img3", etc ] I need css classes changed

[jQuery] problems with dynamic click event... how do I get the index in there ?

2009-03-20 Thread hybris77
hi folks, if anyone could direct me in the right direction here I'd be very happy what's wrong here : $( calculationsArray ).each(function(){ var index = $( calculationsArray ).index(this); $( ".calculations_list" ).append( ""+ (index+1)+"") .click( function(){ va

[jQuery] Re: Rotating CSS classes each 5 sec

2009-03-20 Thread hybris77
if that is all you want to do using jQuery or pure javascript then look at how to use "setInterval" ... that can be defined to run a function at sertain intervals. check this one out also http://www.thatagency.com/design-studio-blog/2009/01/refreshing-an-element-at-a-set-time-interval-using-jque

[jQuery] Re: Rotating CSS classes each 5 sec

2009-03-20 Thread jQuery Lover
The code is not perfect: var imgArray = [ "img1" , "img2", "img3"]; function swap(i){ if(imgArray.length > i){ $('.' + imgArray[i]).removeClass(imgArray[i]).addClass(imgArray[i+1]); }else{ return; } setTimeout("swap("+(i+1)+")", 5000); } // Call the function swap(0);

[jQuery] Re: problems with dynamic click event... how do I get the index in there ?

2009-03-20 Thread jQuery Lover
Why don't you use this syntax so .each() would pass the current index for you... $( calculationsArray ).each(function( INDEX ){ Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Fri, Mar 20, 2009 at 5:29 PM, hybris77 wrote: > > hi folks, if anyone could direct me in the

[jQuery] Re: What does this do?

2009-03-20 Thread jQuery Lover
Gets you the first visible .upsell_feature_module's ID (in id="upcell" container). Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Fri, Mar 20, 2009 at 5:01 PM, Danjojo wrote: > > Sorry not a quiz... I just am having trouble remembering how I built > this. > > What doe

[jQuery] Re: scrollTo firefox ugliness

2009-03-20 Thread Dan Pouliot
THANK YOU THANK YOU THANK YOU!!! Worked like a charm! On Mar 19, 8:47 pm, mkmanning wrote: > Try changing overflow:auto to overflow:hidden in scroll.css*: > > .section{ >         width:3900px; >         position:relative; >         overflow:auto; > > } > > *n.b.: I only did this in Firebug, so n

[jQuery] Re: What does this do?

2009-03-20 Thread Danjojo
Ok cool, I was wondering, isn't it supposed to return a number? because I am alerting NaN On Mar 20, 8:19 am, jQuery Lover wrote: > Gets you the first visible .upsell_feature_module's ID (in id="upcell" > container). > > > Read jQuery HowTo Resource  -  http://jquery-howto.blogspot.com > >

[jQuery] Re: What does this do?

2009-03-20 Thread Danjojo
For clarity: //*** for scrolling cart upsells $(document).ready(function(){ $("#scrollLeft").addClass("none"); }); .none { display: none; } <% Dim strACCItem,strACCItemNo,strACCItemDescription,st

[jQuery] Re: Cross-Domain Jquery event?

2009-03-20 Thread david.0pl...@gmail.com
I just wanted to thank you, those link helped me achieve what I wanted to do I learned a lot today, thank you! David On Mar 20, 11:23 am, Martin Möller wrote: > david wrote: > > in fact the .centerPopup > > resides on a completely different domain. > > Now is there a workaround for this? > > De

[jQuery] Help with jCarousel and fluide height...

2009-03-20 Thread Fix
Hello, On my blog, I have a list of the last 5 messages posted. It's a post #5post #4etc... list. I'd like to display a "<< previous messages" link on the bottom of that list, that - when clicked - would display the 5 previous messages, etc. So I use jCarousel to do that, and it works well... e

[jQuery] Re: wmode not being written

2009-03-20 Thread ghires
Did you ever figure out a solution to this problem? I can't get the latest version of jquery.media.js (ver .87) to generate the wmode param either. On Feb 18, 2:02 pm, Jedipunk wrote: > When using the jquery.Media plugin for flash video, the resulting HTML > does not write out the wmode paramet

[jQuery] Feedback on jQuery powered template editor

2009-03-20 Thread Cadu de Castro Alves
Hi people! I've been developing a jQuery-powered template editor for my company. It has a toolbox with some portlets and two columns where it ones are dropped. After stop creating the template, the user is able to save or preview the template. And here is my issue. How could I do it?

[jQuery] Re: Do you figure out how to do this?

2009-03-20 Thread Marco Elisio Oliveira Jardim
You need a JSONP callback for this: http://docs.jquery.com/Getjson But the other web app must support it... _ Lois Griffin: I’m a naughty girl and I need a spanking! Peter Griffin: And I'm a paladin with 18 charisma and 97 hit-points, I can use my helm of disinte

[jQuery] JQuery selectors and Umlaute

2009-03-20 Thread srudin
I'm trying to select an element with an id containing a German Umlaut: Unfortunately the jquery selector $("#Bestätigung") is not returning any result. Is there a trick to make this work or is it not possible at all?

[jQuery] Re: What does this do?

2009-03-20 Thread MorningZ
If you are getting "NaN" that means "not a number", probably meaning your selector isn't valid On Mar 20, 9:07 am, Danjojo wrote: > For clarity: > > > > //*** for scrolling cart upsells > $(document).ready(function(){ >    $("#scrollLeft").addClass("none");}); > > > > .none { >     display:

[jQuery] Re: jquery.dates

2009-03-20 Thread RyanEv
Anyone have any other ideas? On Mar 19, 2:53 pm, RyanEv wrote: > I still get the same error on the datePicker line. > > $(document).ready( function () >         { >                       setTimeout(function(){ >                       $("#sample1").datePicker(); >                }, 50); >    

[jQuery] Help tracking down error in IE8 / jquery 1.3.2

2009-03-20 Thread Adam
Message: Invalid argument. Line: 12 Char: 12949 Code: 0 URI: http://domain/shared/jquery/jquery-1.3.2.min.js I keep getting the above error In IE but Not FF.. Everything works great in FF, and almost in IE.. But I am having a hard time tracking down the cause this issue in IE... any help apprec

[jQuery] Re: Help tracking down error in IE8 / jquery 1.3.2

2009-03-20 Thread MorningZ
Got any example code? You haven't provided even close to enough information to help also, use the full version of jQuery instead of the minified version, then you'll may get a more specific location of where this happens On Mar 20, 10:07 am, Adam wrote: > Message: Invalid argument. > Line: 12

[jQuery] Re: What does this do?

2009-03-20 Thread Danjojo
Ok.. I was missing the id="<%=intA%>" on the element. Thanks for the help. It's working in another site now. On Mar 20, 9:29 am, MorningZ wrote: > If you are getting "NaN" that means "not a number", probably meaning > your selector isn't valid > > On Mar 20, 9:07 am, Danjojo wrote: > > > For

[jQuery] Re: Help tracking down error in IE8 / jquery 1.3.2

2009-03-20 Thread Adam Drew
FYI, all is well in Safari as well as Firefox... The main thing in IE that breaks down is my main Tabs setup... and the only javascript error indicated is that it " Could not get display title. Invalid Argument", but that's all I can see about this. On Mar 20, 10:07 am, Adam wrote: > Message:

[jQuery] Re: Help tracking down error in IE8 / jquery 1.3.2

2009-03-20 Thread Adam Drew
Using the dev version, I can break it down to this function.. line 1061 ch 4 I guess i should go track down anything that's playing with an elements opacity??? // from jquery.1.3.2.js // IE uses filters for opacity if ( !jQuery.support.opacity && name == "opacity" ) {

[jQuery] Re: Malsup's Cycle plugin exhibiting strange behavior

2009-03-20 Thread Asinox
Hi Mike, thanks for u great Plugin... now i need to know how ill change the width and height and the padding. Thanks u malsup wrote: > > >> The first issue is in FF 3.0.7 on Mac. Occasionally, the first image >> appears no problem, however the remaining images show up extremely >> small. I

[jQuery] Re: Help tracking down error in IE8 / jquery 1.3.2

2009-03-20 Thread Martijn Houtman
On Mar 20, 2009, at 3:07 PM, Adam wrote: Message: Invalid argument. Line: 12 Char: 12949 Code: 0 URI: http://domain/shared/jquery/jquery-1.3.2.min.js Half of the time I get this error, it is because I have one comma too much in an array, such as: var foo { foo: "bar", bar

[jQuery] Re: Help tracking down error in IE8 / jquery 1.3.2

2009-03-20 Thread Martijn Houtman
On Mar 20, 2009, at 3:22 PM, Adam Drew wrote: Using the dev version, I can break it down to this function.. line 1061 ch 4 I guess i should go track down anything that's playing with an elements opacity??? // from jquery.1.3.2.js // IE uses filters for opacity if ( !jQuer

[jQuery] how to load("text with the + sign in it")

2009-03-20 Thread Alexandre Plennevaux
friends, i'm doing an ajax call via the load() function. The fetched string contains the "+" sign, and it gets removed in the resulting html. Why is that? note: i'm using php. The only way i found to have the string shown, is to urlencode() it. But i don't want to urlencode() entire texts that sh

[jQuery] Re: Help tracking down error in IE8 / jquery 1.3.2

2009-03-20 Thread Adam Drew
Thanks For your input Martijn, Unfortunately, I'm not sure where my culprit code is yet.. so I'm not sure what options are being passed. I'm looking now for typos, extra properties or invalid attr references..\ -Adam

[jQuery] Best way to iterate over a string (each character)

2009-03-20 Thread dimitre
Hello, I am trying to do a simple thing in JQuery, and found some different ways to make it work. Altough all of them behave identically and correct in Firefox & Safari, few works in IE. Which of them you consider the "correct way", OR Was ths supposed to work OK on IE too? Thank you PS: in the c

[jQuery] Re: how to load("text with the + sign in it")

2009-03-20 Thread Martijn Houtman
On Mar 20, 2009, at 3:59 PM, Alexandre Plennevaux wrote: i'm doing an ajax call via the load() function. The fetched string contains the "+" sign, and it gets removed in the resulting html. Why is that? note: i'm using php. The only way i found to have the string shown, is to urlencode() it. B

[jQuery] Re: Help tracking down error in IE8 / jquery 1.3.2

2009-03-20 Thread Martijn Houtman
On Mar 20, 2009, at 4:02 PM, Adam Drew wrote: Thanks For your input Martijn, You're welcome. I just now remember when I got this error. It was when I was (accidentally) trying to set the CSS property "backgroundColor" to "none", rather than "transparent". This worked in FF/Safari (or a

[jQuery] Re: how to load("text with the + sign in it")

2009-03-20 Thread Alexandre Plennevaux
Hello, i tried that, but htmlentities("A+") echos "A+", so it does not convert it. On Fri, Mar 20, 2009 at 4:06 PM, Martijn Houtman wrote: > > > On Mar 20, 2009, at 3:59 PM, Alexandre Plennevaux wrote: > >> i'm doing an ajax call via the load() function. The fetched string >> contains the "+" si

[jQuery] Regex Help for CSS Selector type deal

2009-03-20 Thread Eric Garside
I need to come up with a regex, or find some way to leverage Sizzle (which I'm not familiar with) to do a pretty simple task. Given strings like: div#some-complex-id.myClass.ui-state-disabled or p.myClass#someId.otherClass or p .myClass .otherClass .ui-state-disabled #myId I'd like, through one

[jQuery] Re: Help tracking down error in IE8 / jquery 1.3.2

2009-03-20 Thread Adam Drew
did a break point in the ie8 dev console on it and watched the following values break at that line a few times during the page load... name = "outline" value = "0 none !important" Those values breaks it every time it comes around.. I'm going to see what is setting these values.. On Mar 20, 10

[jQuery] $(document).ready(function() is causing scripts to run twice!

2009-03-20 Thread Derek Perkins
I encase all of my functions inside of a jQuery(document).ready (function() {} block, but I noticed recently that my scripts are running multiple times. After a lot of debugging, I realized that they only ran once after I deleted that segment of code. The first time it ran however, it wouldn't s

[jQuery] Re: Best way to iterate over a string (each character)

2009-03-20 Thread MorningZ
Why not use simple JavaScript (which "under the hood" jQuery is using anyways)? for (var i=0; i < texto.length; i++) { console.log(texto.charAt(i)); } On Mar 20, 11:04 am, dimitre wrote: > Hello, I am trying to do a simple thing in JQuery, and found some > different ways to make it work.

[jQuery] Re: Help tracking down error in IE8 / jquery 1.3.2

2009-03-20 Thread Martijn Houtman
On Mar 20, 2009, at 4:35 PM, Adam Drew wrote: name = "outline" value = "0 none !important" Those values breaks it every time it comes around.. I'm going to see what is setting these values.. http://www.w3schools.com/CSS/pr_outline.asp The value you are setting seems unsupported. Try either

[jQuery] Re: JQuery selectors and Umlaute

2009-03-20 Thread Karl Swedberg
Which version of jQuery are using? Are you seeing any JavaScript errors? I just tested this and it worked fine: result: http://jsbin.com/otaya/ code: http://jsbin.com/otaya/edit --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Mar 20, 2009, at 5:57 AM, sru

[jQuery] Re: Help tracking down error in IE8 / jquery 1.3.2

2009-03-20 Thread Adam Drew
Looks like it's due to the themeswitcher widget I setup yesterday. // jquery.themeswitcher.js //pane css switcherpane.css({ position: 'absolute', float: 'left', fontFamily: 'Trebuchet MS, Verdana, sans-serif', fontSize: '

[jQuery] Re: $(document).ready(function() is causing scripts to run twice!

2009-03-20 Thread MorningZ
If the code is running twice, then you don't have it wired in correctly showing the HTML and script would be a big help to getting others to help you On Mar 20, 11:38 am, Derek Perkins wrote: > I encase all of my functions inside of a jQuery(document).ready > (function() {} block, but I notice

[jQuery] How do you iterate across elements with the same class name?

2009-03-20 Thread Thierry
I have a bunch of hyperlinks with class 'hello_world'. I want to assign each one of them a random colour. I can set the colour for all of them with the following: $("a[class=hello_world]").css("color", "red"); How can I iterate over every element with class name 'hello_world'?

[jQuery] Re: How do you iterate across elements with the same class name?

2009-03-20 Thread Mike Fratto
I think you are looking for each( callback ) http://docs.jquery.com/Core/each#callback On Fri, Mar 20, 2009 at 12:48 PM, Thierry wrote: > > I have a bunch of hyperlinks with class 'hello_world'.  I want to > assign each one of them a random colour.  I can set the colour for all > of them with th

[jQuery] Re: How do you iterate across elements with the same class name?

2009-03-20 Thread MorningZ
$("a.hello_world").each(function() { // $(this) = this current hyperlink }); On Mar 20, 12:48 pm, Thierry wrote: > I have a bunch of hyperlinks with class 'hello_world'.  I want to > assign each one of them a random colour.  I can set the colour for all > of them with the following: > > $

[jQuery] Re: How do you iterate across elements with the same class name?

2009-03-20 Thread Charlie Griefer
On Fri, Mar 20, 2009 at 9:48 AM, Thierry wrote: > > I have a bunch of hyperlinks with class 'hello_world'. I want to > assign each one of them a random colour. I can set the colour for all > of them with the following: > > $("a[class=hello_world]").css("color", "red"); > > How can I iterate ove

[jQuery] Tutorial for serialScroll?

2009-03-20 Thread Jack Killpatrick
Hi All, I did a nifty implementation using jquery serialScroll to scroll images inside an iphone image (to display screenshots: site isn't publicly available yet). I had to reverse-engineer my way through the demos and other people's implementations to figure out how to make it work. Main pr

[jQuery] Re: How do you iterate across elements with the same class name?

2009-03-20 Thread Thierry L
Great, that helps but I think I'll do it from the server side code, the web page loads much faster when the operation is done on the server side. On Mar 20, 12:58 pm, Charlie Griefer wrote: > On Fri, Mar 20, 2009 at 9:48 AM, Thierry wrote: > > > I have a bunch of hyperlinks with class 'hello_wo

[jQuery] Re: How do you iterate across elements with the same class name?

2009-03-20 Thread Eric Garside
Take a look at this page I threw up on jsbin: http://jsbin.com/uzecu/edit It uses a neat little random color generator I found years ago bound to an event. Seems pretty quick, too. The javascript: $(function(){ $('.colour') .bind('randomizeColor', function(){ this.style.background = (Math.

[jQuery] Re: JQuery selectors and Umlaute

2009-03-20 Thread Klaus Hartl
Even if it would work I recommend to avoid Umlaute. They're invalid in ids. http://www.w3.org/TR/REC-html40/types.html#type-name --Klaus On 20 Mrz., 16:52, Karl Swedberg wrote: > Which version of jQuery are using? Are you seeing any JavaScript   > errors? I just tested this and it worked fi

[jQuery] Re: Rotating CSS classes each 5 sec

2009-03-20 Thread Alexandru Dinulescu
Thank you. I will try that tomorrow morning and see if it works Cheers --- Alexandru Dinulescu Web Developer (X)HTML/CSS Specialist Expert Guarantee Certified Developer XHTML: http://www.expertrating.com/transcript.asp?transcriptid=1879053 CSS : http://www.expertrating.com/transc

[jQuery] Re: $(document).ready(function() is causing scripts to run twice!

2009-03-20 Thread James
Showing some code and html would definitely help. There's a possibility that you're loading a page that runs the code, and then dynamically loading another page immediately (e.g. through AJAX Tabs) that contains the piece of code again on that page and executing it. On Mar 20, 6:25 am, MorningZ

[jQuery] Plugin or examples to filter display of table data?

2009-03-20 Thread Brad
I searched this group and Googled for examples but haven't what I was looking for. Consider this use case: A database-driven backend presents a page with a table containing many rows (100's or more). Instead of having the user enter new search criteria and send another request to the backend, I'

[jQuery] Modal Window Background Fade/Disable

2009-03-20 Thread Desinger
Hi I have this Java sciprt code and jquery and this is a sliding window hide/open. The html is not in a seperate page its in the same page as the background of the page is. I would like to make the background fade or disable untill we close this window. I dont' think I can call it modal

[jQuery] Re: Plugin or examples to filter display of table data?

2009-03-20 Thread Brad
Sorry for the noise, I should have looked at the jQuery plugins site first. There are a number of offerings there that may do what I want. DataTables looks very promising. On Mar 20, 12:44 pm, I wrote: > I searched this group and Googled for examples but haven't what I was > looking for. > > Cons

[jQuery] jQuery/Cycle: Binding Secondary Nav

2009-03-20 Thread studiobl
Hi, I'm working on a banner display, using Cycle. The banner will use the out-of-the-box Cycle numbered nav, but the client also wants text links in the banner to page from slide to slide as well. How can I bind the pager functions to additional anchors?

[jQuery] Cycle breaks in IE7 when using list box

2009-03-20 Thread christopherious
I have an instance of Cycle 2.63 (jquery.cycle.all.min.js) that works great except for one thing. By using a list box for selection, it breaks under IE7 (content doesn't change upon user selection). I'm still pretty new to JS development. Haven't tried IE8 out just yet, but I'd like to get this

[jQuery] Validation: How to get group key that the current invalidate element belong to?

2009-03-20 Thread doutu
If this feature exists now, tell me please. If not, just a feature request! What's my plan ? invalid error place holder //

[jQuery] newbie question: how can i prevent this infinite loop scenario?

2009-03-20 Thread bobby burgess
Hi all, jQuery newbie here and this is my first post. I'm stuck on this conundrum: I have some images on a page and .hover() is bound to each. The "is hovering" function displays an absolute-positioned DIV on top of everything else (it contains a bigger version of the clicked-on image). The "is

[jQuery] Re: .ajax doesn't execute "success" handler in IE7

2009-03-20 Thread topherez
I had this trouble before, and after 2 hours, finally remembered what it was. IE needs to know that the xml returned is actually xml. It uses the header of the document to determine that, so you must set the header in the php/asp file to set it. For PHP, include this before passing back the respo

[jQuery] [Validation] How to get group key that the current invalidate element belong to?

2009-03-20 Thread doutu
If this feature exists now, tell me please. If not, just a feature request! What's my plan ? invalid error place holder //

[jQuery] jcarousel - use an image as an external control

2009-03-20 Thread djrein
Hello, I want to be able to use an image as an external control instead of text. I'm not familiar with jquery and need some help. Thanks in advance.

[jQuery] Preventing link clicks before document.ready();

2009-03-20 Thread HippieX
I have a problem I am sure others have encountered. I have .click() events attached to links in my web page, but the user is clicking the links before the document.ready(); fires causing unexpected results. Is there anyway to stop this from happening? Thanks, Jeff

[jQuery] Re: setExpression makes IE8 crash in blockUI plugin

2009-03-20 Thread JFK
I'm seeing the same issue with IE8 and setExpression. From MSDN: http://msdn.microsoft.com/en-us/library/ms537634.aspx "As of Windows Internet Explorer 8, dynamic properties have been deprecated and are only supported for Web pages displayed in IE5 mode or IE7 mode." it looks like they suggest r

[jQuery] How to select nested tabs

2009-03-20 Thread randy...@gmail.com
I have created nested tabs using Tabs 3. Trying to select the second nested tab by default. Doing this does not work... $(document).ready(function() { $('#container ul').tabs(1); $('#container-2 ul').tabs(2); }) The second container is ignored and the first nested tab is selected

[jQuery] Re: Best way to iterate over a string (each character)

2009-03-20 Thread dimitre
Super! Sometimes I have to remember that JQuery is based in Javascript not the opposite. thank you

[jQuery] Re: Cycle breaks in IE7 when using list box

2009-03-20 Thread Mike Alsup
> document.write('Pick a section:<\/strong>  id="goto1" value="Section 1">Section 1<\/option> value="Section 2">Section 2<\/option>Section 3<\/option><\/select>'); > document.close(); > You should be binding the 'change' event on the , not the 'click' event on the .

[jQuery] Re: Rotating CSS classes each 5 sec

2009-03-20 Thread Alexandru Dinulescu
Hello. Can i call this function normally like function imageSwap(){ function code goes in here } $(document).ready(imageSwap); ? And another question can i put in the array paramters and have variables declared at the top for ex is this correct? function imageSwap() { var img1 = classImg1 var i

[jQuery] Re: jQuery/Cycle: Binding Secondary Nav

2009-03-20 Thread Mike Alsup
> Hi, I'm working on a banner display, using Cycle.  The banner will use > the out-of-the-box Cycle numbered nav, but the client also wants text > links in the banner to page from slide to slide as well. > > How can I bind the pager functions to additional anchors? Cycle doesn't gracefully suppo

[jQuery] Re: Preventing link clicks before document.ready();

2009-03-20 Thread James
That's the default of how web browsers. You can work around it such as by setting the display of those to hidden in your CSS, and use Javascript to show it upon page ready. Depending on how your website works, this may mean your page would not work properly if users do not have Javascript enabled

[jQuery] IE8 & BlockUI incompatible

2009-03-20 Thread Josh Kewley
There was a thread about this last month that identified a problem with the use of setExpression in BlockUI. IE8 throws a not implemented exception in this case. The author noted that the BlockUI demo page works fine in IE8, which it does. To be honest, I'm not sure why. However, the problem does

[jQuery] Re: Preventing link clicks before document.ready();

2009-03-20 Thread Josh Powell
You could also put the .click events inside a document.ready(). Then they can click away, but no results until the event handler is set after document.ready. On Mar 20, 12:30 pm, James wrote: > That's the default of how web browsers. You can work around it such as > by setting the display of th

[jQuery] Re: IE8 & BlockUI incompatible

2009-03-20 Thread Mike Alsup
> There was a thread about this last month that identified a problem with the > use of setExpression in BlockUI. IE8 throws a not implemented exception in > this case. The author noted that the BlockUI demo page works fine in IE8, > which it does. To be honest, I'm not sure why. > > However, the p

[jQuery] Re: setExpression makes IE8 crash in blockUI plugin

2009-03-20 Thread Mike Alsup
> I'm seeing the same issue with IE8 and setExpression. From > MSDN:http://msdn.microsoft.com/en-us/library/ms537634.aspx Can you try v2.16? http://www.malsup.com/jquery/block/jquery.blockUI.js?v2.16 Mike

[jQuery] Re: IE8 & BlockUI incompatible

2009-03-20 Thread Josh Kewley
Hey Mike, This eliminates the exception, but the placement of the floating content is different, and it doesn't appear to adjust on window resize. Thanks for the update, and let me know if you need assistance in testing/debugging the new version. -Josh -Original Message- From: jquery-en

[jQuery] Re: Cycle breaks in IE7 when using list box

2009-03-20 Thread christopherious
Thanks! I'm not sure I'm quite getting it. Would you mind providing an example? On Mar 20, 12:16 pm, Mike Alsup wrote: > > document.write('Pick a section:<\/strong>  > id="goto1" value="Section 1">Section 1<\/option> > value="Section 2">Section 2<\/option>Section 3<\/option><\/select>'); > > d

[jQuery] Re: IE8 & BlockUI incompatible

2009-03-20 Thread Mike Alsup
> This eliminates the exception, but the placement of the floating content is > different, and it doesn't appear to adjust on window resize. Thanks for the > update, and let me know if you need assistance in testing/debugging the new > version. How about a test page. One that is as simple as pos

[jQuery] [validate] Suggested new feature for validation.

2009-03-20 Thread Millman
I have a case where I'm setting up an ASP.NET MVC View that partially renders several Partial View Controls. Each of these controls will be wrapped by a element within the Form. This View will be used as a Wizard and we will be utilizing JavaScript to show and hide each various div element as t

[jQuery] Re: IE8 & BlockUI incompatible

2009-03-20 Thread Mike Alsup
> > This eliminates the exception, but the placement of the floating content is > > different, and it doesn't appear to adjust on window resize. Thanks for the > > update, and let me know if you need assistance in testing/debugging the new > > version. > > How about a test page.  One that is as si

[jQuery] checkbox problem

2009-03-20 Thread omertacod...@gmail.com
hi all, I have a problem, when the checkbox is clicked there is no reaction. here is the code: index.html test #messagewindow { height: 250px; border: 1px solid; padding:

[jQuery] Re: IE8 & BlockUI incompatible

2009-03-20 Thread Johannes Schill
On 20 Mar, 21:04, Mike Alsup wrote: > > There was a thread about this last month that identified a problem with the > > use of setExpression in BlockUI. IE8 throws a not implemented exception in > > this case. The author noted that the BlockUI demo page works fine in IE8, > > which it does. To b

[jQuery] Re: checkbox problem

2009-03-20 Thread James
Well, it appears you are binding an event to something that doesn't exist. Here's what's happening with your code: == Page loads -> Bind click to checkbox (no checkbox exists so nothing happens) -> Bind submit to form to create a checkbox == User action -> User clicks submit, a checkbox is creat

[jQuery] Re: checkbox problem

2009-03-20 Thread James
Sorry, I meant "bind submit to form", not checkbox. Your code would be more something like: $(document).ready(function(){ $("form#chatform").submit(function(){ $test = ''; $("#messagewindow").prepend($test+""+$("#msg").val()+""); $test.click(function() {

[jQuery] Re: checkbox problem

2009-03-20 Thread omertacod...@gmail.com
Hey james, thanks for the help but using your code when i submit the checkbox and text appears and immediatly dissapears again ... On 20 mrt, 22:32, James wrote: > Sorry, I meant "bind submit to form", not checkbox. > > Your code would be more something like: > > $(document).ready(function(){ >

[jQuery] Re: IE8 & BlockUI incompatible

2009-03-20 Thread Josh Kewley
Mike, Click Page -> Compatibility View Settings Uncheck the option "include updated websites from Microsoft" Try this page, where I first noticed it: http://corp.americanexpress.com/gcs/travel/service/personalservice.aspx Click on the globe to trigger the popup. It bombs. Now go into IE7 compatib

[jQuery] Re: IE8 & BlockUI incompatible

2009-03-20 Thread Mike Alsup
> Click Page -> Compatibility View Settings > Uncheck the option "include updated websites from Microsoft" > Try this page, where I first noticed > it:http://corp.americanexpress.com/gcs/travel/service/personalservice.aspx > Click on the globe to trigger the popup. It bombs. Now go into IE7 > com

  1   2   >