[jQuery] Re: editing superfish dropdown menu css

2007-09-03 Thread Joel Birch
On 9/4/07, james_027 <[EMAIL PROTECTED]> wrote: > Hi, > > I am trying to edit the css file, but no matter how I edit it it seems > the changes doesn't reflect, is there something I should do first? > > Thanks > james Hi James, There's nothing out of the ordinary that you need to do - just make s

[jQuery] editing superfish dropdown menu css

2007-09-03 Thread james_027
Hi, I am trying to edit the css file, but no matter how I edit it it seems the changes doesn't reflect, is there something I should do first? Thanks james

[jQuery] Re: How do i get the hover effect working with fadeIn?

2007-09-03 Thread Joel Birch
On 9/4/07, Erik Beeson <[EMAIL PROTECTED]> wrote: > You don't need all of Interface, just ifx and maybe iutil. Or you > could use highlightFade. I made a little demo: > > http://erikandcolleen.com/erik/projects/jquery/hoverfade/ > > --Erik Perfect demo! Cheers. Joel.

[jQuery] Re: Is there a better way to do this selector?

2007-09-03 Thread Joel Birch
On 9/4/07, Azbok <[EMAIL PROTECTED]> wrote: > I'm trying to just get the number of modified inputs that aren't > disabled. I'm using the moreSelectors plugin. > > active_inputs_modified = > $("input:modified").not($("[EMAIL PROTECTED]")).length; > > I can't figure out how to combine that into 1

[jQuery] Re: MooTools $events expando workaround

2007-09-03 Thread Estevão Lucas
Here there is more one Brazilian in this mail-list. jQuery na veia. On 2 set, 10:03, Rey Bango <[EMAIL PROTECTED]> wrote: > Hi Olmo, > > > I'll add a signature from now on it seems. > > Thanks. That helps out quite a bit. Kind of like I did when I posted in > the MooTools forum. Its always good t

[jQuery] select box manipulation

2007-09-03 Thread codecowboy
I am trying to implement a widget that works as follows. I want to be able to click a link that moves a selected option from select box to another. I am new to jquery but i have been able to do quite a bit with it so far. I have looked through the API as well as through some tutorials. I canno

[jQuery] Is there a better way to do this selector?

2007-09-03 Thread Azbok
Hi I'm trying to just get the number of modified inputs that aren't disabled. I'm using the moreSelectors plugin. active_inputs_modified = $("input:modified").not($("[EMAIL PROTECTED]")).length; I can't figure out how to combine that into 1 jquery expression without using the 'not' function.

[jQuery] move items between select boxes

2007-09-03 Thread codecowboy
I am trying to move a selected option from one select box to another select box. I am new to jquery but i have been able to get some stuff done with Jquery. I've checked the API as well as some of the tutorials but I cannot find any answers. I have found some plug-ins but they all seem to cover

[jQuery] Re: Dojo combobox equivalent

2007-09-03 Thread guyinva
Ok, I finally got around to modding Dan Switzer's Autocomplete to where is shows all possible options on initial focus and when the textbox is empty. I might dress it up and make it a new plugin (it works really well), but in the meantime, email me if you want it. I've only tested it on FF and Sa

[jQuery] [RESOLVED] Adding a Remote Script that Adds an Image (Thawte)

2007-09-03 Thread Pyrolupus
> > > I have a site that uses aThawtecertification image, but the > > > image shows up slowly at times thatThawte'sserver is > > > feeling under the weather. Since I have no control over > > > their script or their server-- and since the image's current > > > position is mid-page--I'd like to be

[jQuery] load code?

2007-09-03 Thread [EMAIL PROTECTED]
Hello, i load code with this function function loadLoginbox(Target) { $(Target).load("index.php?m=login&c=loadLoginbox"); } function openLoginbox(Target) { loadLoginbox(Target); $.blockUI(Target, { width: '400px'}); } $(document).ready(function() {

[jQuery] Re: Getting lazy with GET and changing STATE

2007-09-03 Thread Pops
I pressed SEND to fast before correcting some typos and adding some needed clarification: Here is the general rule of thumb: Use POST when the data: 1) Produces a command line over 1024 characters. GET has its line limits. Do not assume all servers will accept anything much longer than that

[jQuery] Re: Getting lazy with GET and changing STATE

2007-09-03 Thread Pops
Duncan, Here is the general rule of thumb: Use POST when the data: 1) Produces a command line over 1024 characters (GET has its line limits) 2) Complex and by I mean: - - > think it will do no harm. GET operations change state, and links > > that change state are confusing to u

