[jQuery] Re: jQuery.uploader released: Flash based jQuery uploader

2008-12-15 Thread rernens
Gilles, I have pursued my investigations. I turned around the redirect issue by making sure that I return data to the plugin and use the severData callback to invoke an ajax reload of the div containing the uploaded picture. The format for passing additional parameters is a simple object in the

[jQuery] jQuery.data() identifier not working

2008-12-15 Thread ricardoe
Hi, Does anyone knows why this: var id = elem[ expando ]; // Compute a unique ID for the element if ( !id ) { id = elem[expando] = ++uuid; } Could be being broken? I mean, on a test page I made the elem[expando] property is not being "saved". I'll explain, the first time

[jQuery] jQuery.data() identifier not working

2008-12-15 Thread ricardoe
Hi, I've found a VERY strange behavior while developing a little code. I'm trying to identify some elements with the jQuery.data(element) function, this returns a "unique" id for each element (AFAIK). But the strange this is this little code of jQuery: var id = elem[ expando ]; // Compute

[jQuery] Re: How to link myFunction(this) to a div

2008-12-15 Thread WebGrunt
Ah, so extensions are the way to go. Cool, I'll take a look at those. @Kean: Actually, I'm trying to keep my $(document).ready(function() {}); as clean as possible. I prefer to use it instead of my old init () function and call as much functionality as possible via outside functions instead of

[jQuery] Re: Why won't this work?

2008-12-15 Thread Charlie Griefer
until you learn it, sure. no different than any other tool. On Mon, Dec 15, 2008 at 9:05 PM, Rick Faircloth wrote: > Thanks for the insight, Charlie. > > > > It seems there are many considerations when > > putting Ajax to work…it's going to cause me pain > > everywhere I deploy it. > > > > > >

[jQuery] Re: Why won't this work?

2008-12-15 Thread Rick Faircloth
Thanks for the insight, Charlie. It seems there are many considerations when putting Ajax to work.it's going to cause me pain everywhere I deploy it. From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Charlie Griefer Sent: Monday, December 15, 2008 11:01

[jQuery] validation plugin: don't insert error element

2008-12-15 Thread Sean Allen
Is there a way to instruct the validation plugin to not insert any error element?

[jQuery] Re: jQuery and PHP form problem

2008-12-15 Thread Magnificent
I GOT IT. How to explain what the problem was?!...I've done a bit of tweaking, but one thing is I was returning false from my form submit handler WHICH IS WHY I WASN'T HITTING MY PHP $_POST BRANCH. Whenever I would submit I was getting my default search page again. Made the search field stick

[jQuery] Re: Optimized Code

2008-12-15 Thread Scott Sauyet
issya wrote: I recently made this small script and was thinking it is a bit long. It works just fine, I was wondering if there is any way to make it shorter or is this right? Thanks in advance for the help. The previous suggestion, I think missed the point that you were only selecting the fir

[jQuery] Re: Why won't this work?

2008-12-15 Thread Charlie Griefer
but if you go here: http://www.wsm-dev.com/wsm-dev/ajaxlogin2/ajaxLogin.cfm?height=100&width=250&modal=true ...it works. there's something about the fact that you're calling the page inside of the thickbox plugin that makes it different. i haven't used the plugin, and i'm still fairly new to jQu

[jQuery] Re: jQuery and PHP form problem

2008-12-15 Thread Magnificent
No, it just sends a request/formats 3rd party info based on whatever the user searches for. On Dec 15, 7:33 pm, brian wrote: > > $('#form_search').bind('submit', function() { > >         alert('form sumitted'); > > }); > > What does your actual function do? Does it send anything to your PHP scri

[jQuery] Re: jQuery and PHP form problem

2008-12-15 Thread brian
> $('#form_search').bind('submit', function() { > alert('form sumitted'); > }); What does your actual function do? Does it send anything to your PHP script?

[jQuery] Re: jQuery and PHP form problem

