[jQuery] Re: safari flashes hidden text from hide()

2009-10-16 Thread Karl Swedberg
This has served me well: http://www.learningjquery.com/2008/10/1-way-to-avoid-the-flash-of-unstyled-content --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Oct 16, 2009, at 4:53 PM, derek allard wrote: Hello. I'm relatively new to jQuery and wrote a si

[jQuery] Re: Using values.jquery to switch values of fields

2009-10-16 Thread Nathan Bubna
oops. hit send too early: ;(function($) { $.fn.valueswap = function(selection, opts) { var $right = $(selection) r = $right.values(opts), l = this.values(opts); $right.values(l, opts); this.values(r, opts); return this; }; })(jQuery

[jQuery] Re: Using values.jquery to switch values of fields

2009-10-16 Thread Nathan Bubna
you could even make it a mini-plugin: ;(function($) { $.fn.valueswap = function(selection, opts) { var hold = $(selection).values(opts), On Fri, Oct 16, 2009 at 2:16 PM, johnHoysa wrote: > > Figured it out, only tested on FF. > > $('.toleft').click(function() { >                var

[jQuery] Re: Index, .load issues

2009-10-16 Thread Charlie
this line threw me for a loop.  var aIndex = $("a#type").index(this); reason:  ID's have to be unique so indexing $("a#type")   can only return 0 as there can only be one of them therein lies a big part of your problem, your select and a tag use same ID didn't look a  lot furthe

[jQuery] Re: How to change method of revealing div content when using slide?

2009-10-16 Thread Charlie
give the div absolute position that is above the page ( something like .top:-1000px), then use var pixelsFromTop= 100; var displayTime=1000; $("#yourdiv").animate({"top": pixelsFromTop},displayTime) if you are using jQueryUI already in page can also do this with $switchClass which can us

[jQuery] safari flashes hidden text from hide()

2009-10-16 Thread derek allard
Hello. I'm relatively new to jQuery and wrote a simple script that hides a block of text and displays a read more link that when clicked shows the hidden text. Everything works fine except in Safari where the hidden text is initially displayed for a second or so before being hidden. I did some

[jQuery] Re: Block access to the page but unblock certains divs

2009-10-16 Thread rtelep
Expose: http://flowplayer.org/tools/demos/expose/index.html

[jQuery] How to change method of revealing div content when using slide?

2009-10-16 Thread sharq
Hi. I have hidden div, that i want to show by sliding it in from top border. The problem is that i don't know how to make it "slide in" instead of "wipe in". I want it all to move with it's content instead of showing more and more of it. Regards

[jQuery] Re: Add value to Link. How can I do this?

2009-10-16 Thread Jason
$(".Download").each(function(){ $(this).attr('onClick', "javascript: pageTracker._trackPageview('/ downloads/map');"); }); On Oct 16, 5:51 pm, shapper wrote: > Hello, > > I have the following anchor: > http://www.example.com/files/map.pdf"; onClick="javascript: > pageTracker._trackPageview('

[jQuery] Index, .load issues

2009-10-16 Thread Jason
Hi Gang, I've been wasting time trying to figure this out to no avail. Here's my function: //Toggle $("#type_new").hide(); toggle = function(){ $("a.toggle").unbind('click').click(function(){ var aIndex = $("a#type").index(this); if($("#type_new:eq("+aInd

[jQuery] How to obtain Object (key) names?

2009-10-16 Thread Frederic Laruelle
Hi, I;m looking for a way to obtain key names from a JSON object: eg "options": [ {"Option1" : ["Value1", "Value2"]}, {"Option2" : ["Value3", "Value4"]}, {"Option3" : ["Value5", "Value6"]} ] so, i'd like to consume this JSON in a wa

[jQuery] Re: Best way to construct DOM objects

2009-10-16 Thread Frederic Laruelle
Tks Dave and Karl, it helped! Fred~ On Thu, Oct 15, 2009 at 7:05 PM, Dave Methvin wrote: > > There are a lot of ways to accomplish this. Karl's post demonstrated > one way to create larger fragments directly with jQuery. In addition > to .append() you can look at using the .wrap() methods. > >

[jQuery] Re: show/hide with embed

2009-10-16 Thread ngreenwood6
I tried adding in return false at the end of my function, however that did not fix the issue. Any other suggestions? On Oct 16, 8:37 am, rupak mandal wrote: > if the problem is reload then add "return false" at the end or the function > > On Fri, Oct 16, 2009 at 6:02 PM, ngreenwood6 wrote: > >

[jQuery] Re: Add value to Link. How can I do this?

2009-10-16 Thread James
$(".Download").click(function() { pageTracker._trackPageview('/downloads/map'); }); On Oct 16, 11:51 am, shapper wrote: > Hello, > > I have the following anchor: > http://www.example.com/files/map.pdf"; onClick="javascript: > pageTracker._trackPageview('/downloads/map'); "> > > How can I add

[jQuery] Add value to Link. How can I do this?

2009-10-16 Thread shapper
Hello, I have the following anchor: http://www.example.com/files/map.pdf"; onClick="javascript: pageTracker._trackPageview('/downloads/map'); "> How can I add onClick="javascript: pageTracker._trackPageview('/downloads/ map');" To all anchors of CSS class "Download" using JQuery? Thanks,

[jQuery] Re: Problems with load() in IIS?

2009-10-16 Thread Scogle
To be honest, I'm not entirely sure what's going on here. I'm trying to figure out someone else's code, so I'm just going on a hunch about what the problem might be. I have some data stored in an html file that represents locations on a map. When the script tries to load the file, I get a 405 m

[jQuery] Re: jquery preload images

2009-10-16 Thread kknaru
thanks for your help, that is a very good article

[jQuery] Re: Using values.jquery to switch values of fields

2009-10-16 Thread johnHoysa
Figured it out, only tested on FF. $('.toleft').click(function() { var values2 = $('.left').values(values2); var values = $(this).parents('div.box').values(); var $right = $('.right').values(values2); var $left = $('.left').values(values); r

[jQuery] Re: $(document).ready firing before Google Maps scripts are fully loaded

2009-10-16 Thread George V. Reilly
And here's a pared-down repro of my original problem: http://www.georgevreilly.com/temp/loaddemo.html Be warned. It reproes maybe one time in 50 with this code. Seems to happen more if the browser has been idle for a while. /George

[jQuery] Form Plugin

2009-10-16 Thread factoringcompare.com
Hi Complete newbie now completely out of depth! I have built a form using form wizard plugin http://home.aland.net/sundman/. It caters for the intergration of “Form Plugin” http://malsup.com/jquery/form/. I now want to post the form using the “Form Plugin” AJAX. I am using asp for severside.

[jQuery] Re: $(document).ready firing before Google Maps scripts are fully loaded

2009-10-16 Thread George V. Reilly
Over in http://groups.google.com/group/google-maps-api/, I got a suggestion that seems to work consistently: use Google's Ajax loader to load the Maps API code asynchronously. http://www.google.com/jsapi? key=MY_API_KEY"> google.load('maps', "2.x", {other_params:"sensor=false

[jQuery] Re: How to skip validation on fields which are hidden

2009-10-16 Thread James
I would think something similar to this (untested): myFieldName: { required: function() { return !$(this).is(':hidden'); } } Not sure if $(this) actually references the field. Might want to test that out. On Oct 16, 10:18 am, buntu wrote: > Hi, > > I've an input field in the fo

[jQuery] [validate] How to skip validation on fields which are hidden

2009-10-16 Thread buntu
Hi, I've an input field in the form which is displayed based on the user selection. Initially it is set to 'display:none' and I do have a validation rule for that field. How do I skip validation on this hidden input field and only validate when its displayed on the page. Thanks for the help!

[jQuery] Re: password strength meter

2009-10-16 Thread factoringcompare.com
Anybody got an idea with this one . On Oct 15, 10:44 am, "factoringcompare.com" wrote: > Hi, > > I’m using jQuery: form wizard plugin (http://home.aland.net/sundman/) > with a password strength meter plugin   > byhttp://www.rvdevsign.net/ressources/javascript/jpassword-plugin-jquer > > T

[jQuery] Re: jQuery UI Tabs - Select Tab?

2009-10-16 Thread Collectonian
Found it! It needs to be: $('#tabs').tabs().tabs('select', 1); // => 0 with the extra tabs(). :- D Got it working now! Thanks, Summer S. Wilson Collectonian on Yahoo! Messenger ~ Facebook (http://www.facebook.com/ Collectonian) An Eclectic World (http://eclectic-world.com) ~ LiveJournal (http:/

[jQuery] Re: new autosuggestion plug-in. need comments/feedback

2009-10-16 Thread Rick Faircloth
Thanks...let us know on the list when the ajax is done! Rick -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of George Sent: Friday, October 16, 2009 3:26 PM To: jQuery (English) Subject: [jQuery] Re: new autosuggestion plug-in. need comm

[jQuery] Re: new autosuggestion plug-in. need comments/feedback

2009-10-16 Thread Rick Faircloth
Thanks for letting me know. I would definitely need ajax support. Rick -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of George Sent: Friday, October 16, 2009 3:09 PM To: jQuery (English) Subject: [jQuery] Re: new autosuggestion plug-in

[jQuery] Re: jQuery and Ajax conflicting only on macintosh?

2009-10-16 Thread Johns, Cheryl
Thanks, good catch. I actually found that I also needed to update the file I was using for ajax.js. Once I updated to version 1.6.1 from www. Prototypejs.org, the problem went away! Go figure! Thanks George! -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googl

[jQuery] Using values.jquery to switch values of fields

2009-10-16 Thread johnHoysa
Looking at the example for the values.jquery plugin I would think that I would not only be able to copy values from one id to an other but that I would also be able to switch the values as well. Here is the working example - http://jquery-values.googlecode.com/svn/trunk/jquery.values.htm Lookin

[jQuery] Re: jQuery UI Tabs - Select Tab?

2009-10-16 Thread Collectonian
We tried that as well, and still no go. On Oct 15, 1:01 pm, MorningZ wrote: > $("#tabs").tabs("select", idx); > > where "idx" is the numeric index of the tab to select > > On Oct 15, 11:53 am, Collectonian > wrote: > > > > > We are using the jQuery UI's tabs functions to do a tab on a web > > a

[jQuery] Re: jQuery and Ajax conflicting only on macintosh?

2009-10-16 Thread George
Looks like you have an extra " there see this line: Might be a problem On Oct 16, 10:10 am, wogahnct wrote: > I have a very simple script that fails on macintosh only (works on PC > browsers) when I include the ajax.js file.  I am not even using it > (not in my simple script anyway, shown bel

[jQuery] Re: Why no color animation built in?

2009-10-16 Thread Richard D. Worth
Because filesize is at a premium, and not enough people (80-95%) need this feature almost every time they use jQuery (80-95%). That's the point of plugins. I wrote something on the subject some time ago, and I think it sums it up well. See http://groups.google.com/group/jquery-en/msg/0ca254effd0ac

[jQuery] Re: new autosuggestion plug-in. need comments/feedback

2009-10-16 Thread George
It's fairly easy to add. I will do that later this week. I just wanted to iron out all visual/appearance bugs. So you can check this link next week. George. On Oct 16, 3:23 pm, "Rick Faircloth" wrote: > Thanks for letting me know.  I would definitely need ajax support. > > Rick > > > > -O

[jQuery] Re: new autosuggestion plug-in. need comments/feedback

2009-10-16 Thread George
Well, it does not support AJAX yet. the list comes from Javascript array already in the page. So responsiveness probably has something to do with it. I just like the way how it looks. I would actually call it "tokenizer" and not the autosuggestion. George. On Oct 16, 2:53 pm, "Rick Faircloth"

[jQuery] Re: Why no color animation built in?

2009-10-16 Thread Sam
Well why don't they bundle this in with the jQuery standard library? On Oct 16, 11:21 am, Charlie wrote: > jQueryUi has color animationshttp://jqueryui.com/demos/animate/ > Sam wrote:I was just wondering, why doesn't jQuery have color animations > built- in to the library? JavaScript has hexade

[jQuery] Re: new autosuggestion plug-in. need comments/feedback

2009-10-16 Thread Rick Faircloth
Very responsive, George! I'll definitely take a look at this. I have been wanting to implement autocomplete, but just haven't gotten around to it. Thanks for sharing! Rick -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of George Sent:

[jQuery] treeview

2009-10-16 Thread Indraneel
I have a xml file which has the data to be loaded in the treeview. First of all, I would be really glad if treeview can read any xml. Then I can convert my xml to that sort. Secondly, if I have to provide an unordered list, which I can generate from the xml; what will be the way of dynamically add

[jQuery] jQuery and Ajax conflicting only on macintosh?

2009-10-16 Thread wogahnct
I have a very simple script that fails on macintosh only (works on PC browsers) when I include the ajax.js file. I am not even using it (not in my simple script anyway, shown below). When I include that file, the drag and drop no longer works on a mac. Any help is greatly appreciated You can s

[jQuery] Re: Why no color animation built in?

2009-10-16 Thread Charlie
jQueryUi has color animations http://jqueryui.com/demos/animate/ Sam wrote: I was just wondering, why doesn't jQuery have color animations built- in to the library? _javascript_ has hexadecimal number literals (0xaabbcc), so it could be the way to define colors in the params argument obje

[jQuery] Why no color animation built in?

2009-10-16 Thread Sam
I was just wondering, why doesn't jQuery have color animations built- in to the library? JavaScript has hexadecimal number literals (0xaabbcc), so it could be the way to define colors in the params argument object. An array literal could also be used to set colors. Why is it that jQuery hasn't im

[jQuery] Re: Script for tabs?

2009-10-16 Thread lukas
I wanted to avoid loading another plug-in. I helped myself with setting cookies but this makes the code a bit long. I hoped there was a simple trick memorizing the state of the tabs. Thanks again! On Oct 16, 1:10 pm, "Richard D. Worth" wrote: > Sounds like you may want to look into using a tabs

[jQuery] Re: Script for tabs?

2009-10-16 Thread Richard D. Worth
Sounds like you may want to look into using a tabs plugin, if you don't want to implement this all yourself. For example: http://jqueryui.com/demos/tabs/ - Richard On Fri, Oct 16, 2009 at 12:58 PM, lukas wrote: > > Thank you! But how do you memorize the state of

[jQuery] Re: Script for tabs?

2009-10-16 Thread lukas
Thank you! But how do you memorize the state of the tabs? When you click a tab it will work until the refresh of the page is finished and the original mark-up is effective again. On Oct 16, 11:15 am, "Richard D. Worth" wrote: > I imagine you wouldn't need any more code than Bi Jing has given you

[jQuery] Re: show/hide with embed

2009-10-16 Thread ngreenwood6
So if I add return false it won't reload the data? On Oct 16, 8:37 am, rupak mandal wrote: > if the problem is reload then add "return false" at the end or the function > > > > On Fri, Oct 16, 2009 at 6:02 PM, ngreenwood6 wrote: > > > I tried doing that as well and it still does the same thing.

[jQuery] Re: Script for tabs?

2009-10-16 Thread lukas
Thank you! But how do you memorize the state of the tabs? When you click a tab it will work until the refresh of the page is finished and the original mark-up is effective again. On Oct 16, 11:15 am, "Richard D. Worth" wrote: > I imagine you wouldn't need any more code than Bi Jing has given you

[jQuery] Re: Script for tabs?

2009-10-16 Thread lukas
Thank you! But how do you memorize the state of the tabs? When you click a tab it will work until the refresh of the page is finished and the original mark-up is effective again. On Oct 16, 11:15 am, "Richard D. Worth" wrote: > I imagine you wouldn't need any more code than Bi Jing has given you

[jQuery] Re: When mouse over then Fade transition Pause, Please help

2009-10-16 Thread Tan
Hi, Evgeny Bobovik. Thanks you . I have modify files js to: (function ($) { $.fn.fadeTransition = function(options) { var options = $.extend({pauseTime: 5000, transitionTime: 2000}, options); Trans = function(obj) { var timer = null; var current = 0; var pause = 1;

[jQuery] Re: Finding previous & next "siblings" encapsulated in other ?

2009-10-16 Thread Julien
Karl, I choose to keep my original approach as it was better for code clarity in my case. >From within my function, I could select the text input passed as argument with variable $currentField. I could also get the list of other text inputs located after it. $afterFields.length correctly counts t

[jQuery] Re: Script for tabs?

2009-10-16 Thread Richard D. Worth
I imagine you wouldn't need any more code than Bi Jing has given you to handle even 100 tabs, since it uses classes, not IDs. - Richard On Fri, Oct 16, 2009 at 10:53 AM, lukas wrote: > > Thank you for your quick response! In the meantime I tried something > similar, I thought there is a solution

[jQuery] new autosuggestion plug-in. need comments/feedback

2009-10-16 Thread George
I have developed the autosuggestion plug-in. Looks pretty cool (for me). I actually made is like it's done on Facebook. (code is 100% mine). Please take a look and leave me comments/feedback. Only list of names are working as autosuggestion. Other fields on the form are just for example. Also you

[jQuery] Re: Script for tabs?

2009-10-16 Thread lukas
Thank you for your quick response! In the meantime I tried something similar, I thought there is a solution which doesn't require that much code. (Imagine you have 10 tabs!) On Oct 16, 3:57 am, Bi Jing wrote: > Firstly, define a new css class , selected_tab , as following: > > //Style code > .se

[jQuery] Re: When mouse over then Fade transition Pause, Please help

2009-10-16 Thread Evgeny Bobovik
Try to use this code for mouse events processing $(".container").bind("mouseenter",function(){ Trans.pause(); }).bind("mouseleave",function(){ Trans.pause(); }); ... and replace your plugin code on this code: (function ($) { $.fn.fadeTransition = function(options) { va

[jQuery] Validation: Server side generated errorLabelContainer

2009-10-16 Thread Bjorn
Hi, to double check the user input I also do a server side validation. The result of that validation is represented as an errorLabelContainer that is generated by the validation plugin: an ul-container with li- label children. My problem is that when the inputs are updated by the user the errorL

[jQuery] Re: jeditable - setting a different url

2009-10-16 Thread brian ally
On Thu, Oct 15, 2009 at 4:44 PM, pixeline wrote: > > Hi! > > I'm trying to use the jeditable plugin to update a lot of different > strings coming from various part of the database. > > I would like to set it like this: > > $("span.editInPlace").editable($(this).attr('rel'), { >        indicator :

[jQuery] Re: Finding previous & next "siblings" encapsulated in other ?

2009-10-16 Thread Julien
Hi Karl, Thanks for your interesting alternative approach. On my side I was trying to set a jQuery variable using the argument that was passed to the function. But something seems broken if we don't use jQuery from the very beginning for the selection. $.tmp = caller; alert($.tmp);// displa

[jQuery] Re: jquery preload images

2009-10-16 Thread Leonardo K
http://jqueryfordesigners.com/image-loading/ On Fri, Oct 16, 2009 at 10:48, kknaru wrote: > > can you give me some good references? i'm trying to understand the > process so i don;t want to use a plugin

[jQuery] Re: superfish xml again

2009-10-16 Thread Charlie
superfish is jQuery( _javascript_) and CSS that performs on html markup. Any xml related to it would be part of Joomla and have nothing to do with superfish script or the superfish css. Suggest researching this on joomla forums as it's totally non related to anything jQuery or to do with supe

[jQuery] Re: When mouse over then Fade transition Pause, Please help

2009-10-16 Thread Tan
Anybody ?Please On Oct 16, 5:32 pm, Tan wrote: > Hi, I have see a plugin : Fade transition plugin for jQuery > Please see demo:http://www.robpoyntz.com/blog/?m=200905 > I want when i mouse over then Fade transition stop and when i mouse > out then it start. > > I create a code: > $(".container")

[jQuery] Re: Jquery for show / hide item in list

2009-10-16 Thread Charlie
the code that you used will take  UL's with more than 10 list items(li's) and hide items greater than 10 it seems from your html you are wanting to do something different since you are hiding complete lists(UL's) already here's an example of the exact same code working fine BUT   with minor

[jQuery] Re: jquery preload images

2009-10-16 Thread kknaru
can you give me some good references? i'm trying to understand the process so i don;t want to use a plugin

[jQuery] Re: Finding previous & next "siblings" encapsulated in other ?

2009-10-16 Thread Karl Swedberg
Hi Julien, May I propose a different way? $('input:checkbox, input:text').bind('change focus', function(event) { if (event.type == 'change' || this.type == 'text') { $(this).parent().nextAll().find('input:text').doSomething(); } }); This selects all checkboxes and text inputs and binds

[jQuery] Simple Modal Close Event

2009-10-16 Thread biggerandbetterkah...@googlemail.com
I'm using the simpleModal plugin to display dialog windows. I have a callback on the onclose event which fires another event. Is it correct that the $.modal.close() does not fire the onclose callback. If this is correct is there a way i could workaround this?

[jQuery] Re: Script for tabs?

2009-10-16 Thread Bi Jing
Firstly, define a new css class , selected_tab , as following: //Style code .selected_tab{ background-color:#ccc; color:#000; } //Script code //$(".tab") indicate all of your tab elements. $(".tab").click(function(){ $(".selected_tab").removeClass("selected_tab"); // clear current select tab

[jQuery] Re: Show images with delay...

2009-10-16 Thread 立伟 马
On 10月16日, 上午5时29分, James wrote: > You use setInterval in Javascript to execute a callback function every > so milliseconds: > > window.setInterval(doSomething, 1000); // 1000ms = 1sec > > function doSomething() { >   // code to change images > > } > > On Oct 15, 11:25 am, -e-train wrote: > >

[jQuery] Re: slideUp(), XHTML & IE8 - margin-top breaking, known issue?

2009-10-16 Thread bvdp
Hi, I'm experiencing somewhat the same issues (http://groups.google.com/ group/jquery-dev/browse_thread/thread/14fd5703aeb8653d) Did you already make progression on this? Could you let me know please? Thanks a lot!! On 19 aug, 11:49, "ryan.j" wrote: > Apologies for the awful title. I've google

[jQuery] Re: show/hide with embed

2009-10-16 Thread Bi Jing
You should use *$("#test").is(":visible")* to confirm whether the div is shown or hidden. Best, BeCoDeR. On Fri, Oct 16, 2009 at 3:02 PM, Evgeny Bobovik wrote: > > Try to use this method: > > function showEmbed(){ > if($("#test").css('display') == 'block'){ > $("#test").css('displ

[jQuery] Re: HELP!!! css & content filters

2009-10-16 Thread Bi Jing
Please try this $("ul li").each(function(i){this.addClass(['','','test_css','test_css'][i%4])}) OR..you can try to use another one: $("li:even:odd, li:odd:odd").addClass("test_css"); On Fri, Oct 16, 2009 at 3:07 PM, Evgeny Bobovik wrote: > > try to use this function > > function test(){

[jQuery] Re: slideUp(), XHTML & IE8 - margin-top breaking, known issue?

2009-10-16 Thread bvdp
Hi, I'm experiencing somewhat the same issues (http://groups.google.com/ group/jquery-dev/browse_thread/thread/14fd5703aeb8653d) Did you already make progression on this? Could you let me know please? Thanks a lot!! On 19 aug, 11:49, "ryan.j" wrote: > Apologies for the awful title. I've google

[jQuery] superfish xml again

2009-10-16 Thread n0yes
I'm having install superfish problems, says the xml is missing. I found this post: "I'm a newbie and can't install the zipfile superfish 1.4.8 using the joomla install function. I keep getting an error message stating that the xml.is missing. Do you have any suggestions how I might be able

[jQuery] Vlidation

2009-10-16 Thread Nagella
How to validate the form fields written in php file(for this file i applied php templet)

[jQuery] Re: show/hide with embed

2009-10-16 Thread rupak mandal
if the problem is reload then add "return false" at the end or the function On Fri, Oct 16, 2009 at 6:02 PM, ngreenwood6 wrote: > > I tried doing that as well and it still does the same thing. It must > be changing the display that makes it reload. To test all you have to > do is create a div wi

[jQuery] Re: HELP!!! css & content filters

2009-10-16 Thread Liam Byrne
You have an unnecessary "n" in your code. var test_css = {'background':'#000'}; $("ul li:nth-child(3n)").css(test_css); should be $("ul li:nth-child(3)").css(test_css); Liam huntspointer2009 wrote: - Can someone please help me solve the following issue? - How can I select and apply a 'ba

[jQuery] Re: show/hide with embed

2009-10-16 Thread ngreenwood6
I tried doing that as well and it still does the same thing. It must be changing the display that makes it reload. To test all you have to do is create a div with embed code and call show/hide on it and you will see. On Oct 16, 3:02 am, Evgeny Bobovik wrote: > Try to use this method: > > functi

[jQuery] Re: calculating value based on two sliders

2009-10-16 Thread Richard D. Worth
Oh, and if you have any future questions about jQuery UI plugins, note there's a separate list for those: http://groups.google.com/group/jquery-ui - Richard On Fri, Oct 16, 2009 at 8:28 AM, Richard D. Worth wrote: > Something like this perhaps: > > http

[jQuery] Re: calculating value based on two sliders

2009-10-16 Thread Richard D. Worth
Something like this perhaps: http://jsbin.com/enuxu source code: http://jsbin.com/enuxu/edit - Richard On Wed, Oct 14, 2009 at 2:28 PM, DekiR wrote: > > HI, > > I am new to jquery and I am trying to calculate a value based on two > sliders. > > Can somebody help me or point me into the right d

[jQuery] Re: jquery preload images

2009-10-16 Thread Leonardo K
the callback of load function is called when the ajax request is complete (this not include waiting images to load). You have to use some plugin to preload images. On Fri, Oct 16, 2009 at 08:26, kknaru wrote: > > nobody? :(

[jQuery] When mouse over then Fade transition Pause, Please help

2009-10-16 Thread Tan
Hi, I have see a plugin : Fade transition plugin for jQuery Please see demo: http://www.robpoyntz.com/blog/?m=200905 I want when i mouse over then Fade transition stop and when i mouse out then it start. I create a code: $(".container").mouseover (function() { $(this).stop(); }); but it's not wor

[jQuery] Re: jquery preload images

2009-10-16 Thread kknaru
nobody? :(

[jQuery] Re: Finding previous & next "siblings" encapsulated in other ?

2009-10-16 Thread Julien
Thanks a lot, Karl. Your code dit it. Now are several events (like key strokes and checkbox changes) for which the same code must be run. So, I would like to retrieve the siblings from within a function. The problem I encounter with the code below is how to retrieve in jQuery the "caller" argume

[jQuery] Re: HELP!!! css & content filters

2009-10-16 Thread Evgeny Bobovik
try to use this function function test(){ var ind = 0; $('ul').find('li').each(function(){ if (ind == 2){ $(this).css('test_css'); ind = 0; }else{ ind++; } }); } Gk___ Sent from Minsk, Belarus 2009/10/16 huntspointer2009 : > > - Can someone please

[jQuery] Re: show/hide with embed

2009-10-16 Thread Evgeny Bobovik
Try to use this method: function showEmbed(){ if($("#test").css('display') == 'block'){ $("#test").css('display','none'); } else { $("#test").css('display', 'block'); } } Gk___ 2009/10/16 ngreenwood6 : > >