[jQuery] bind an event to success validation

2007-09-03 Thread [EMAIL PROTECTED]
Hi, I have a function that show a loading bar when a form is submitted: //show loadind bar $(document).ready(function(){ $('.launch').submit(function(){ $('.loading').removeClass('hidden'); }); }); Now adding the validation plugin I have an undesired effect: $(d

[jQuery] bind an event to success validation

2007-09-03 Thread Andrea Campolonghi
Hi, I have a function that show a loading bar when a form is submitted: //show loadind bar $(document).ready(function(){ $('.launch').submit(function(){ $('.loading').removeClass('hidden'); }); }); Now adding the validation plugin I have an undesired effect: $(document).ready(fu

[jQuery] Request: Quick tutorial on jQuery filtering/limiting methods

2007-09-03 Thread Andy Matthews
I've seen some o fyou jQuery masters bust out with these amazing chains, but I can't quite grasp how some of them are crafted. I've looked through the methods and found a few that I think should work in a specific instance, but then they don't. So what I'm wondering is if anyone has already taken

[jQuery] Re: How do i get the hover effect working with fadeIn?

2007-09-03 Thread Erik Beeson
You don't need all of Interface, just ifx and maybe iutil. Or you could use highlightFade. I made a little demo: http://erikandcolleen.com/erik/projects/jquery/hoverfade/ --Erik On 9/3/07, Mark <[EMAIL PROTECTED]> wrote: > > > If you use interface, you can animate colors with the regular anima

[jQuery] Re: How do i get the hover effect working with fadeIn?

