[jQuery] Re: Fancybox and IE7 drop shadow?

2009-01-17 Thread Photomaximum
-Bounce- Anybody??? On Jan 16, 11:40 am, Photomaximum wrote: > Hi, > > First post for me. I a photographer and an absolute jquery & scripting > newby. > > I looked through many scripts before finding Fancybox. I really like > it. I am very, very new to scripting and Jquery though. I know HTML >

[jQuery] Re: Solution To Many Of Your CSS Nightmares!

2009-01-17 Thread johny why
ricardo, no offense-- the only part of this thread you need to worry about is the first post: to insulate your 3rd-party candy (such as a suckerfish menu) from your site's css, globally replace: ";" with " !important;" in the candy's css. that's it. the rest of this thread is geeks debating hy

[jQuery] Re: premature ready?

2009-01-17 Thread MorningZ
This article should help if you want to use google.load http://www.devshed.com/c/a/AJAX/Using-the-jQuery-Framework-with-Googles-Ajax-Libraries-API/2/ but i'd just suggest using the

[jQuery] Re: drag and drop doesn'n work well

2009-01-17 Thread Richard D. Worth
Are you using jQuery UI drag and drop or easydrag? Seems you have both included. - Richard On Sat, Jan 17, 2009 at 4:36 PM, even971 wrote: > > I would like to show with the alertbox "Droped!" when I dropping > ".player" in ".fishing". However that doesn't work except .droppable- > activ and .dr

[jQuery] Re: How to get sum of children element's width

2009-01-17 Thread David .Wu
yup, that's right. On 1月18日, 上午6時49分, MorningZ wrote: > One problem is you have to wait for all the images to actually be > loaded (something that is not guarenteed inside document.ready > > so switch > > $(function() > > to > > $(window).load(function() > > and you'll get the results > > On Jan

[jQuery] [jQuery V1.3] will lead behavior for IE to lose efficacy