2008-12-15 Thread brian
On Mon, Dec 15, 2008 at 10:10 PM, Magnificent wrote: > > Yes, the id on the form element. > > If I remove that, then var_dump $_POST, I'm definitely getting my form > info, for example here's a var_dump of my latest search: > > array(2) { ["search_field"]=> string(7) "leopard" ["search_button"]

[jQuery] Re: jQuery and PHP form problem

2008-12-15 Thread Magnificent
I made a quick standalone page and it seems to work fine. Form submit throws an alert then PHP echo's whatever you enter in the field. It looks I have issues elsewhere in my code? Here's the standalone page code: http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en" dir="ltr">

[jQuery] Re: Why won't this work?

2008-12-15 Thread Rick Faircloth
The code on the server has been update now, Charlie. Not working on there, either. http://www.wsm-dev.com/wsm-dev/ajaxlogin2/index.cfm But a successful login now takes me to the site_manager.cfm page thanks to some changes in the code by Matt Williams! You can see the current code her

[jQuery] Re: jQuery and PHP form problem

2008-12-15 Thread brian
On Mon, Dec 15, 2008 at 9:59 PM, Mike Alsup wrote: > >> > You should never have an element with an id value that does not match >> > its name value. Get that straightened out and you'll be fine. >> >> That's not true at all. Do you have a reference for that? >> >> The id attr. is solely for the

[jQuery] Re: Options

2008-12-15 Thread Samuel Santos
Yes, I'm using Jorn's plugin. I totally missed it. In Jorn's blog the documentation link is pointing to http://docs.jquery.com/Plugins/Autocomplete. Thanks! On Dec 15, 8:47 pm, MorningZ wrote: > For Jorn's plugin > > http://docs.jquery.com/UI/Autocomplete/autocomplete#options > > On Dec 15, 12

[jQuery] Re: jQuery and PHP form problem

2008-12-15 Thread Mike Alsup
> Yes, the id on the form element. > > If I remove that, then var_dump $_POST, I'm definitely getting my form > info, for example here's a var_dump of my latest search: > > array(2) { ["search_field"]=>  string(7) "leopard" ["search_button"] > =>  string(2) "Go" } > > But then I already knew that

[jQuery] Re: nextAll Chaining when nextAll is Empty

2008-12-15 Thread Dave Methvin
However, .triggerHandler() is documented to only call the handler for the first element in the jQuery object. The .andSelf() adds the $ (this) to the end of the object. If you click star 3 and the click handler is this: $(this).nextAll('a').andSelf().removeClass ('star_selected').triggerHandler('

[jQuery] Re: jQuery and PHP form problem

2008-12-15 Thread Magnificent
Yes, the id on the form element. If I remove that, then var_dump $_POST, I'm definitely getting my form info, for example here's a var_dump of my latest search: array(2) { ["search_field"]=> string(7) "leopard" ["search_button"] => string(2) "Go" } But then I already knew that because without

[jQuery] Re: Trigger same function from 2 different events

2008-12-15 Thread Dave Methvin
You can bind the same handler to multiple events. It sounds like you are trying to "fake click" the button right after load to initialize things. I do that a lot. $(document).ready(function(){ $('#mybtn').bind('click init', function(e){ alert("called because of "+e.type); }).trigger("ini

[jQuery] Re: jQuery and PHP form problem

2008-12-15 Thread Mike Alsup
> > You should never have an element with an id value that does not match > > its name value.  Get that straightened out and you'll be fine. > > That's not true at all. Do you have a reference for that? > > The id attr. is solely for the DOM, while name is passed to the server. Yes, that's quite

[jQuery] Re: Why won't this work?

2008-12-15 Thread Rick Faircloth
Yes, that's copied and pasted from the IDE, however. I don't think that would be a problem.the second pair of quotes were put in when I pasted the code into the email. I had double quotes for the second set and was trying to be consistent. I usually use those quotes. I've got the entire

[jQuery] Re: Animation speed dilemma...

2008-12-15 Thread Dave Methvin
If you wanted the ticker to scroll at 12 pixels per second, you could take the width of the ticker element in pixels and divide by 12 to get the seconds for animation. You'd also need a resize handler for the ticker to recalibrate the speed. Would that work? Do you need to implement some sort of

[jQuery] Re: Why won't this work?

2008-12-15 Thread Charlie Griefer
is that the actual code that you copied/pasted from your IDE? i'm noticing 'smart quotes' here: $('#emailError').show(); could that be hosing you? is this on a server somewhere we can see it in all its glory in a browser? On Mon, Dec 15, 2008 at 6:43 PM, Rick Faircloth wrote: > Well…bummer.

[jQuery] Re: jQuery and PHP form problem

2008-12-15 Thread Magnificent
Here's what I'm doing: On page load, I fetch/format some 3rd party data. It always initially fetches the same data (and it works fine), so think of the initial load like a default search results page. I also have a "search" form on the page so users can fetch other data, they just type in whate

[jQuery] Re: Why won't this work?

2008-12-15 Thread Rick Faircloth
Well.bummer. Works for me, too, when it's on *your* server, Charlie. You've just got the magic touch. Will this entire block run for you with all the other code on there? (Have I coded this properly?) $(document).ready(function(){ $('#emailError').hide();

[jQuery] Re: Why won't this work?

2008-12-15 Thread Charlie Griefer
still workin' fine for me. http://charlie.griefer.com/code/rick.cfm On Mon, Dec 15, 2008 at 6:30 PM, Rick Faircloth wrote: > Yeah, there's plenty of other code running. > > Here's what's on the page…see anything that conflicts? > > > -- I have failed as much as I have succeeded. But I love my li

[jQuery] Trigger same function from 2 different events

2008-12-15 Thread Magnificent
I want to trigger the same function from 2 different events. Is the following the best way to do this? Note in this code snippet, the 2 separate events are page load/button click. Click me http://ajax.googleapis.com/ajax/ libs/jquery/1.2.6/jquery.min.js"> function myHandler() { alert(

[jQuery] Re: jQuery and PHP form problem

2008-12-15 Thread brian
On Mon, Dec 15, 2008 at 8:18 PM, Magnificent wrote: > > I'm wondering if echo'ing the jQuery script inside my PHP code will > work. If I do: > > if($_POST['search_button']){ > echo " > > alert('inside post branch'); > > "; > } > > That works fine, but if I copy/pa

[jQuery] Re: Why won't this work?

2008-12-15 Thread Rick Faircloth
Yeah, there's plenty of other code running. Here's what's on the page.see anything that conflicts? function checkLogin(frm) { var frmData = {email_address:frm.email_address.value,password:frm.password.value}; $('#loginResponse').html('').css('display','none'); $.ajax

[jQuery] Re: Why won't this work?

2008-12-15 Thread Charlie Griefer
hides it for me. you may have something else going on in the page? another element with the same ID? some other conflict? run just the code that you posted in the original message (nothing else) and you should see it work. On Mon, Dec 15, 2008 at 6:23 PM, Rick Faircloth wrote: > The script do

[jQuery] Re: jQuery and PHP form problem

2008-12-15 Thread brian
On Mon, Dec 15, 2008 at 7:43 PM, Mike Alsup wrote: > > You should never have an element with an id value that does not match > its name value. Get that straightened out and you'll be fine. That's not true at all. Do you have a reference for that? The id attr. is solely for the DOM, while name

[jQuery] Re: Why won't this work?

2008-12-15 Thread Rick Faircloth
The script doesn't hide the tag and its contents.no error is given, it just doesn't work. The tag and its contents are visible on the page. From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Sam Sherlock Sent: Monday, December 15, 2008 9:21 PM To: jquery-en@g

[jQuery] Re: Why won't this work?

2008-12-15 Thread Sam Sherlock
what does not work? 2008/12/16 Rick Faircloth > > Why won't this... > > > >$(document).ready(function(){ >$('#emailError').hide(); >}); > > > > hide this... > > Please enter your email address. > > ??? > > Rick > >

[jQuery] Why won't this work?

2008-12-15 Thread Rick Faircloth
Why won't this... $(document).ready(function(){ $('#emailError').hide(); }); hide this... Please enter your email address. ??? Rick

[jQuery] Re: Where's my syntax error?

2008-12-15 Thread Rick Faircloth
Thanks, Karl... > -Original Message- > From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On > Behalf Of Karl Rudd > Sent: Monday, December 15, 2008 8:34 PM > To: jquery-en@googlegroups.com > Subject: [jQuery] Re: Where's my syntax error? > > > Remove the last ) >

[jQuery] Re: jCarousel - Animate top down instead of bottom up

2008-12-15 Thread andy prondak
Anyone? On Sun, Dec 14, 2008 at 10:28 PM, flexieflyer wrote: > > Ive set up my carousel to auto scroll but Im looking to make it > animate from the top down instead of bottom up. > > Any ideas? >

[jQuery] problem with dynamically setting attributes in IE7

2008-12-15 Thread RandyJohnson
I have a jQuery routine that adds attributes to elements dynamically. I am able to retrieve the attribute value via $('#id').attr('attr')) in FF and Safari. When I attempt to retrieve the value in IE7 I get a blank value. If I place the attribute in the original HTML and attempt to read with IE

[jQuery] Re: Where's my syntax error?

2008-12-15 Thread Karl Rudd
Remove the last ) Karl Rudd On Tue, Dec 16, 2008 at 12:31 PM, Rick Faircloth wrote: > > Can't figure out what I've got wrong. > Firebug is telling me "syntax error });" > > Could someone please point out the error? > (Perhaps the entire coding is wrong...just trying > out something similar I sa

[jQuery] Re: Optimized Code

2008-12-15 Thread issya
Thank you for the reply. It is always nice to see how experienced people would write it. At the same time I get to learn some new tricks. Thanks again On Dec 15, 7:28 pm, Kean wrote: > Here's how I will code it. > > jQuery(function($) > { // this means document.ready > >   var optionDisplay = f

[jQuery] Where's my syntax error?

2008-12-15 Thread Rick Faircloth
Can't figure out what I've got wrong. Firebug is telling me "syntax error });" Could someone please point out the error? (Perhaps the entire coding is wrong...just trying out something similar I saw on the list a moment ago) Thanks, Rick $(document).ready(function(){

[jQuery] Re: jQuery and PHP form problem

2008-12-15 Thread Magnificent
I'm wondering if echo'ing the jQuery script inside my PHP code will work. If I do: if($_POST['search_button']){ echo " alert('inside post branch'); "; } That works fine, but if I copy/paste in my jQuery code I want executed: if($_POST['search_button']){

[jQuery] Re: Animation speed dilemma...

2008-12-15 Thread Dan Switzer
Dae, I'm talking about the ticker that ESPN uses on TV. As far as how many FPS per second, I have decided what I'm using. I'm just needing to make the visual speed of scrolling consistent (which is done by moving an element to the left until it's no longer visible) to be the same no matter how wi

[jQuery] Re: Hovering the mouse through multiple div's that intersect?

2008-12-15 Thread Janmansilver
Thanks that worked perfectly! :-) On Dec 16, 1:55 am, "Jeffrey Kretz" wrote: > You could put all 4 boxes inside a containing div, and apply the hover event > to that parent div. > > When you move from one child div to another, it will not fire the mouseleave > event. > > JK > > -Original Mes

[jQuery] Re: Animation speed dilemma...

2008-12-15 Thread Dave Methvin
Do you have a link to a ticker similar to the one you want to create? I didn't see one on the ESPN site. Also, what if the client can't keep up with 12 frames/sec? Should it drop frames?

[jQuery] Re: jQuery and PHP form problem

2008-12-15 Thread Magnificent
I'm not sure I understand. If you're saying change my inputs to: That has no effect, the jQuery form binding still trumps the php $POST branch. On Dec 15, 4:43 pm, Mike Alsup wrote: > > Basically, what I'm running into is my php branch is not executed > > while the form has an id (jQuery is

[jQuery] Animation speed dilemma...

2008-12-15 Thread Dan G. Switzer, II
I'm working on an ESPN style ticker and one of the problems I'm running in to is that I need to base animation on a specific speed, not a duration. Right now the animations all are based on duration (aka complete this animation in 2 seconds.) However, I need my animations to all run at the same v

[jQuery] Re: Hovering the mouse through multiple div's that intersect?

2008-12-15 Thread Jeffrey Kretz
You could put all 4 boxes inside a containing div, and apply the hover event to that parent div. When you move from one child div to another, it will not fire the mouseleave event. JK -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Ja

[jQuery] Re: incompatible while creating image element with IE

2008-12-15 Thread joe
i use the three way to create a image element,it works on all browsers except IE, IE just not show the image element. thank you. On 12月16日, 上午2时25分, brian wrote: > On Mon, Dec 15, 2008 at 10:41 AM, joe wrote: > > > $("").attr({src:imagesrc,alt:"joe"}) > > .mouseover(function(){this.src=imagel+i

[jQuery] Re: jQuery and PHP form problem

2008-12-15 Thread Mike Alsup
> Basically, what I'm running into is my php branch is not executed > while the form has an id (jQuery is taking precendence). If I remove > the id, the php branch works, but then obviously the jQuery code > doesn't run. > > Anyone have any ideas how I can get both to run? Can I put php code in >

[jQuery] Re: click function

2008-12-15 Thread Kean
Here's exactly the function that you need. http://docs.jquery.com/Events/toggle#fnfn2fn3.2Cfn4.2C... On Dec 15, 8:56 am, theCrandallSter wrote: > I am not exactly sure what you are doing with the positioning, but > try .toggle() instead perhaps? > > Cheers > > On Dec 15, 11:13 am, "Alfredo Ales

[jQuery] Re: Using the not() filter

2008-12-15 Thread Kean
This probably will work too. $("input:not(#addNewAddress, #addNewContactDetail)").click(); On Dec 15, 3:01 pm, "Rik Lomas" wrote: > Try: > > $("input").not('#addNewAddress, #addNewContactDetail').click(); > > Rik > > 2008/12/15 WhoButSB : > > > > > > > Hello All! > > I'm trying to figure out th

[jQuery] Re: submenu position: left or right

2008-12-15 Thread mrha...@gmail.com
I am also looking for the same thing, any solution?

[jQuery] Hovering the mouse through multiple div's that intersect?

2008-12-15 Thread Janmansilver
I have 4 div "boxes" that intersect with each other. They are all supposed to fade in if the mouse is hovering over any of them and not fade out when the mouse hovers from from one div "box" to another directly, only when the mouse leaves the area that all the divs cover, are they supposed to fade

[jQuery] jQuery and PHP form problem

2008-12-15 Thread Magnificent
Hi all, I've been messing around with jQuery (which is pretty cool), but I'm having an issue with jQuery form binding and PHP $POST variable processing. Basically, what I'm running into is my php branch is not executed while the form has an id (jQuery is taking precendence). If I remove the id, t

[jQuery] Superfish anyway for the menu to go right rather than left?

2008-12-15 Thread mrha...@gmail.com
I am getting ready to launch supperfish on my site and have been asked that if the subs hit the right side of the page that it reverse direction. I have never seen anyone do this but admit I have not fully researched this. I cant post the site for the public bit will share it if someone needs to s

[jQuery] fisheye: Position fixed: how?

2008-12-15 Thread Boz
Hallo everyone, i'm using a script found on: http://www.ndesign-studio.com/blog/design/css-dock-menu I noticed that it use jquery and interface.js . I've changed css style, using position fixed for "dock2". so images reamains on the botton of the screen while i scroll the page, but the sensible ar

[jQuery] Re: Odd issues passing JSON to server [resolved]

2008-12-15 Thread Shawn Grover
Just to put an answer to this, in case someone else runs into it... The problem was a PHP issue. The problem line was $data = json_decode($_GET["p"]); That line is perfectly fine, and the "p" var does have data. However the quotes in the string were automatically escaped. So the line neede

[jQuery] Re: Naming rules by class

2008-12-15 Thread Kean
The answer is yes. I have no idea if there's a validation widget out there that fulfill your needs. Just a quick example of how you can probably build the widget on your own. jQuery(function($){ $("input.required").blur(function(){ if (this.val.length == 0) alert("field is requir

[jQuery] Re: Optimized Code

2008-12-15 Thread Kean
Here's how I will code it. jQuery(function($) { // this means document.ready var optionDisplay = function() { var val = $("input:checked").val(); $(".city, .zip, .country").hide(); if (val.length > 0) $("."+val).show(); else $(".city").show(); $("#id_zip_code,

[jQuery] Re: How to access javascript variable of another frame?

2008-12-15 Thread andriscs
Thanks, it worked, I thought I tried it already, apparently didn't. On dec. 16, 00:32, RobG wrote: > On Dec 16, 9:00 am, andriscs wrote: > > > Hi, > > > If I have a page that has the following JS in header: > > > > x="someValue" > > > > > and it has a child frame, how can I acces the value of

[jQuery] Re: How to link myFunction(this) to a div

2008-12-15 Thread Kean
I didn't quite get what you meant but by judging on Rik's solution you can integrate custom functions into jQuery (function($) { $.fn.test = function() { alert(this.id); } })(jQuery); // this alerts wellwellwell $("body").test(); On Dec 15, 3:23 pm, "Rik Lomas" wrote: > The simplest

[jQuery] Re: eq() driving me nuts...

2008-12-15 Thread Karl Rudd
There shouldn't be 2 elements with the same id. Try using a class. There are no "a" elements inside the "div"s. I presume this is just a cut and paste error? Karl Rudd On Tue, Dec 16, 2008 at 9:24 AM, asrij...@googlemail.com wrote: > > Hi Guys, > > gotta problem here and i don't know why it oc

[jQuery] Re: Looking for an automated image replace loop

2008-12-15 Thread Kean
I forgot to include the detection script to see if it's the last child var cur = $("#gallery li:visible"); if (cur.is(":last-child") ) { cur.fadeOut(500, function(){ // run the loop function again when time is up, in this case 5 seconds $("#gallery li:first-child").fadeIn(

[jQuery] Re: Looking for an automated image replace loop

2008-12-15 Thread Kean
This might work I will give the ul an id="gallery" var loop = function(){ //current slide var cur = $("#gallery li:visible"); // fade out current li, on finish fade in next li cur.fadeOut(500, function(){ // run the loop function again when time is up, in this case 5 seconds

[jQuery] Re: How to access javascript variable of another frame?

2008-12-15 Thread RobG
On Dec 16, 9:00 am, andriscs wrote: > Hi, > > If I have a page that has the following JS in header: > > x="someValue" > > > and it has a child frame, how can I acces the value of the top page? If you are using frames, then from a child frame either: parent.x for the parent frame or to

[jQuery] Re: How to link myFunction(this) to a div

2008-12-15 Thread Rik Lomas
The simplest way would be to do something like test($(this)); as test is a function, not a method of the jQuery object. The more complex way would be to extend jQuery to allow method so you could use $(this).test(); http://docs.jquery.com/Core/jQuery.fn.extend Rik 2008/12/15 WebGrunt : > > Hi >

[jQuery] Re: eq() driving me nuts...

2008-12-15 Thread Rik Lomas
It's probably due to the fact that you're only allowed one id on the page at a time, $('#example') should only ever return one element, which is probably why $('#example:eq(1)') isn't working There's more on this here: http://www.tizag.com/cssT/cssid.php Rik 2008/12/15 Guengoeren : > > > Hi Guy

[jQuery] Looking for an automated image replace loop

2008-12-15 Thread BarisArt
I have this list of images: What I would like to have is an jQuery method which fades Image1 after a few seconds and then appears Image2. And so on. After the last image, Image 1 should be displayed again. Is this possible in jQuery?

[jQuery] [validate] ignore: using '.multiple, .selectors'

2008-12-15 Thread Andy Blackwell
For others wanting to utilize multiple selectors in their ignore parameter ala: $validator = $('form.validate').validate({ ignore: '.ignore, .ignore :input, :hidden :input' }); Just one item must be changed in v1.5 to allow this, which will only add to the functionality and not detract a

[jQuery] Optimized Code

2008-12-15 Thread issya
I recently made this small script and was thinking it is a bit long. It works just fine, I was wondering if there is any way to make it shorter or is this right? Thanks in advance for the help. $(document).ready( function() { if ($('input:checked').val() == 'city')

[jQuery] How to link myFunction(this) to a div

2008-12-15 Thread WebGrunt
Hi I'm new to jQuery and here's one thing that doesn't make sense. How do I link an existing function with "this" as argument to a div? The function to be called is really simple: function test(e) { alert(e.id); //Also tried e.getAttribute("id") or e.attr("id") } Here is what I tried so f

[jQuery] eq() driving me nuts...

2008-12-15 Thread asrij...@googlemail.com
Hi Guys, gotta problem here and i don't know why it occurs: Example: Simple Html Page jQuery.noConflict(); jQuery(document).ready(function() { alert( jQuery('#test:eq(1) > a:eq(0)').attr('href') ); }); test tes

[jQuery] eq() driving me nuts...

2008-12-15 Thread Guengoeren
Hi Guys, gotta problem here and i don't know why it occurs: Example: Simple Html Page jQuery.noConflict(); jQuery(document).ready(function() { alert( jQuery('#test:eq(1) > a:eq(0)').attr('href') ); }); http://www.test.de

[jQuery] Re: Using the not() filter

2008-12-15 Thread Rik Lomas
Try: $("input").not('#addNewAddress, #addNewContactDetail').click(); Rik 2008/12/15 WhoButSB : > > Hello All! > I'm trying to figure out the correct way to use the not() method. I > know there is also a :not() filter in selectors class but I couldn't > get that one to work either. > > My goal

[jQuery] How to access javascript variable of another frame?

2008-12-15 Thread andriscs
Hi, If I have a page that has the following JS in header: x="someValue" and it has a child frame, how can I acces the value of the top page? top.$("?"). I already tried top.$("#x") but it couldn't be read. Is it even possible to access variables through frames?

[jQuery] serialScroll and jCarousel lite

2008-12-15 Thread IsRaz88
Hey, I was wondering if anyone knows how I could implement serialScroll with jCarousel lite to get a constant scrolling function instead of scroll then pause. Any help is appreciated. Thanks. -IsRaz88

[jQuery] Re: Font size in sifr plugin

2008-12-15 Thread flycast
Yes. I have also copied the examples at the bottom of this page: http://jquery.thewikies.com/sifr/#description And they work except that the resulting swf ends up being very small. The text in the "Sample text" example starts out being 5em but the swf that replaces it ends up being about 12px. I

[jQuery] Re: Brief flash of expanded tree

2008-12-15 Thread besh
http://www.learningjquery.com/2008/10/1-awesome-way-to-avoid-the-not-so-excellent-flash-of-amazing-unstyled-content On Nov 29, 2:42 pm, Andrew wrote: > Hi > > I've got the treeview plugin set to be collapsed on load. This works > generally, but every now and then, the page loads and the tree app

[jQuery] Re: Change Cycle plugin fx dynamically?

2008-12-15 Thread JohnnyCee
An update... I got a page to work where I change the Cycle "fx" parameter dynamically. Basically, I reconstruct the HTML for the slides dynamically and then call Cycle() on it. The page is not online yet; when it is, I'll post a URL to it.

[jQuery] Re: Calculate form sections into form total

2008-12-15 Thread Nic Hubbard
Ok, I moved the main js into a function and it worked: function calculate() { var valueStart = 0; if ($('#q38481_q3').val() === '') { $('#q38481_q3').val('0') } var lunchVal = parseInt($('#q38481_q3').val()) * 50; $('#sponsorOptions :checked, #attendingOp

[jQuery] Re: Good book or site to learn jquery?

2008-12-15 Thread none
jQuery in Action Learning JQuery jQuery Reference Guide

[jQuery] Re: Options

2008-12-15 Thread MorningZ
For Jorn's plugin http://docs.jquery.com/UI/Autocomplete/autocomplete#options On Dec 15, 12:55 pm, Samuel Santos wrote: > Where can I find a complete list of all the available options of the > jQuery Autocomplete plugin?

[jQuery] Re: [autocomplete] Options

2008-12-15 Thread Charlie Griefer
On Mon, Dec 15, 2008 at 9:55 AM, Samuel Santos wrote: > > Where can I find a complete list of all the available options of the > jQuery Autocomplete plugin? > assuming you're using the following plugin - http://www.dyve.net/jquery/?autocomplete : http://www.dyve.net/jquery/autocomplete.txt --

[jQuery] Re: Trouble using rules( "add", rules ) as well as setting attribute for range validations

2008-12-15 Thread BillSaysThis
I am not able to make equalTo work despite trying many variations of inserting the validation. For instance: Email

[jQuery] [autocomplete] Options

2008-12-15 Thread Samuel Santos
Where can I find a complete list of all the available options of the jQuery Autocomplete plugin?

[jQuery] [validate] Naming rules by class

2008-12-15 Thread ycuentocorto
Can I name the validations by classname, in order to verfify all fiuelds that match with specified classname? For example set that all input that have a class "date" (

[jQuery] Using the not() filter

2008-12-15 Thread WhoButSB
Hello All! I'm trying to figure out the correct way to use the not() method. I know there is also a :not() filter in selectors class but I couldn't get that one to work either. My goal is to add a click function to all the input fields on a page. But not select the input buttons that are nested

[jQuery] Re: superfish z-index problem

2008-12-15 Thread Caveman
Here is the whole page. I tried to edit out some of the code to make it easier to read, but I guess that didn't work. The google maps api key used on this page will only run on localhost: http://www.w3.org/1999/xhtml";> $(document).ready(function() {

[jQuery] Calculate form sections into form total

2008-12-15 Thread Nic Hubbard
I am wondering what the best practice is for calulating form sections into a form total. E.g., the top of the form has some radio buttons with price values, when a value is selected the total field at the bottom of the form is updated. There is also a set of checkboxes with values, with a click

[jQuery] Re: [treeview] Brief flash of expanded tree

2008-12-15 Thread neokio
On Dec 15, 3:48 pm, "Michael Geary" wrote: > > > I'm not sure if it's the best solution, but a friend of > > > mine helped me overcome the issue i was experiencing. > > > We added a line of CSS to hidetreeviewon load, and then set > > > it to display in the demo.js file once everything was loaded

[jQuery] Re: incompatible while creating image element with IE

2008-12-15 Thread brian
On Mon, Dec 15, 2008 at 10:41 AM, joe wrote: > > $("").attr({src:imagesrc,alt:"joe"}) > .mouseover(function(){this.src=imagel+imageid;}) > .mouseout(function(){this.src=images+imageid;}) > .appendTo($("#bc"+bookrecno)); > > $("") > .mouseover(function(){this.src=imagel+imageid;}) > .mouseout(func

[jQuery] Re: layout of a project / good practices

2008-12-15 Thread brian
On Mon, Dec 15, 2008 at 10:13 AM, Jan Limpens wrote: > > Hi guys, > > I wonder if anybody knows a good page/tutorial/etc... that explains > good practices in structuring a project that uses jquery. > Currently I have a mess of files that all populate the global name > space with things currently

[jQuery] Re: table sorter issue, how do i sort these as a currency

2008-12-15 Thread livewire9174
here is the code, I need to stop the execution somewhere I guess ? I am using ajax calls to put data into to table, so I guess I cant attach the tablesorter script until the ajax calls have fully finished ? [code] function ajaxFunction() { var xmlHttp=null; try { // Firefox, Oper

[jQuery] Re: Superfish module for Joomla

2008-12-15 Thread Soylent
One problem I've been having is that if any other module/plugin loads the prototype js library, it kills superfish. To fix this, I replaced all references in the script from $. or $( to jQuery. and jQuery( -- I didn't like having to do this, but unfortunately I'm stuck using both jQuery and proto

[jQuery] Re: Superfish module for Joomla

2008-12-15 Thread Soylent
I don't have a live site up with the menu's yet, but will post it when I get it ready to go. On Dec 8, 9:52 am, Lawk Salih wrote: > Can you also share the link where we can see a live link of this > project. > > Thanks, Lawk. > > On Dec 8, 9:21 am, Soylent wrote: > > > I don't know if any of yo

[jQuery] Re: passing this reference to setTimeout()

2008-12-15 Thread ekallevig
Thanks! On Dec 15, 11:59 am, Mike Alsup wrote: > > I'm using jQuery.hover for a dropdown menu and I want to add a slight > > delay to mouseOut functions but I can't figure out how to pass the > > jQuery(this) reference into the setTimeout() function... can this be > > done? > > > jQuery('li.drop

[jQuery] Re: passing this reference to setTimeout()

2008-12-15 Thread Mike Alsup
> I'm using jQuery.hover for a dropdown menu and I want to add a slight > delay to mouseOut functions but I can't figure out how to pass the > jQuery(this) reference into the setTimeout() function... can this be > done? > > jQuery('li.drop').hover( >         function(){ >                 jQuery(th

[jQuery] passing this reference to setTimeout()

2008-12-15 Thread ekallevig
I'm using jQuery.hover for a dropdown menu and I want to add a slight delay to mouseOut functions but I can't figure out how to pass the jQuery(this) reference into the setTimeout() function... can this be done? ex. jQuery('li.drop').hover( function(){ jQuery(this).addCla

  1   2   >