2007-09-03 Thread Mark
> If you use interface, you can animate colors with the regular animate > function. "Fading" is for changing opacity. Maybe you want something > like (untested): > > var originalColor = 'red'; > var hoverColor = 'blue'; > var duration = 1000; > $(...).hover(function() { > $(this).animate({back

[jQuery] Re: List of jQuery Resources

2007-09-03 Thread Rey Bango
My pleasure Duncan! Rey Duncan Heal wrote: Thanks Rey - a useful resource of resources! Duncan - - - - - - - - - - - - - - - - - Sprocket Web Design www.sprocket.co.nz - - - - - - - - - - - - - - - - - On 4/09/2007, at 1:39 AM, Rey Bango wrote: Hi everyone, I've created a list of links

[jQuery] Re: How do i get the hover effect working with fadeIn?

2007-09-03 Thread Erik Beeson
If you use interface, you can animate colors with the regular animate function. "Fading" is for changing opacity. Maybe you want something like (untested): var originalColor = 'red'; var hoverColor = 'blue'; var duration = 1000; $(...).hover(function() { $(this).animate({backgroundColor: hove

[jQuery] Re: Adding a delay between .each() function executions

2007-09-03 Thread Karl Rudd
For _most_ browsers changes in the CSS are not reflected in the layout until _after_ your JavaScript is finished executing. I believe the exception is Opera (or is it Safari...?), which also updates the layout after a certain amount of time. If you want to display the changes progressively you'll

[jQuery] Getting lazy with GET and changing STATE

2007-09-03 Thread Duncan Heal
Hey I must admit - I get a little confused about when to use GET and POST. I was reading this which confused me further: Getting lazy with GET -- GET is for retrieving data; POST is for setting it. Don't use GET when you know you shouldn't, even if you think it will do no harm. GET operatio

[jQuery] Re: where is Fisheye menu (not from interface)

2007-09-03 Thread Matt Stith
The only one i've seen is the interface one, you sure you saw an independent plugin? On 9/3/07, Mario Moura <[EMAIL PROTECTED]> wrote: > > Hi folks > > I swear had seen Fisheye menu solution but it wasnt from Interface. It was > another JQuery Plugin. > > Anyone know where is it? > > Regards > > M

[jQuery] Re: List of jQuery Resources

2007-09-03 Thread Duncan Heal
Thanks Rey - a useful resource of resources! Duncan - - - - - - - - - - - - - - - - - Sprocket Web Design www.sprocket.co.nz - - - - - - - - - - - - - - - - - On 4/09/2007, at 1:39 AM, Rey Bango wrote: Hi everyone, I've created a list of links that will hopefully help new jQuery users fin

[jQuery] where is Fisheye menu (not from interface)

2007-09-03 Thread Mario Moura
Hi folks I swear had seen Fisheye menu solution but it wasnt from Interface. It was another JQuery Plugin. Anyone know where is it? Regards Mario

[jQuery] Disable external url with AJAX

2007-09-03 Thread Estevão Lucas
Hi, I would like to know how doesn't to allow the user to access external url with AJAX if the user edit de AJAX url Abraços Estevão Lucas

[jQuery] Re: How do i get the hover effect working with fadeIn?

2007-09-03 Thread Mark
what i want is: hover a element and while your mouse is hovering that element the color should fadein to the hover color and stay like that until you hover out of it. than it should fadeout to the default background. 2007/9/3, Joel Birch <[EMAIL PROTECTED]>: > > Hi Mark, > > The code used at > ht

[jQuery] Re: Selecting previous elements

2007-09-03 Thread George
My moreSelectors plugin has an undocumented feature that enhances the .siblings() method to optionally return preceeding or following siblings only. Syntax: $(...).siblings(expr, self, prevOrNext) - Specify self as true to retain the current element(s) in the results. (default is false so that e

[jQuery] Re: jQuery tabs and onClick

2007-09-03 Thread Klaus Hartl
Massimiliano Marini wrote: Hi all, I'm using the amazing jQuery tabs plugin, but I'm having problem with this code: $('#container-1').tabs(2,{ fxFade: true, fxSpeed: 'fast', onClick: function() { alert("Clicked!");

[jQuery] jQuery tabs and onClick

2007-09-03 Thread Massimiliano Marini
Hi all, I'm using the amazing jQuery tabs plugin, but I'm having problem with this code: $('#container-1').tabs(2,{ fxFade: true, fxSpeed: 'fast', onClick: function() { alert("Clicked!");

[jQuery] MM AC_RunActiveContent Breaks jQuery & Interface

2007-09-03 Thread studiobl
I want to use the Interface library's Accordian on a page that already has a Flash piece wrapped in Macromedia's AC_RunActiveContent javascript for avoiding the IE security glitch. If I remove the Flash and the

[jQuery] editable accessing clicked element for extraParam

2007-09-03 Thread Adrian Lynch
Hey all. I'm using the editable plugin and I'm having trouble accessing the id of the editable element. My HTML: Page name My JS: $(".editable").editable("page-update.cfm?action=updatePageName", { paramName: "pageName", callback: doneUpdatingPageName, saving: "Saving..

[jQuery] Re: select two class elements

2007-09-03 Thread Gordon
If you want elements that have a "next" OR an "open" class, then it would be $ ('.next, .open'); If you want elements that have a "next" AND an "open" class then it would be $('.next.open'); On Sep 3, 1:20 am, xni <[EMAIL PROTECTED]> wrote: > Hello, > I would like to select elements with two c

[jQuery] Re: How do i get the hover effect working with fadeIn?

2007-09-03 Thread Joel Birch
Hi Mark, The code used at http://www.stilbuero.de/2005/07/19/whateverhover-fast-and-easy/ is nicely coded but certainly doesn't look like it would be easy for most people to write themselves. It's well over my head, but with the use of the Web Developer toolbar, it's all very easy to access and y

[jQuery] Re: $ in jQuery, Prototype and Mochikit

2007-09-03 Thread Rey Bango
What I got from reading his post is that he's concerned about projects that start off using jQuery and then need to incorporate another library. Rey... Tane Piper wrote: And I already left a comment there already today explaining this. I think what he may be worried about is plugins that br

[jQuery] Re: How do i get the hover effect working with fadeIn?

2007-09-03 Thread Mark
Oke, i'm currently useing the HighlightFade plugin to get something nearly the same done but it's still not quite how i want it.. some help here would be good.

[jQuery] Re: $ in jQuery, Prototype and Mochikit

2007-09-03 Thread Rey Bango
Jack, The jQuery library has a feature called noConflict() which addresses this to avoid the namespacing issue you're referring to. You can read more about it here: http://docs.jquery.com/Using_jQuery_with_Other_Libraries Rey... jack.tang wrote: Hi, all I blogged one case in my blog (htt

[jQuery] Re: Rey Bango is now Ajaxian

2007-09-03 Thread Rey Bango
Thank you Joan. I was already onboard when you saw those posts but Dion, the co-founder of Ajaxian, just decided to post about it. It caught me by surprise! :D Rey.. Joan Piedra wrote: Congratulations Rey, these are great news. I saw your name in some of the latest posts and thought you alr

[jQuery] Re: $ in jQuery, Prototype and Mochikit

2007-09-03 Thread Tane Piper
And I already left a comment there already today explaining this. I think what he may be worried about is plugins that break jQuery noConflict, which is a plugin is developed correctly using closures, should not be a problem On 9/3/07, John Resig <[EMAIL PROTECTED]> wrote: > > jQuery already has

[jQuery] Re: $ in jQuery, Prototype and Mochikit

2007-09-03 Thread John Resig
jQuery already has a .noConflict() method that completely removes any conflict with $. You can find out more information here: http://docs.jquery.com/Using_jQuery_with_Other_Libraries and here: http://docs.jquery.com/Core/jQuery.noConflict --John On 9/3/07, jack.tang <[EMAIL PROTECTED]> wrote:

[jQuery] Re: Strip a href links from a div

2007-09-03 Thread David Duymelinck
bsuttis schreef: Is it possible to strip links from a designated div with jquery? I've searched for a stripping mechanism, but haven't had any luck yet. I realize my request is pretty strange, I realize it'd be easier to not create links in the first place, but before I do that, I'm just curiou

[jQuery] Simple jQuery gallery - active thumbnail problem

2007-09-03 Thread [EMAIL PROTECTED]
Hi Ive created a (really) simple thumbnail gallery using jQuery. Functionality is working fine but I am having trouble getting the the active thumb to highlight. I want it so the thumb you click stays at 100% opacity and the rest fade to 50%. Ive been pulling my hair out trying to get it to work

[jQuery] ajaxform plugin problem about the character

2007-09-03 Thread ramazan özdemir
hi i have problem about character.. i have a mysql database and i was try to save some datas into it by using ajaxform plugin.i use the json dataType.i try to solve this problem but i couldn't. i try to put the mysql_query("SET NAMES 'UTF8'");it doesnt solves my problem100%.when i put the this he

[jQuery] Re: Fwd: jQuery and UTF8

2007-09-03 Thread ramazan özdemir
i have the same problem. i have been done this ( $instDB->executequery("SET NAMES 'utf8'", $con); ); i solve the my problem 50%;it means that data's which are in text fields were saved correctly but in textarea were not saved correctly. On 20 Ağustos, 22:09, David Garcia Ortega <[EMAIL PROTECTE

[jQuery] Re: animate() canceling

2007-09-03 Thread Micox
I think that we can stop all animations stopping all setIntervals (with clearInterval). function stopAllAnims(){ for(var j=0;j<50;j++){clearInterval(j)} } Or like a extension: $.extend({ stopAllAnims: function(){ for(var j=0;j<50;j++) { clearInterval(j); }} }); On Sep 2, 10:08

[jQuery] Simple jQuery gallery - active thumbnail problem

2007-09-03 Thread [EMAIL PROTECTED]
Hi Ive created a (really) simple thumbnail gallery using jQuery. Functionality is working fine but I am having trouble getting the the active thumb to highlight. I want it so the thumb you click stays at 100% opacity and the rest fade to 50%. Ive been pulling my hair out trying to get it to work

[jQuery] Re: Equivalent to the dojo combobox

2007-09-03 Thread guyinva
Heinrich, It's frustrating that people don't know a combobox from a select element (or autocomplete text element). I was finally able to make something like what you're looking for. I used Dan Switzer's Autocomplete as a base, and then had it show all possible options if the text box was either

[jQuery] ajaxform plugin problem about the character

2007-09-03 Thread ramazan özdemir
hi i have problem about character.. i have a mysql database and i was try to save some datas into it by using ajaxform plugin.i use the json dataType.i try to solve this problem but i couldn't. i try to put the mysql_query("SET NAMES 'UTF8'");it doesnt solves my problem100%.when i put the this he

[jQuery] loading remote script

2007-09-03 Thread notebook20000
Hello, i write a script thtas loads a external html part. . I can use js and the ready event is given , but ioi cant use "onclick" events. nothing happens. a direct onclick is workung . Why? How can i use it?!

[jQuery] Strip a href links from a div

2007-09-03 Thread bsuttis
Is it possible to strip links from a designated div with jquery? I've searched for a stripping mechanism, but haven't had any luck yet. I realize my request is pretty strange, I realize it'd be easier to not create links in the first place, but before I do that, I'm just curious about jquery's ab

[jQuery] $ in jQuery, Prototype and Mochikit

2007-09-03 Thread jack.tang
Hi, all I blogged one case in my blog (http://jack.lifegoo.com/?p=163) which described the "complaint" of $ in jQuery, Prototype and Mochikit, could you please take it consider and reduce the conflicts? Thanks. /Jack

[jQuery] Re: interface problem with drag & drop in IE6

2007-09-03 Thread ironfroggy
I am doing something similar, and I use livequery to call Draggable on everything of one class, so new clones match and are made draggable automatically. mouqx xu wrote: > I'm using interface1.2 and jQuery1.4. > the problem is that cloned element is not draggable in IE6, but works > fine in firef

[jQuery] Re: IE bug ajax

2007-09-03 Thread nation-x
I am having the same problem... ajax isn't working in ie period. On Sep 2, 5:00 pm, Rey Bango <[EMAIL PROTECTED]> wrote: > Whats the error message you're receiving? > > Rey... > > > > sourrisseau wrote: > > Hello, > > > it's the second time a send this message . But I can't see the first > > one

[jQuery] Re: Dojo combobox equivalent

2007-09-03 Thread asdf
I'm looking for the same thing. The suggestions listed here so far have been autocompletes. I need, and I think this is what Eridius is after, is an editable select element. I also want to display all possible values on focus. On Aug 13, 9:11 am, Eridius <[EMAIL PROTECTED]> wrote: > I don't thi

[jQuery] Re: Rey Bango is now Ajaxian

2007-09-03 Thread Joan Piedra
Congratulations Rey, these are great news. I saw your name in some of the latest posts and thought you already were an ajaxian author. I'm glad you are now _in_ Regards On 9/2/07, R. Rajesh Jeba Anbiah <[EMAIL PROTECTED]> wrote: > > > Usually, he'll be posting this sort of links/news; now for

[jQuery] Re: a problem with 1.1.4 and binding click function

2007-09-03 Thread Strija
I don't know if I understood what you're trying to achieve, but try using parent() instead of parents()

[jQuery] Re: jQuery("") issue in 1.1.4

2007-09-03 Thread John Resig
We've discussed this on the dev list: http://groups.google.com/group/jquery-dev/browse_thread/thread/045ea5af409adb86 For now, just be sure to use the full HTML syntax, we'll try to get a fix in place here real quick. --John On 9/3/07, devsteff <[EMAIL PROTECTED]> wrote: > > Hi folks, > > I fig

[jQuery] Adding a delay between .each() function executions

2007-09-03 Thread boermans
I'm looking for a tidy way to call a function to iterate over a group of DOM elements, with a small delay after the function completes before it is called again with the following element. Pseudo code: == $(elems).each(function(){ $(this).dostuff(); // wait a moment // continu

[jQuery] Re: heartbeat plugin clashing with uiblock plugin

2007-09-03 Thread Mike Alsup
Daniel, I'm not sure I follow you. It looks like you have things setup for jheartbeat to ping the server every 3 seconds and every time that happens you will see your "Please Wait" message. jheartbeat is not calling blockUI directly. You've wired blockUI to the ajaxStart/ajaxStop global events

[jQuery] Re: textarea maxlenght and counter

2007-09-03 Thread [EMAIL PROTECTED]
Gracias Jose', lo voy a testar. te lo agradezco muchismo Andrea http://www.andreacfm.com On Sep 3, 1:21 am, SeViR <[EMAIL PROTECTED]> wrote: > charcounter plugin from Tom Deater. Really I don't see where I > downloaded, so > I attach the code. It is easy change the char counter for a words c

[jQuery] List of jQuery Resources

2007-09-03 Thread Rey Bango
Hi everyone, I've created a list of links that will hopefully help new jQuery users find the resources they need to get up-to-speed with jQuery. If there's anything I missed, please let me know: jQuery Main Site: http://jquery.com/ The compressed & uncompressed code: http://code.google.com/

[jQuery] Re: New plugin - Lazy Load

2007-09-03 Thread Mika Tuupola
On Sep 3, 2007, at 3:43 PM, eltom wrote: Looks interesting although it doesn't work in Safari. In Safari the top image loads last. Yes. It is a known issue with Safari which actually load all images whether plugin is used or not. I am currently working on it. -- Mika Tuupola http://www.a

[jQuery] Re: New plugin - Lazy Load

2007-09-03 Thread Mika Tuupola
On Sep 3, 2007, at 3:22 PM, Tane Piper wrote: Very nice plugin - i notice the page starts off at 177kb and up to 909kb once the full page is loaded - very nice savings!!! Can't wait to try it out on my already heavily optimised code :) Yes. They are heavy images on purpose. To prove the poi

[jQuery] Re: New plugin - Lazy Load

2007-09-03 Thread Mika Tuupola
On Sep 3, 2007, at 3:06 PM, Dan Atkinson wrote: Great work! This would be useful for any number of sites, including a couple that I'm working on right now. I'd like to adapt it so that a loading animation is in the placeholder until the image is requested, instead of the box that is currently

[jQuery] Selecting previous elements

2007-09-03 Thread Fabien Meghazi
Hi all, here's my situation : A B C D I've got $(this) containing the jquery object of element C I would like a jquery selection of previous elements and current element included, in other words I would like [A, B, C] What is the fastest way to accomplish this ? I was thinking about $(this)

[jQuery] Re: New plugin - Lazy Load

2007-09-03 Thread eltom
Looks interesting although it doesn't work in Safari. In Safari the top image loads last. On Sep 3, 11:15 am, Mika Tuupola <[EMAIL PROTECTED]> wrote: > Little something I worked on sunday. > > http://www.appelsiini.net/projects/lazyload > > Plugin which enables deferred loading (lazy loading) of

[jQuery] Re: select two class elements

2007-09-03 Thread Karl Swedberg
On Sep 3, 2007, at 6:21 AM, Klaus Hartl wrote: John Resig wrote: $(".next.open") The same works in normal CSS. Not in IE 6 of course, and in IE 7 only in Strict mode[1], just for the record... [1]http://blogs.msdn.com/ie/archive/2005/09/02/460115.aspx --Klaus And just to pick up on

[jQuery] Re: New plugin - Lazy Load

2007-09-03 Thread Tane Piper
Very nice plugin - i notice the page starts off at 177kb and up to 909kb once the full page is loaded - very nice savings!!! Can't wait to try it out on my already heavily optimised code :) On 9/3/07, Mika Tuupola <[EMAIL PROTECTED]> wrote: > > Little something I worked on sunday. > > http://www

[jQuery] changing view of page

2007-09-03 Thread Eridius
I was wondering if it was possible to change where the the user is looking at the screen based on where they are looking currently(basically if they are somewhere i move the scrreen view to the top based on a event)? -- View this message in context: http://www.nabble.com/changing-view-of-page-t

[jQuery] Re: New plugin - Lazy Load

2007-09-03 Thread David Duymelinck
I tried to reproduce it again but i observed my behaviour better now and it happened when i click on the enable/disable link and then do a shift refresh while the page is still loading. I guess it's not standard behaviour :) -- David Mika Tuupola schreef: On Sep 3, 2007, at 1:35 PM, Davi

[jQuery] Re: New plugin - Lazy Load

2007-09-03 Thread Dan Atkinson
Great work! This would be useful for any number of sites, including a couple that I'm working on right now. I'd like to adapt it so that a loading animation is in the placeholder until the image is requested, instead of the box that is currently there. I'm looking forward to this being available

[jQuery] Re: New plugin - Lazy Load

2007-09-03 Thread Mika Tuupola
On Sep 3, 2007, at 1:35 PM, David Duymelinck wrote: If i want to switch from disabled to enabled the page keeps on loading and crashed my browser the first time around. Looking at the page load in firebug i noticed http://www.appelsiini.net/mint/? js kept on loading. Could not reproduce.

[jQuery] Re: IE select option event problem

2007-09-03 Thread David Duymelinck
Feeling stupid now :( $('select').change(function(){ alert($(this).val()); }); This did the trick. David Duymelinck schreef: I want to do something with the value of a select option element when it gets selected $('option').click(function(){ alert($(this).val()); }); Works fine in F

[jQuery] Re: New plugin - Lazy Load

2007-09-03 Thread David Duymelinck
Looks like a great plugin but there is something wrong with the demo page in FF. on IE6 i had no problem. If i want to switch from disabled to enabled the page keeps on loading and crashed my browser the first time around. Looking at the page load in firebug i noticed http://www.appelsiini.n

[jQuery] Re: New plugin - Lazy Load

2007-09-03 Thread Felix Geisendörfer
Very cool! That's a great idea to save traffic and optimize load times on image heavy pages. -- Felix -- My Blog: http://www.thinkingphp.org My Business: http://www.fg-webdesign.de Mika Tuupola wrote: Little something I worked on sunday. http://www.appelsiini.net/pro

[jQuery] heartbeat plugin clashing with uiblock plugin

2007-09-03 Thread Daniel Rossi
Hi it seems everytime the heartbeat plugin runs , it refreshes the current page and keeps calling the uiblock plugin $(document).ready(function(){ $.jheartbeat.set({ url: "/index/heartbeat", delay: 3000 }); $.blockUI.defaults.pageMessage =

[jQuery] Re: select two class elements

2007-09-03 Thread Klaus Hartl
John Resig wrote: $(".next.open") The same works in normal CSS. Not in IE 6 of course, and in IE 7 only in Strict mode[1], just for the record... [1]http://blogs.msdn.com/ie/archive/2005/09/02/460115.aspx --Klaus

[jQuery] New plugin - Lazy Load

2007-09-03 Thread Mika Tuupola
Little something I worked on sunday. http://www.appelsiini.net/projects/lazyload Plugin which enables deferred loading (lazy loading) of images. In other words, images which are below the fold (far down the page not visible in browser) are not loaded before user scrolls down. This plugin

[jQuery] jQuery("") issue in 1.1.4

2007-09-03 Thread devsteff
Hi folks, I figured out a problem in the brand new 1.1.4 version with IE 6+ wich breaks my existing code. In firefox 1.5+ everything is fine, didn't test any other browsers. I create a couple of dynamic html element with the html("some html code") function. The following codesnipplet results un

[jQuery] IE select option event problem

2007-09-03 Thread David Duymelinck
I want to do something with the value of a select option element when it gets selected $('option').click(function(){ alert($(this).val()); }); Works fine in FF but not in IE6. I seached the list for a solution but i couldn't find any. Can someone help me? -- David Duymelinck ___

[jQuery] Re: IE select option event problem

2007-09-03 Thread David Duymelinck
I wanted to start a new tread, you can discard this, sorry. David Duymelinck schreef: I want to do something with the value of a select option element when it gets selected $('option').click(function(){ alert($(this).val()); }); Works fine in FF but not in IE6. I seached the list for a

[jQuery] IE select option event problem

2007-09-03 Thread David Duymelinck
I want to do something with the value of a select option element when it gets selected $('option').click(function(){ alert($(this).val()); }); Works fine in FF but not in IE6. I seached the list for a solution but i couldn't find any. Can someone help me? -- David Duymelinck __

[jQuery] Re: Selecting subsequent siblings

2007-09-03 Thread David Duymelinck
Erik Beeson schreef: $('div').each(function(){ var id= $(this).attr('id'); $('span').each(function(){ if(id = $(this).attr('class')){ alert($(this).text()); } }); }); That attr('class') bit will get you in to trouble. I suggest using .is(), and in fact,

[jQuery] Re: Selecting subsequent siblings

2007-09-03 Thread Erik Beeson
> $('div').each(function(){ > var id= $(this).attr('id'); > $('span').each(function(){ >if(id = $(this).attr('class')){ > alert($(this).text()); >} > }); > }); That attr('class') bit will get you in to trouble. I suggest using .is(), and in fact, if you know

[jQuery] Re: Selecting subsequent siblings

2007-09-03 Thread George
Using your "myclass" example, the enhanced .siblings() method might be used like this: $("DIV").siblings("SPAN.myclass:first", false, "next") Not ethat this will return all the SPANs with classname "myclass" that follow all the DIVs, so as it stands it it probably no different from the standard

[jQuery] Re: Selecting subsequent siblings

2007-09-03 Thread David Duymelinck
You need a hook somewhere to base your selection upon and i thought it was the text of the div and the span. If you use the id of the div and the classname of the span you can do $('div').each(function(){ var id= $(this).attr('id'); $('span').each(function(){ if(id = $(this).attr('

[jQuery] Re: Selecting subsequent siblings

2007-09-03 Thread George
My moreSelectors plugin has an undocumented feature that enhances the .siblings() method to optionally return preceeding or following siblings only. Syntax: $(...).siblings(expr, self, prevOrNext) Specify self as true to retain the current element(s) in the results. (default is false so that exis

[jQuery] Re: Using setTimeout()

2007-09-03 Thread barophobia
On 9/2/07, Michael Geary <[EMAIL PROTECTED]> wrote: > > Is that the wrong progression? > > Yes. You left out the setTimeout, which is never canceled. (And step 4 > doesn't happen either - nobody "cancels" the ajaxStart - that function has > already been called.) > > Assume the AJAX request takes 7

[jQuery] Re: Selecting subsequent siblings

2007-09-03 Thread ronnie98
Thank you david, but i cannot base my selection on the text/html of the element. I only put it in the sample to make things a bit clear. What if i added a class to the span to be selected ex: first second ? DavidIcreate wrote: >

[jQuery] Re: Selecting subsequent siblings

2007-09-03 Thread David Duymelinck
$('div').each(function(){ var text = $(this).text(); $('span').each(function(){ if(text == $(this).text()){ alert('found '+text); } }); }); This code will not get you the subsequent siblings but it will get you the span with the same content as the div. I

[jQuery] Re: Selecting subsequent siblings

2007-09-03 Thread ronnie98
Your code didn't come through very well, but maybe you want next()? http://docs.jquery.com/Traversing/next#expr --Erik Thank you erik but next() is not suitable since (as from the above example) it selects the first (empty) "span" -- View this message in context: http://www.nabble.com/Sel

[jQuery] Selecting subsequent siblings

2007-09-03 Thread ronnie98
Hi all, i have troubles with subsequent siblings selection. Provided the following code: .. foo foo
first
first
second

[jQuery] Re: Selecting subsequent siblings

2007-09-03 Thread Erik Beeson
Your code didn't come through very well, but maybe you want next()? http://docs.jquery.com/Traversing/next#expr --Erik On 9/2/07, ronnie98 <[EMAIL PROTECTED]> wrote: > > > > Hi all, > i have troubles with subsequent siblings selection. > Provided the following code: > >