2009-01-17 Thread ChenKaie
Dear all, I use some behavior hack, like the famous Whatever:hover (http:// www.xs4all.nl/~peterned/csshover.html), when I upgrade jQuery to v1.3, it cause this hack to lose efficacy, but works well under jquery v1.2. any body? meet the same problem with me? or any good ideas?

[jQuery] Re: jquery.com and IE7

2009-01-17 Thread Karl Swedberg
Hi Charlie, I'm not seeing the problem. It looks like there is some extra white space after method names, but it's certainly readable. Here is a screenshot: http://skitch.com/kswedberg/bbte7/jquery.com-in-ie7 Can you post a screenshot of what you're seeing, too, so I can try to diagnose

[jQuery] Re: How select first link??

2009-01-17 Thread Karl Swedberg
For those who don't follow the dev list, John replied there. It turns out there was another ticket filed for the same bug, and he has already taken care of it: Yep - that's a duplicate of #3873 and has already been fixed! http://dev.jquery.com/ticket/3873 --Karl On Jan 17, 2009, at 5:31

[jQuery] JCarousel Bug? Autostop Doesn't Work When Animating

2009-01-17 Thread xbunnyflyx
Hello. I have a jcarousel on a page of my Drupal 6 site. Everything works beautifully, except this one thing... I added this function so that the buttons disappear and the carousel's automatic scrolling stops whenever the mouse hovers over it: carousel.container.hover( function() { carousel.stop

[jQuery] [autosagestion] link in the list

2009-01-17 Thread mampo
Hello Im beginer with ajax and i nead help . I use the autocomplate plugin and i have this code $("#suggest13").autocomplete(customers, { minChars: 0, width: 310, matchContains: true, autoFill: false, formatI

[jQuery] Re: Superfish error... the menu can only got 3 layers in

2009-01-17 Thread johny why
i think your problem is your html, not superfish. your html may be badly formed. my html editor pointed out some errors: My Pools Football Hockey NHL Playoff Bracket playoff09 myplayoff Straight Pickem NHL09

[jQuery] Re: Changing bg color of cell does not work in firefox 3 (works in ie7)

2009-01-17 Thread Ron
You are really fast!!! Thank you. This is the problem. A minute after I posted I realized my mistake, but could not stop the post... On Jan 17, 4:35 pm, "Mauricio \(Maujor\) Samy Silva" wrote: > You missed a # in the color sintax: > $(this).css('background-color', '00'); > Should be: > $(thi

[jQuery] Re: Superfish error... the menu can only got 3 layers in

2009-01-17 Thread sguerr...@gmail.com
Has anybody else had issues with this or am I the only one? Sergio On Jan 17, 5:02 pm, "sguerr...@gmail.com" wrote: > No this did not help > > As seen by my html this should work properly but it doesnt: > > >   >   >    My Pools >     > >      Football > >      Hockey >         >          NHL

[jQuery] Re: Changing bg color of cell does not work in firefox 3 (works in ie7)

2009-01-17 Thread Mauricio (Maujor) Samy Silva
You missed a # in the color sintax: $(this).css('background-color', '00'); Should be: $(this).css('background-color', '#00'); -Mensagem Original- De: "Ron" Para: "jQuery (English)" Enviada em: sábado, 17 de janeiro de 2009 22:13 Assunto: [jQuery] Changing bg color of cell do

[jQuery] Changing bg color of cell does not work in firefox 3 (works in ie7)

2009-01-17 Thread Ron
When I click on the green cell (td.commsion), its color changes to black. It works fine in IE. In FF the bg color does not change (I do see the console.log message). Any idea why? Here's the code: $(document).ready(function() { $("td.commision").click(

[jQuery] Re: Solution To Many Of Your CSS Nightmares!

2009-01-17 Thread johny why
hi Ricardo i think you're not understanding the nature of css conflicts (has nothing to do with "badly" written code), or you're not understanding how super-simple this technique is (no "fuss", it's a simple 2-second tweak), or i'm not understanding you (are you just trying to be cute?)

[jQuery] Re: Problem with jQuery Cycle Plugin

2009-01-17 Thread zeckdude
Ofcourse. I figured it was such a simple solution. Thanks for the great code and for taking the time and effort to help us out! I need to use Firebug alot more too I see. -Chris malsup wrote: > > >> I'm using the jQuery Cylce Plugin(http://malsup.com/jquery/cycle/) and I >> ran >> into so

[jQuery] jquery.com and IE7

2009-01-17 Thread Charlie22
hi all, its only me or somebody has problem with jquery.com?? In IE7 I dont see after a few seconds white background and pages are unreadable. Only main page is working correctly. Thx for info

[jQuery] Re: Problem with jQuery Cycle Plugin

2009-01-17 Thread Mike Alsup
> I'm using the jQuery Cylce Plugin(http://malsup.com/jquery/cycle/) and I ran > into some problems when I added it to some other pre-exising code I have. > > 1. Here is the working Slideshow > -http://www.idea-palette.com/testfolder/slideshowtest.html > > When I add the existing working Slidesho

[jQuery] Re: premature ready?

2009-01-17 Thread Jonathan Lundell
On Jan 17, 2009, at 2:41 PM, MorningZ wrote: I can't find the page where it's mentioned, but i am pretty sure that "google.load" happens *asynchronously*, meaning that once in a while maybe the jQuery library isn't loaded yet before $(document).ready ()l I'd suggest before doing or bl

[jQuery] Problem with jQuery Cycle Plugin

2009-01-17 Thread zeckdude
Hello all, I'm using the jQuery Cylce Plugin(http://malsup.com/jquery/cycle/) and I ran into some problems when I added it to some other pre-exising code I have. 1. Here is the working Slideshow - http://www.idea-palette.com/testfolder/slideshowtest.html When I add the existing working Slides

[jQuery] Re: How to get sum of children element's width

2009-01-17 Thread MorningZ
One problem is you have to wait for all the images to actually be loaded (something that is not guarenteed inside document.ready so switch $(function() to $(window).load(function() and you'll get the results On Jan 17, 3:27 pm, "David .Wu" wrote: > This is the way I got the size now, is the

[jQuery] Re: premature ready?

2009-01-17 Thread MorningZ
I can't find the page where it's mentioned, but i am pretty sure that "google.load" happens *asynchronously*, meaning that once in a while maybe the jQuery library isn't loaded yet before $(document).ready ()l I'd suggest before doing or blaming anything to take the Google AJAX Libraries

[jQuery] Re: How select first link??

2009-01-17 Thread Karl Swedberg
Hi Nic, No worries. You're right about :first-child. Ricardo, I have no idea why it wasn't caught in the test suite. Seems like another handful of tests are warranted. I posted a message on the dev list, pointing to this thread and the bug ticket, so hopefully John can get it taken care of

[jQuery] Re: premature ready?

2009-01-17 Thread Jonathan Lundell
On Jan 17, 2009, at 2:09 PM, Dave Methvin wrote: Could you put together a page that fails? The .ready() method works reliably for me. http://lobitos.net/wx?loc=12345&fmt=wide I added a button 'jqtest' that uses bind-on-ready to do the same thing that the 'raw' button does with onclick, and

[jQuery] Re: How select first link??

2009-01-17 Thread Charlie22
Sry for confusing, but that pcs of code was from testing page, where I tested all alternatives.. On Jan 17, 10:19 pm, "Nic Luciano" wrote: > Ah, Karl, I see the issue now. I was also confused with the original usage > since the discussion was about :first but he was using :first-child. So let >

[jQuery] Re: premature ready?

2009-01-17 Thread Dave Methvin
Could you put together a page that fails? The .ready() method works reliably for me.

[jQuery] Re: How select first link??

2009-01-17 Thread Charlie22
pity, that I need new feuture .live actually, thats why I used 1.3 version. Is any predicition when it can be solved? On Jan 17, 10:19 pm, "Nic Luciano" wrote: > Ah, Karl, I see the issue now. I was also confused with the original usage > since the discussion was about :first but he was using :f

[jQuery] Re: Superfish error... the menu can only got 3 layers in

2009-01-17 Thread sguerr...@gmail.com
No this did not help As seen by my html this should work properly but it doesnt: My Pools Football Hockey NHL Playoff Bracket playoff09 myplayoff

[jQuery] Re: AJAX- i had two different problems each with mozilla and IE

2009-01-17 Thread Ricardo Tomasi
Are you using jQuery at all? $.get('functions.php', {moviename:movie}, function(xmlResponse){ $('#pla').html( $(':first', xmlResponse) ); }); docs.jquery.com/Ajax On Jan 17, 2:55 am, anjith wrote: > I am tired select box function for geting datafrom the database and > display in tabular for

[jQuery] Re: Select links that end in .png, .jpg or .gif

2009-01-17 Thread Mike Alsup
> variety, yes: > > $('.post a').filter('[href$=.png],[href$=.jpg],[href$=.gif]') > > On Jan 17, 7:02 pm, Karl Swedberg wrote: > > > On Jan 17, 2009, at 3:52 PM, Mike Alsup wrote: > > > >> I use a light-box plugin on my > > >> website,http://www.FreeSoftwareWorkshop.com > > >> and I need to sele

[jQuery] Re: .hide() and .height()

2009-01-17 Thread Ricardo Tomasi
height() indeed works for hidden elements. If the element has display:none set it will briefly set display back, add visibility:hidden and return the correct height. See it working in this test page: http://jsbin.com/ucumo/ you said that ".hide() causes the **parent** element to loose its height

[jQuery] drag and drop doesn'n work well

2009-01-17 Thread even971
I would like to show with the alertbox "Droped!" when I dropping ".player" in ".fishing". However that doesn't work except .droppable- activ and .droppable-hover. Why alert("Dropped") doesn't work ? map #map {

[jQuery] Re: Solution To Many Of Your CSS Nightmares!

2009-01-17 Thread Ricardo Tomasi
That's way too much fuss for badly written CSS :) On Jan 17, 5:10 pm, johny why wrote: > right, Klaus, specificity resolves conflicts. > > if your main site css uses !important on any element which conflicts > with your candy css, it MIGHT resolve in favor of the site's css-- > causing your cand

[jQuery] Re: How to get sum of children element's width

2009-01-17 Thread Ricardo Tomasi
Can't you get the width of the parent div? (If it has width:auto) Otherwise the way you're doing it is just fine. On Jan 17, 6:27 pm, "David .Wu" wrote: > This is the way I got the size now, is there any function can do the > same thing? > > Html code > >                

[jQuery] Re: Select links that end in .png, .jpg or .gif

2009-01-17 Thread Nicholas
Thank you very much guys, worked like a charm. I once posted a question in the Adsense group and got a reply in 3 days (that didn't helped a bit). Here I've got a response in 20 minutes. :) Keep up the good work!

[jQuery] Re: How select first link??

2009-01-17 Thread Nic Luciano
Ah, Karl, I see the issue now. I was also confused with the original usage since the discussion was about :first but he was using :first-child. So let me ask, in your test, li a:first should only return one element (as per docs, :first should always only return one element), correct? And first-chil

[jQuery] Re: Select links that end in .png, .jpg or .gif

2009-01-17 Thread Ricardo Tomasi
variety, yes: $('.post a').filter('[href$=.png],[href$=.jpg],[href$=.gif]') On Jan 17, 7:02 pm, Karl Swedberg wrote: > On Jan 17, 2009, at 3:52 PM, Mike Alsup wrote: > > > > > > >> I use a light-box plugin on my website,http://www.FreeSoftwareWorkshop.com > >> and I need to select the links tha

[jQuery] Re: How select first link??

2009-01-17 Thread Charlie22
I assume it is the general bug, so lets hope it will be fixed asap. On Jan 17, 10:13 pm, Ricardo Tomasi wrote: > I know this isn't the dev list, but I'm curious about how come these > bugs weren't caught by the test suite? > > On Jan 17, 6:50 pm, Karl Swedberg wrote: > > > Nic, > > Actually, it

[jQuery] Re: How select first link??

2009-01-17 Thread Ricardo Tomasi
I know this isn't the dev list, but I'm curious about how come these bugs weren't caught by the test suite? On Jan 17, 6:50 pm, Karl Swedberg wrote: > Nic, > Actually, it is a bug, at least in the sense that the results are   > different from those of any previous version of jQuery. > >   It isn

[jQuery] Re: Superfish error... the menu can only got 3 layers in

2009-01-17 Thread johny why
i was having superfish problems too. i resolved them with the ! important method. might be your solution. http://groups.google.com/group/jquery-en/browse_thread/thread/fda8d8c533d6ae09

[jQuery] Re: Select links that end in .png, .jpg or .gif

2009-01-17 Thread Karl Swedberg
On Jan 17, 2009, at 3:52 PM, Mike Alsup wrote: I use a light-box plugin on my website,http://www.FreeSoftwareWorkshop.com and I need to select the links that end in .png, .jpg or .gif. This is how I use the selector (it works only for .png): $(function(){ $(".post a[href$=.png]").ligh

[jQuery] Help getting 2 coda sliders working that are nested

2009-01-17 Thread rbla...@gmail.com
yo javascript dudes please help :/, I am trying to get this working but failing miserably because it is from a pre-made script that I got from a tutorial, and I am modifying it to try and make it do what I want. I am not really all that good with jquery yet, I know just enough to be dangerous. I h

[jQuery] Re: Possible 1.3 bug

2009-01-17 Thread Diego A.
Hi Karl, That seems to have worked perfectly. I was quite happy to wait for a new version but thank you for attending to this so quickly! Cheers, Diego A. 2009/1/15 Karl Swedberg > Thanks, Balazs! > Hi Diego, > I took a quick look at the moreSelectors script and noticed that it uses > the [...

[jQuery] Re: Select links that end in .png, .jpg or .gif

2009-01-17 Thread Mike Alsup
> I use a light-box plugin on my website,http://www.FreeSoftwareWorkshop.com > and I need to select the links that end in .png, .jpg or .gif. > This is how I use the selector (it works only for .png): > > $(function(){ >         $(".post a[href$=.png]").lightBox({ > > }); > }); > > How can modify

[jQuery] Re: How select first link??

2009-01-17 Thread Karl Swedberg
Nic, Actually, it is a bug, at least in the sense that the results are different from those of any previous version of jQuery. It isn't just about :first, though. It has to do with multiple- descendant selectors in general. I've provided a test case at http://test.learningjquery.com/selector

[jQuery] premature ready

2009-01-17 Thread Jonathan Lundell
Well, maybe In my first use of jQuery, I attached a visibility toggle function, via document ready, to a button (button by id, toggling by class), and got very erratic results. Typically, the toggle didn't work on first load of the document, but tended to work if the document was reload

[jQuery] Select links that end in .png, .jpg or .gif

2009-01-17 Thread Nicholas
Hello, I use a light-box plugin on my website, http://www.FreeSoftwareWorkshop.com and I need to select the links that end in .png, .jpg or .gif. This is how I use the selector (it works only for .png): $(function(){ $(".post a[href$=.png]").lightBox({ }); }); How can modify the above i

[jQuery] Superfish error... the menu can only got 3 layers in

2009-01-17 Thread sguerr...@gmail.com
The is an error in the javascript file, and only allows the main menu to have 3 layers of sub menus, after that the 4th layer appears opened along with the 3rd layer, and does not work as desired. Can anybody provide a fix for this? Sergio

[jQuery] premature ready?

2009-01-17 Thread JLundell
Well, maybe In my first use of jQuery, I attached a visibility toggle function, via document ready, to a button (button by id, toggling by class), and got very erratic results. Typically, the toggle didn't work on first load of the document, but tended to work if the document was reloaded fro

[jQuery] Re: How select first link??

2009-01-17 Thread Charlie22
jQuery has true. How can I select first link? this is original question. And why doesnt work this code $('#menu li a:first')? On 17 Led, 21:39, "Nic Luciano" wrote: > That's true, but that's exactly how it's supposed to function. > > > > On Sat, Jan 17, 2009 at 3:35 PM, jQuery Lover wrote: > >

[jQuery] Re: Submitting a form with .submit() problems

2009-01-17 Thread Mike Alsup
> Actually in this case parents('form') of the clicked object does not > include the form tag itself and I believe it's due to the poor html > structure. I just tested this out. It's tough to script on back markup. Different browsers will do different things in an attempt to figure out what you

[jQuery] [ resolution browser? ]

2009-01-17 Thread Lord Gustavo Miguel Angel
Hi, How i can to know resolution of browser? Thank´s

[jQuery] Re: How select first link??

2009-01-17 Thread Nic Luciano
That's true, but that's exactly how it's supposed to function. On Sat, Jan 17, 2009 at 3:35 PM, jQuery Lover wrote: > > No he is not! > > Suppose you have this scenario: > > > >Home >Rules > Pilots > Briefing > IGC

[jQuery] Re: Jquery Calling Servlet

2009-01-17 Thread Mike Alsup
> > ... i need to use AJAX because  the servlet called is appended with input > > parameters that contains 1 to 5 charectars and when i directly call > > the servlet  instead of making ajax call the url is not completely formed > > and the servlet is not invoked. > > You can change your fo

[jQuery] Re: How select first link??

2009-01-17 Thread jQuery Lover
No he is not! Suppose you have this scenario: Home Rules Pilots Briefing IGC Results Forum $('#menu li:first a').remove() - will do nothing here, since first li has no anch

[jQuery] Re: Thickbox and Yahoo Stores

2009-01-17 Thread jQuery Lover
Try this two options: $('a').unbind('click'); // not sure if it works or not OR $('a').click(function(){ window.location=$(this).attr('href'); return false; }); and put this code after all other javascript codes! Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Mon,

[jQuery] Re: Hide content until loaded

2009-01-17 Thread Pedram
I suggest you to use the toggleClass and your code should look like this $('#tn-loading').toggleClass('hide'); $(document).ready(function() { $('#tn-loading').toggleClass('hide'); }); .hide{ dispaly:none;} so let me explain it this way , we first apply the .hide to the tn- loading, and when t

[jQuery] Re: How select first link??

2009-01-17 Thread Charlie22
Well, you are right, thx for explanation. Now it is clear!! On 17 Led, 21:04, Pedram wrote: > hi Guys , I know what should you do , > $('#menu li:first a').remove() > this is the code you need , jquery has no problem when you use this > code $('#menu li a:first').remove(); the selector checks ea

[jQuery] How to get sum of children element's width

2009-01-17 Thread David .Wu
This is the way I got the size now, is there any function can do the same thing? Html code

[jQuery] Re: Jquery Calling Servlet

2009-01-17 Thread jQuery Lover
You can change your form method attribute to post and you would not have the too long url problem. Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Mon, Jan 12, 2009 at 9:52 AM, RUQUIA TABASSUM wrote: > ... i need to use AJAX because the servlet called is appended wi

[jQuery] Re: question about changes to :not() in 1.3

2009-01-17 Thread Ricardo Tomasi
Shouldn't it simply be $(':not(div):has(div)') ? Note that it gives you all the chain of parents to the element which contains a DIV. On Jan 16, 6:26 pm, jdwbell wrote: > Thank you very much for your reply.  I am finding that with the > example listed below these two work as expected (that is

[jQuery] Re: How to grab the filename (src attribute) of an image?

2009-01-17 Thread jQuery Lover
Well, it depends where you need it... Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Mon, Jan 12, 2009 at 10:19 PM, webmas...@terradon.nl wrote: > > Where and how do i implement var fileName = $(this).attr('src'); >

[jQuery] Re: More efficient way to find Parent element

2009-01-17 Thread Ricardo Tomasi
$(this).parents('table:first') or in jQuery 1.3: $(this).closest('table'); - ricardo On Jan 16, 5:13 pm, Coryt wrote: > after learning the difference between parents and parent, I am having > to resort to using parent(), but it's not very clean. > > Consider the following table, which is embe

[jQuery] Re: load script regarding to value of textfield

2009-01-17 Thread jQuery Lover
Use jquery's get() method. More about it here: http://docs.jquery.com/Ajax/jQuery.get Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Tue, Jan 13, 2009 at 2:40 PM, dirk w wrote: > > ides anyone? > > On 12 Jan., 17:43, dirk w wrote: >> thanks a lot for your help! >> is

[jQuery] Re: will lead behavior for IE to lose efficacy

2009-01-17 Thread Pedram
Don't worry 1.3.1 is going to be released soon On Jan 17, 12:38 am, ChenKaie wrote: > Dear all, > > I use some behavior hack, like the famous Whatever:hover > (http://www.xs4all.nl/~peterned/csshover.html), when I upgrade jQuery to v1.3, > it cause this hack to lose efficacy, but works well und

[jQuery] Re: How select first link??

2009-01-17 Thread Pedram
hi Guys , I know what should you do , $('#menu li:first a').remove() this is the code you need , jquery has no problem when you use this code $('#menu li a:first').remove(); the selector checks each li and removes the so all of the links will be removed so in your case your code should look like

[jQuery] Re: Submitting a form with .submit() problems

2009-01-17 Thread g...@getsharepoint.com
Actually in this case parents('form') of the clicked object does not include the form tag itself and I believe it's due to the poor html structure. I just tested this out. On Jan 17, 2:15 pm, Alex Kachayev wrote: > If I undestood the task right, you can create code in such way. > > You form will

[jQuery] Re: Display Loading Image While Ajax Content Loads

2009-01-17 Thread jQuery Lover
Yeap, you can bind all images with .gallery class a .load() event like this: $('img.gallery').load(function(){ $(this.).removeClass('loading').show(); }); Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Fri, Jan 16, 2009 at 10:20 PM, jinscoe wrote: > > Whoops! I'm s

[jQuery] Re: Solution To Many Of Your CSS Nightmares!

2009-01-17 Thread johny why
so let's both remove our off-topic threads, ok? and no hard feelings, and glad she's not preggo - Original Message - From: jQuery Lover To: jquery-en@googlegroups.com Sent: Saturday, January 17, 2009 11:45 AM Subject: [jQuery] Re: Solution To Many Of Your CSS Nightmares!

[jQuery] Re: jQuery 1.3 Released

2009-01-17 Thread jQuery Lover
That tests must be in average. I made some test on .class selectors and it showed 25x faster. Here is the test and it's results: http://jquery-howto.blogspot.com/2009/01/jquery-126-and-jquery-13-class-selector.html On Thu, Jan 15, 2009 at 2:03 PM, ryan.joyce...@googlemail.com wrote: > > nice

[jQuery] Re: Solution To Many Of Your CSS Nightmares!

2009-01-17 Thread jQuery Lover
You made a good point, I should have replied to you personally! PS. Please don't take it personal. That was (kinda) a joke. I guess we are in a better mood here and all of my friends that I MADE TO look through the the thread said 'Good one' : PSS. Nothing personal Johny... just a sunny day a

[jQuery] Re: Submitting a form with .submit() problems

2009-01-17 Thread Alex Kachayev
If I undestood the task right, you can create code in such way. You form will be like this: http://jquery.com"; method="post" id="myForm"> Convertion(1000, this) will return: true, if it`s neccesary to submit form. false, in other case. For this question: 'Is there another way to get

[jQuery] Re: How select first link??

2009-01-17 Thread Charlie22
ok, thx for your help guys, because it made me crazy for a while and thx for your bug report jQuery Lover. I am new pretty new and jQuery I am using 2-3 weeks and it is great TOOL!!! On 17 Led, 20:33, jQuery Lover wrote: > Submitted a ticket:http://dev.jquery.com/ticket/3903 > > Let's see what h

[jQuery] Re: Solution To Many Of Your CSS Nightmares!

2009-01-17 Thread johny why
jQuery Lover, i'm a programmer. i'm a perfectionist when it comes to wording. Unfortunately, google groups does not provide a draft feature, OR preview feature, OR edit-after-posting feature, which i find galling and irritating. i'll try to get my wording right before posting. secondly, the idea

[jQuery] Re: How select first link??

2009-01-17 Thread jQuery Lover
Submitted a ticket: http://dev.jquery.com/ticket/3903 Let's see what happens :) Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Sun, Jan 18, 2009 at 12:32 AM, Charlie22 wrote: > > so why it doesnt work?? is it jQuery bug? > > On 17 Led, 20:30, jQuery Lover wrote: >>

[jQuery] Re: How select first link??

2009-01-17 Thread Charlie22
so why it doesnt work?? is it jQuery bug? On 17 Led, 20:30, jQuery Lover wrote: > It is... > > > Read jQuery HowTo Resource  -  http://jquery-howto.blogspot.com > > On Sun, Jan 18, 2009 at 12:27 AM, Charlie22 wrote: > > > yes, that is what I said..not working, so I have to replace any > >

[jQuery] Re: How select first link??

2009-01-17 Thread jQuery Lover
It is... Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Sun, Jan 18, 2009 at 12:27 AM, Charlie22 wrote: > > yes, that is what I said..not working, so I have to replace any > scripts. I thought that "#menu li a" is regular CSS selector...or > not?? >

[jQuery] Re: How select first link??

2009-01-17 Thread Charlie22
yes, that is what I said..not working, so I have to replace any scripts. I thought that "#menu li a" is regular CSS selector...or not?? On 17 Led, 20:23, jQuery Lover wrote: > Interesting but it [ $('#menu li a:first') ] does not work in 1.3 !!! > > > Read jQuery HowTo Resource  -  http://j

[jQuery] Re: How select first link??

2009-01-17 Thread jQuery Lover
Interesting but it [ $('#menu li a:first') ] does not work in 1.3 !!! Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Sun, Jan 18, 2009 at 12:18 AM, Charlie22 wrote: > > hmm, it seems as my stupidity :-) so there is no need use element > in this case. Originally I had

[jQuery] Re: Solution To Many Of Your CSS Nightmares!

2009-01-17 Thread jQuery Lover
> repeatedly reposting the same comment And the idea is clear already. Use "!important", but use it with care... Simple and clear... Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Sun, Jan 18, 2009 at 12:16 AM, johny why wrote: > > jquery Lover, let go of what? this

[jQuery] Re: How select first link??

2009-01-17 Thread Charlie22
hmm, it seems as my stupidity :-) so there is no need use element in this case. Originally I had code $('#menu li a:first'), but it works only under 1.2.6, not under 1.3 Am I correct? On 17 Led, 20:09, jQuery Lover wrote: > Exactly, just like I wrote!!! > > > $('#menu a:first').remove(); > > --

[jQuery] Re: Solution To Many Of Your CSS Nightmares!

2009-01-17 Thread johny why
jquery Lover, let go of what? this technique? this thread? or my repeatedly removing and reposting the same post, because you get an email alert every time? On Jan 17, 11:10 am, jQuery Lover wrote: > OFFTOP: > > Johny, just let it go already... :))) > > > Read jQuery HowTo Resource  -  htt

[jQuery] Re: Solution To Many Of Your CSS Nightmares!

2009-01-17 Thread johny why
right, Klaus, specificity resolves conflicts. if your main site css uses !important on any element which conflicts with your candy css, it MIGHT resolve in favor of the site's css-- causing your candy to display wrong! fortunately, !important seems to be used rarely, so such a conflict is unlike

[jQuery] Re: Solution To Many Of Your CSS Nightmares!

2009-01-17 Thread jQuery Lover
OFFTOP: Johny, just let it go already... :))) Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Sun, Jan 18, 2009 at 12:07 AM, johny why wrote: > > right, Klaus, specificity resolves conflicts. > > if your main site css uses !important on any element which conflicts > w

