Re: [jQuery] Superfish Joomla module: all subs with the same top-value

2009-12-15 Thread Charlie
this can be accomplished with the onBeforeShow option. "This" within onBeforeShow refers to the UL about to be shown. Using jQuery $.offset() function to locate the offset of the UL within the menu you can then use $.css() to make adjustments. joge wrote: hello, I am using the superfish m

Re: [jQuery] Superfish - Question about how submenu can be displayed

2009-12-15 Thread Charlie
No simple solution.  With some work you can setup an auto scrolling div inside a dropdown. Markup would use one LI and custom styled div container that  you would put your links into and adapt a scroll system to. There are quite a few auto scrollers, once you get one working in a stand alone co

Re: [jQuery] [ASK] jquery remove

2009-12-15 Thread water [bro] mm
good point, thanks 2009/12/16 brian > On Mon, Dec 14, 2009 at 11:08 PM, water [bro] mm > wrote: > > > > and if click remove, jquery just remove a link remove not tag > > please help me. > > > > That is because the "this" inside your click handler function refers > to the link (because the hand

[jQuery] Re: running an onload code snippet only once

2009-12-15 Thread MorningZ
Those events window.onload, in jQuery, that would be $(window).load (...), should *not* be firing at any time other than when the document loads the first time... something else has to be going on with your code to fire off that code again On Dec 15, 3:27 pm, Richard KLINDA wrote: > Hello, what i

[jQuery] running an onload code snippet only once

2009-12-15 Thread Richard KLINDA
Hello, what is a good way to run a code snippet after the page is loaded, but only just one time? I use the ready event $(function(){...}); most of the time, but sometimes it fires multiple times (when the DOM changes I think), and rarely there are stuff that I only want to run JUST ONCE per pagel

[jQuery] JQuery Marquee

2009-12-15 Thread abou rokaya
hello, i'm trying to use this Jquery marque (http://www.givainc.com/labs/ marquee_jquery_plugin.htm).. i've followed all the steps and it works great for me.. but i want it to scroll from left to right because i'm using a (right to left) language... i've searched the marquee.js but it look a ver

[jQuery] Locking Column Heading or Locking Columns in a table

2009-12-15 Thread davec
When locking the column heading or locking a column on a scrollable table, I generally use code like the two following css parameters but I cannot figure out how to do this via jQuery. Could someone please give me a clue? To lock a column heading: top:expression(document.getElement

[jQuery] Superfish - Question about how submenu can be displayed

2009-12-15 Thread jacleee
Hi ! thanks for this menu, its great I am having trouble finding a way to adjust the sub-menus eg. when the submenu list gets pretty long, the list will sometime go off the window size limit in which I would have to scroll downwards to see the rest of the submenu list. Is there a way so that the s

Re: [jQuery] Call from Javascript to jQuery javascript function

2009-12-15 Thread brian
You have the order of things backward. As the page loads, any bare JS function calls will be run as soon as they are reached. So, when the line with callit() is reached, the JS engine will attempt to run the function immediately. However, the function has yet to be defined. That's because you have

[jQuery] Call from Javascript to jQuery javascript function

2009-12-15 Thread Wendi Turner
I am trying to call a jQuery loaded javascript function by a static javascript function on the html page... and I cannot get it to trigger. If I tie the jQuery function to $('a').click( loadSomething ); Then it works. But I want to be able to call the function from a resident script???

Re: [jQuery] How to programmatically ad a div element and animate it

2009-12-15 Thread brian
Try this: function CreateNewElement() { $('test content') .appendTo('#contentContainer') .hide() .toggle('slow'); } You'll likely want to change the ID and, obviously, the content. But the principal i the same--jQuery can take the string mar

Re: [jQuery] Viewport Scroll

2009-12-15 Thread brian
There are probably more than one way to do this with jQuery but a straight JS way would be to do: document.location = '#id_of_your_element'; On Tue, Dec 15, 2009 at 2:42 PM, Wroathe wrote: > Hi there! > > I'm using jQuery to load in some content from a separate page and I > was wondering if ther

Re: [jQuery] Re: Superfish sub-menus not working in IE

2009-12-15 Thread Charlie
a link would help have you tried the z-index fix suggested in faq's on superfish site? slflinders wrote: I was told this was the place to get support for the Superfish module. Can anybody help me with the problem below? Thanks. On Dec 14, 6:42 pm, slflinders wrote: Hi. I just

[jQuery] autocomplete character replace on callback

2009-12-15 Thread led
I need help with this plugin autocomplete. with results i also show how many , ex: mexico (5) los angeles (4) How can i make the selection without the associated number. ex: mexico los angeles change event does'nt work.

[jQuery] Re: How do I unbind all onclick events from a button?

2009-12-15 Thread T.J. Simmons
>Without any arguments, all bound events are removed. If the type is provided, >all bound events of that type are removed. If the function that >was passed to >bind is provided as the second argument, only that specific event handler is >removed. If you want to unbind EVERYTHING, just use .unbi

[jQuery] Re: How do I unbind all onclick events from a button?

2009-12-15 Thread laredotorn...@zipmail.com
I saw this, but that page only tells you how to unbind a specific function that you know in advance. This code ... $('.cancelAction').unbind('click', function(){} ); does not work for me as far as being able to cancel all the onclick actions associated with an element. Any other suggestions are

[jQuery] Re: How do I unbind all onclick events from a button?

2009-12-15 Thread T.J. Simmons
Try $("#id").unbind("click"); I've never used it before, but according to http://docs.jquery.com/Events/unbind#typefn that oughta do the job pretty nicely. - T.J. On Dec 15, 3:38 pm, "laredotorn...@zipmail.com" wrote: > Hi, > > I'm using JQuery 1.3.  I have a button and I want to completely cl

[jQuery] How do I unbind all onclick events from a button?

2009-12-15 Thread laredotorn...@zipmail.com
Hi, I'm using JQuery 1.3. I have a button and I want to completely clear it of any onclick events associated with it so that clicking it will do absolutely nothing. If I know the ID of the button, how do I do this? Thanks, - Dave

[jQuery] Re: Passing parameters to a function with a click event

2009-12-15 Thread kenyabob
Thanks so much. I am still getting used to some of this stuff, and you're explanation makes sense, and your solution works as well, so thanks! On Dec 15, 12:41 pm, Scott Sauyet wrote: > On Dec 15, 2:34 pm, kenyabob wrote: > > >http://pastebin.com/m6cd05daa > > > I am trying to call a function an

Re[2]: [jQuery] Validation plugin: required by condition

2009-12-15 Thread Andre Polykanine
Hello Leonardo and all, Ok, that's well! And if I need to bind a click event to the group of radiobuttons, how can I do that? If I write something like this: $("#utype1").click (function (event) { if ($(this).is(":checked")) $("#showann").hide(); else $("#showann").show(); }); the #showann div w

[jQuery] Re: Passing parameters to a function with a click event

2009-12-15 Thread Scott Sauyet
On Dec 15, 2:34 pm, kenyabob wrote: > http://pastebin.com/m6cd05daa > > I am trying to call a function and pass parameters regarding the > button that called the function. This doesn't seem to do it. What am I > missing? First thing I see is that you're not passing a function into .click (). You

[jQuery] Re: JQuery - CSS - style unordered list

2009-12-15 Thread Scott Sauyet
On Dec 15, 2:13 pm, huntspointer2009 wrote: > I actually modified the code you provided for me a little to create > the desired effect: Yeah, there was a small mistake in that. This would probably work: $(this).find("li:nth-child(4n+2), li:nth-child(4n+3)").addClass ("color"); The diff

[jQuery] Viewport Scroll

2009-12-15 Thread Wroathe
Hi there! I'm using jQuery to load in some content from a separate page and I was wondering if there was a way to make the browser viewport scroll down to the element I'm adding in by using jQuery or Javascript?

[jQuery] Passing parameters to a function with a click event

2009-12-15 Thread kenyabob
http://pastebin.com/m6cd05daa I am trying to call a function and pass parameters regarding the button that called the function. This doesn't seem to do it. What am I missing?

[jQuery] Re: Plugin Questions

2009-12-15 Thread T.J. Simmons
I think I figured it out myself. I've moved the $(document).click and the declaration of $details to BEFORE the plugin definition, and the $ (".suggestion") methods to AFTER the end of the closure. I'm not sure if that falls within best practices, but it certainly works for what I need right now. P

[jQuery] Re: JQuery - CSS - style unordered list

2009-12-15 Thread huntspointer2009
Thanks Scott, I actually modified the code you provided for me a little to create the desired effect: previous code: $("ul ").each(function() { $(this).find("li:nth-child(4n+2)", "li:nth-child(4n +3)").addClass("color"); }); modified code: $('ul').each(function() { $(this).find("l

[jQuery] Re: Superfish sub-menus not working in IE

2009-12-15 Thread slflinders
I was told this was the place to get support for the Superfish module. Can anybody help me with the problem below? Thanks. On Dec 14, 6:42 pm, slflinders wrote: > Hi. > > I just installed Superfish Dropdown Menu for Joomla 1.5 today from > extensions.joomla.org and have a couple of questions. >

Re: [jQuery] [ASK] jquery remove

2009-12-15 Thread brian
On Mon, Dec 14, 2009 at 11:08 PM, water [bro] mm wrote: > > and if click remove, jquery just remove a link remove not tag > please help me. > That is because the "this" inside your click handler function refers to the link (because the handler is onclick for the link) even though, outside of tha

[jQuery] ckeditor plugin

2009-12-15 Thread Mean Mike
I need to be able to clean the text of the ckeditor as the user types does anyone know what I need to do to achieve that ? I mean i already have the cleaning code I just need to be able to call it from the ckeditor Mean Mike

[jQuery] Re: JQuery - CSS - style unordered list

2009-12-15 Thread Scott Sauyet
On Dec 15, 12:53 pm, huntspointer2009 wrote: > thanks Virgil, > Is there a way to create the same effect without specifying the ( eq: > (' ') exact location) or (the content that inside) the list item? > because I might be using up hundreds of unordered lists, > each with a variable number of ta

[jQuery] Re: JQuery - CSS - style unordered list

2009-12-15 Thread huntspointer2009
thanks Virgil, Is there a way to create the same effect without specifying the ( eq: (' ') exact location) or (the content that inside) the list item? because I might be using up hundreds of unordered lists, each with a variable number of tags? original code: jhbshsbjhs udjkdnchb dkdnjkndjk hbd

[jQuery] validate - error messages keep piling up

2009-12-15 Thread Mark Livingstone
Hi, Since I moved to a new design I cannot figure out how to stop the validate plug-in to append error messages and instead have it remove the previous error message before creating another one. here is what my HTML code looks like with multiple error messages: E-mail This field is mandat

[jQuery] Re: Plugin Questions

2009-12-15 Thread T.J. Simmons
Well that's certainly one thought. :) Luis, to unsubscribe to go http://groups.google.com/group/jquery-en, Edit my Membership and remove yourself there. On Dec 15, 9:38 am, "Luis Arcos G." wrote: > Unsubscribe > > -Mensaje original- > De: jquery-en@googlegroups.com [mailto:jquery...@goog

[jQuery] How to programmatically ad a div element and animate it

2009-12-15 Thread Ham
Hi, Im new to Jquery and have been trying to dynamically create a new div element with document.createElement. I can successfully insert this element into the dom but I want to animate it on creation. After inserting the element into the DOM i try and access it using a JQuery selector but it does

RE: [jQuery] Plugin Questions

2009-12-15 Thread Luis Arcos G.
Unsubscribe -Mensaje original- De: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] En nombre de T.J. Simmons Enviado el: martes, 15 de diciembre de 2009 12:02 Para: jQuery (English) Asunto: [jQuery] Plugin Questions Hi all, Got a question for you guys who're more knowled

[jQuery] Re: jquery validate bug

2009-12-15 Thread Givan
Sorry, I didn't give you enough details. The validation of the form elements are are made on "onblur" event, if you don't click outside the last textarea then that field will not be validated. When you click on the submit form when editing the last textarea the onblur event is triggered but the nor

[jQuery] Re: How to edit a portion of text

2009-12-15 Thread caruso_g
Hi Virgil, thanks a lot for your help. But I explained the issue not so well. I need to obtain the strong code, not to remove it. First code is the situation (without the strong tag) and I need to obtain the second code (with strong). Practically, I need to highlight the excerpt of the code, makin

[jQuery] Re: How do I select all elements whose id's begin with ... ?

2009-12-15 Thread Virgil Spruit
Here ya go! $("input[id^='DatePref']").val('hello!'); On Dec 15, 5:10 pm, "laredotorn...@zipmail.com" wrote: > Hi, > > I'm using JQuery 1.3.  How do I write an expression to select all > elements whose id's begin with "DatePref"?  These are all input > type="text" elements if that matters. > > T

Re: [jQuery] How do I select all elements whose id's begin with ... ?

2009-12-15 Thread Charlie Griefer
$('input[id^=DatePref]') On Tue, Dec 15, 2009 at 8:10 AM, laredotorn...@zipmail.com < laredotorn...@zipmail.com> wrote: > Hi, > > I'm using JQuery 1.3. How do I write an expression to select all > elements whose id's begin with "DatePref"? These are all input > type="text" elements if that matt

[jQuery] Re: How to edit a portion of text

2009-12-15 Thread Virgil Spruit
If you want to remove the strong tags you can use this plugin; http://benalman.com/projects/jquery-unwrap-plugin/ Or try these two lines of code; temp = $(".hentry").find(".excerpt").html() ; $(".hentry").find(".excerpt").before(temp).remove(); It fills the temp with the content of your strong t

Re: [jQuery] Re: rotate/loop using jquery

2009-12-15 Thread Dhruva Sagar
No problem, happens with all of us :) Thanks & Regards, Dhruva Sagar. On Tue, Dec 15, 2009 at 9:39 PM, Glen_H wrote: > yeah, you are right, it appears as though i may have over thought it. > thanks for the response! > > It worked perfectly btw. > > thanks again. > > Glen > > On Dec 15, 11:05

[jQuery] How do I select all elements whose id's begin with ... ?

2009-12-15 Thread laredotorn...@zipmail.com
Hi, I'm using JQuery 1.3. How do I write an expression to select all elements whose id's begin with "DatePref"? These are all input type="text" elements if that matters. Thanks, - Dave

[jQuery] Re: rotate/loop using jquery

2009-12-15 Thread Glen_H
yeah, you are right, it appears as though i may have over thought it. thanks for the response! It worked perfectly btw. thanks again. Glen On Dec 15, 11:05 am, Dhruva Sagar wrote: > There could be many ways to do that. If only you put in a little thought to > it :). > > This is one of the ways

[jQuery] Re: rotate/loop using jquery

2009-12-15 Thread T.J. Simmons
Try something like.. $("#btnTraffic").click(function(){ if ($("#trafficLight").css("background-color") == 'green') { $("#trafficLight").css("background-color", "yellow"); } else if ($("#trafficLight").css("background-color") == 'yellow') { $("#trafficLight").css("back

Re: [jQuery] rotate/loop using jquery

2009-12-15 Thread Dhruva Sagar
There could be many ways to do that. If only you put in a little thought to it :). This is one of the ways, I am sure this is not the best way, but it surely should meet your demands. $("#btnTraffic").click(function(){ var tr_id = "#trafficLight"; if ( $(tr_id).css('background-col

Re: [jQuery] jquery validate bug

2009-12-15 Thread Leonardo K
I download your code and it's working fine. On Tue, Dec 15, 2009 at 08:48, Givan wrote: > Hi, I found a bug within the validation plugin > I have a form and I need to click the submit button twice to submit > the form. > It seems that on the first click validates and only on the second > click w

[jQuery] rotate/loop using jquery

2009-12-15 Thread Glen_H
here is my problem: $("#btnTraffic").click(function(){ $("#trafficLight").css("background-color","yellow"); }); btnTraffic is my button, when I click it, it changes from red to yellow because of the css. I want to click it multiple times and have it rotate between red, yellow and green. so

[jQuery] How to edit a portion of text

2009-12-15 Thread caruso_g
Hi, I have a portion of code like: Text fo the article excerpt text of the article after the excerpt, and so on, and so on, and so on, and so on, link and so on, and so on, and so on, and so on, and so on, and so on, and so on. I need to edit it like:

Re: [jQuery] a problem when using django template and jquery

2009-12-15 Thread Karl Swedberg
are you sure that the IDs are being rendered in the right order? View source to double check. If they are correct in the html, could you point us to a test page where you're experiencing the problem? thanks, --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Plugin Questions

2009-12-15 Thread T.J. Simmons
Hi all, Got a question for you guys who're more knowledgeable than I am. I followed Mike Alsup's plugin development pattern at http://www.learningjquery.com/2007/10/a-plugin-development-pattern to create a plugin for a project I'm working on. It's a suggestion/ tooltip plugin, which although they'

Re: [jQuery] Validation Plugin:need help with errorPlacement

2009-12-15 Thread Gian-ava
Oh, for posterity, in case anybody else find this useful, here is the complete code that worked fine for me. $(document).ready(function(){ $('#actionform').validate({ errorPlacement: function(error, element) { $(element).closest('.rowElem'

Re: [jQuery] Validation Plugin:need help with errorPlacement

2009-12-15 Thread Gian-ava
Leonardo, today you're my man! It finally worked! THAT was what I was looking for. I can't tell you how long I've been trying to achieve just that result, so you can't imagine how much I appreciate your help. Really, thanks! I actaully had found a workaround to place the error mesage with just

Re: [jQuery] incorrect offset() results in IE7 & IE8

2009-12-15 Thread Liam Byrne
I got this before if an element wasn't loaded - are you working with an image, by any chance ? L Rinat Gareev wrote: In FF3.5 everything works fine as it is described in API reference. I mean offset() and height() results. But for the same elements of same page in IE7 or IE8 (compatibility mo

[jQuery] Re: JQuery back compatibility

2009-12-15 Thread MorningZ
Well, as much as it would be perfect if "no matter what, new versions of the core won't break existing code", it's really un-realistic... for instance, when 1.3 came out... breaking changes were introduced: http://www.learningjquery.com/2009/03/3-quick-steps-for-a-painless-upgrade-to-jquery-13

[jQuery] Re: IE stops recurring ajax call

2009-12-15 Thread Scott Sauyet
On Dec 15, 8:37 am, Henjo wrote: > I managed to put alerts in and find where it broke in IE. IE can't > seem to handle a chained ajax request. I broke the chain in part and > than it worked fine. Great! Could you post in a bit more detail what you had to change to get it to work in IE? Searchin

[jQuery] jquery validate bug

2009-12-15 Thread Givan
Hi, I found a bug within the validation plugin I have a form and I need to click the submit button twice to submit the form. It seems that on the first click validates and only on the second click will submit the form. I think it must submit the form directly if there is no validation error. A sma

[jQuery] a problem when using django template and jquery

2009-12-15 Thread elprup
hello guys, I use django template to generate a HTML like this: {% for type in types %} {{type.name}} {% endfor %} typeid increases from 1 by 1. I use class traverse to get the sequence of the list: sendstr = ""; $(".itemrow").each(function(index

[jQuery] JQuery back compatibility

2009-12-15 Thread seba
Hi All, Is JQuery back compatible ? I'm trying to understand if it is better to use or if JQuery is backcompatible I would use jquery.js... htat would make a JQuery update simpler... otherwise I would use jquery-1.3.2.js and everytime that JQuery needs to be upgraded, it would require to up

[jQuery] incorrect offset() results in IE7 & IE8

2009-12-15 Thread Rinat Gareev
In FF3.5 everything works fine as it is described in API reference. I mean offset() and height() results. But for the same elements of same page in IE7 or IE8 (compatibility mode) offset() returns 0 or negative values (though it's impossible according to introspection of developer tools in IE8).

[jQuery] Re: Superfish: drop down slide down / slide up effect - how to?

2009-12-15 Thread Photonomad
I am also interested in this! Unfortunately, I haven't been able to find a solution. Anyone out there know how to modify Superfish so that the submenu will slide back up on mouseout? On Dec 3, 7:23 pm, Dasher wrote: > Hello, > > I have just discovered superfish - it is awesome - the jquery > inte

[jQuery] [ASK] jquery remove

2009-12-15 Thread water [bro] mm
Hi All, I'm new member in this mailing list. I have problem with jquery, I have code like this jQuery UI Droppable - Revert draggable position #draggable, #draggable2 { width: 100px; height: 100px; padding: 0.5em; float: left; margin: 10px 10px 10px 0; }

[jQuery] Checkboxes in Combobox

2009-12-15 Thread jambik
I'm looking plug-in that allows to put checkboxes into combobox element.

Re: [jQuery] Validation plugin: required by condition

2009-12-15 Thread Leonardo K
Something like this: $(form).validate({ rules:{ announce: { required: function(element) { var value = $("input[name='blog-entry']").val(); if ( val == 'publication' || val == 'post' ){ return true; }e

Re: [jQuery] Re: Document traversing with jQuery + HTML 5 drag and drop

2009-12-15 Thread Karl Swedberg
I'm sorry nobody has responded to you yet. I'm not terribly familiar with HTML5 drag and drop, but this article made me a little wary (warning to gentle souls: lots o' cussing in there): "The HTML5 drag and drop disaster" http://www.quirksmode.org/blog/archives/2009/09/the_html5_drag.html Yo

RE: [jQuery] Re: load() function and IE8

2009-12-15 Thread Scott Stewart
I solved this by making a gut call and loaded up the JQuery 1.4a Alpha release, it seems to have solve a myriad of IE Issues. _ From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Karl Swedberg Sent: Monday, December 14, 2009 7:56 PM To: jquery-en@googlegr

[jQuery] Re: IE stops recurring ajax call

2009-12-15 Thread Henjo
Hi Scott, thanks again for your thoughts. I managed to put alerts in and find where it broke in IE. IE can't seem to handle a chained ajax request. I broke the chain in part and than it worked fine. I fiddled around with your code for a while but couldn't get that to work. It sure seems a better

[jQuery] Re: IE stops recurring ajax call

2009-12-15 Thread Henjo
Hi MorningZ, see my reply at the other thread. I am sorry for double posting. I think I kinda got stressed ;-) Henjo On Dec 15, 12:16 am, MorningZ wrote: > Since you have two topics going on the same exact topic, i'll repeat > what i suggested in topic # 2: > > Stop using the minified version f

[jQuery] Re: Debugging in IE

2009-12-15 Thread Henjo
Hi MorningZ, thanks for your thoughts. I didn't even think of that since it has been a couple of weeks ago I built this. Only IE needed to be fixed. I finally was able to get it fixed by putting alerts in to see where it stopped. Apparently IE has trouble with a chained ajax call. I cut the chain

[jQuery] Validation plugin: required by condition

2009-12-15 Thread Andre Polykanine
Hello everyone, I have a text field (textarea) that is required only if a specific radio button in the group is checked. Here's the explanation: a blog entry may be a personal entry, a publication and a news post. If it's a news post or a publication, then the announce is required. How can I manag

[jQuery] Re: Document traversing with jQuery + HTML 5 drag and drop

2009-12-15 Thread eid
No one? On Dec 10, 8:37 pm, eid wrote: > Hello. > > I am coding some HTML 5 drag and drop support where the user can drag > images from a library to a textarea, and the necessary HTML to include > the image will then be added. The addition of the html is done through > a function that takes a el

[jQuery] Re: JQuery - CSS - style unordered list

2009-12-15 Thread Virgil Spruit
If you want it to depend from the content you can combine 'filter' and 'contains' like so; $("li").filter(":contains('02'),:contains('03'),:contains ('06'),:contains('07')").addClass('color'); Or if its the position, iterate over the ul's and the 'eq' looks up the position for each li. $('ul').e

Re: [jQuery] Validation Plugin:need help with errorPlacement

2009-12-15 Thread Leonardo K
Every input element is wrapped in a div with class 'rowElem'? So your errorPlacement should be something like this: errorPlacement: function(error, element) { $(element).closest('.rowElem').after(error); //the method closest get the closest parent with class rowElem }, On Mon, Dec 14, 2

[jQuery] SlickGrid updates!

2009-12-15 Thread Tin
SlickGrid keeps growing! SlickGrid now has a Google Group where you can get help, provide feedback and ideas for improvement, and ask questions: http://groups.google.com/group/slickgrid NEW FEATURES: - Row reorder support. Column definitions can now be marked with "behavior:move" property to

[jQuery] Re: JQuery - CSS - style unordered list

2009-12-15 Thread Virgil Spruit
If you want it to depend from the content you can combine 'filter' and 'contains' like so; $("li").filter(":contains('02'),:contains('03'),:contains ('06'),:contains('07')").addClass('color'); Or if its the position iterate over the ul's and the 'eq' looks up the position for each ul. $('ul').ea

[jQuery] Re: JQuery - CSS - style unordered list

2009-12-15 Thread Virgil Spruit
If you want it to depend from the content you can combine 'filter' and 'contains' like so; $("li").filter(":contains('02'),:contains('03'),:contains ('06'),:contains('07')").css('background-color','green'); Or if its the position iterate over the ul's and the 'eq' looks up the position for each u

[jQuery] Re: Problem with show function and onmouseout

2009-12-15 Thread JacobDK
Messed some more with it, it really does seem like JQuery show has a small delay before it sets display to blank. On 14 Dec., 17:28, JacobDK wrote: > Hey all > Im pretty new to JQuery, but got some things working, but now I came > across somthing I cant get to work, even after Googling for some t