[jQuery] Re: How select first link??

2009-01-17 Thread jQuery Lover
Exactly, just like I wrote!!! > $('#menu a:first').remove(); Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Sun, Jan 18, 2009 at 12:05 AM, Nic Luciano wrote: > The reason it's not working is you're using the first-child selector. What > you're doing by using that is

[jQuery] Re: Solution To Many Of Your CSS Nightmares!

2009-01-17 Thread johny why
right, Klaus, specificity resolves conflicts. if your main site css uses !important on any element which conflicts with your candy css, that would create a conflict in your candy, which MIGHT resolve in favor of the site's css-- causing your candy to display wrong! fortunately, !important seems

[jQuery] Re: How select first link??

2009-01-17 Thread Nic Luciano
Simple correction, I meant the first child of it's parent*. Just in case it wasn't clear. Cheers- Nic http://www.twitter.com/nicluciano On Sat, Jan 17, 2009 at 2:05 PM, Nic Luciano wrote: > The reason it's not working is you're using the first-child selector. What > you're doing by using that i

[jQuery] Re: How select first link??

2009-01-17 Thread Nic Luciano
The reason it's not working is you're using the first-child selector. What you're doing by using that is selecting every anchor that is the first parent of it's child (which is all of them since they lie immediately under a list item). The selector you want to be using is just first (a:first), whic

[jQuery] Re: Solution To Many Of Your CSS Nightmares!

2009-01-17 Thread johny why
right, Klaus, specificity resolves conflicts. if your main site css uses !important on any element which conflicts with your candy css, that could create a conflict in your candy, which would resolve in favor of the site's css-- causing your candy to display wrong! (even though you used !importan

[jQuery] Re: How select first link??

2009-01-17 Thread Charlie22
IE7, FF3, GoogleChrome..ok, check this page http://83.240.47.84/skyrace2/del.html On 17 Led, 19:41, jQuery Lover wrote: > What browser are you using? I am using firefox 3.0.5 and jquery 1.3 > and it is working!!! > > I have just triple checked... > > $('#menu a:first').remove(); > > removes the

[jQuery] Re: Table sorter and pager problem

2009-01-17 Thread jQuery Lover
You must be loading your page 2 with an ajax call! Add your empty text replacer to the ajax call callback. PS. I haven't checked but I think you can rewrite your jquery code for better performance like this: $(".tablesorter").each(function() { $('tbody tr td', this).each(function() {

[jQuery] Re: Solution To Many Of Your CSS Nightmares!

2009-01-17 Thread johny why
right, Klaus, specificity resolves conflicts. if your main site css uses !important on any element which conflicts with your candy css, that could create a conflict in your candy, which would resolve in favor of the site's css-- causing your candy to display wrong! (even though you used !importan

[jQuery] Re: jQuery 1.3 selector :first; :first-child

2009-01-17 Thread jQuery Lover
http://groups.google.com/group/jquery-en/browse_thread/thread/1c6403c5f628d45a Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Sat, Jan 17, 2009 at 7:17 PM, Charlie22 wrote: > > code: > > > >Home >

[jQuery] Re: How select first link??

2009-01-17 Thread jQuery Lover
What browser are you using? I am using firefox 3.0.5 and jquery 1.3 and it is working!!! I have just triple checked... $('#menu a:first').remove(); removes the first anchor in the list. Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Sat, Jan 17, 2009 at 11:33 PM, Ch

[jQuery] Re: How select first link??

2009-01-17 Thread Charlie22
of i add .remove() of course On 17 Led, 19:32, Charlie22 wrote: > I tested it, but it remove all "a", so sry, it doesnt work :-( > > On 17 Led, 19:21, jQuery Lover wrote: > > > > > Removing li solves the problem: > > > $('#menu a:first'); > > > > > Read jQuery HowTo Resource  -  http://jqu

[jQuery] Re: disable column from sorting in tablesorter

2009-01-17 Thread jQuery Lover
You can write a javascript function that will add a row count column and after every table sort action will fire to clean the content of the column and repopulate it with numbers from 1 to 100. You can use tablesort's events: $("table").bind("sortEnd",function() { // write your code here }); -

[jQuery] Re: How select first link??

2009-01-17 Thread Charlie22
I tested it, but it remove all "a", so sry, it doesnt work :-( On 17 Led, 19:21, jQuery Lover wrote: > Removing li solves the problem: > > $('#menu a:first'); > > > Read jQuery HowTo Resource  -  http://jquery-howto.blogspot.com > > > > On Sat, Jan 17, 2009 at 11:09 PM, Charlie22 wrote: >

[jQuery] Re: JSONP

2009-01-17 Thread Lay András
Hello! On Sat, Jan 17, 2009 at 7:04 PM, jQuery Lover wrote: > > I am not 100% sure, but I remember reading somewhere that jQuery looks > for "=?" to replace the "?" part of the pattern. > > Try querying > > http://example.com/xxx/yyy/=? Yes, this works! But need some trick, because jquery repla

[jQuery] Re: How select first link??

2009-01-17 Thread jQuery Lover
Removing li solves the problem: $('#menu a:first'); Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Sat, Jan 17, 2009 at 11:09 PM, Charlie22 wrote: > > Hi all, I am playing with jQuery 1.3 and I have provlem with selecting > a first link in code below. Can you help me

  1   2   >