[jQuery] Re: Superfish 1.4.1 update released

2008-01-31 Thread Jesse Klaasse
I am still struggling to find the time to work on those bugs. Anyone who has ideas about this, please feel free to contact me/Joel via this list. Joel, I appreciate your work, sorry I hadn't answered yet! -Original Message- About the callbacks. Would they enable us to write for

[jQuery] Re: File inputs

2008-01-31 Thread Diego A.
I've tried for a long time to do this and as far as I know: it just can't be done. Perhaps the next generation of browsers will allow us developers to call the file seclection box like this window.chooseFile, just like we can use window.prompt... If this does turn out to be possible, eventually,

[jQuery] Re: File inputs

2008-01-31 Thread Diego A.
Actually, this method seems good enough to me: http://www.quirksmode.org/dom/inputfile.html ...specially with the forced IE6 updated coming soon. On Jan 31, 8:52 am, Diego A. [EMAIL PROTECTED] wrote: I've tried for a long time to do this and as far as I know: it just can't be done. Perhaps the

[jQuery] Re: jCarousel infinite loop problem w/ multiple carousels on display: none

2008-01-31 Thread Jan Sorgalla
Hi, i couldn't reproduce that. Can you please create a cleaned up sample page (without google maps) where i can test it. Jan On 31 Jan., 04:04, Todd [EMAIL PROTECTED] wrote: I am attempting to build a page with multiple carousels, that by default, only one displays. When you click on an

[jQuery] jquploader 2 alpha 1 - rich file upload dialog plugin - please test and help

2008-01-31 Thread Alexandre Plennevaux
Hello friends, I am working on the new version of jqUploader, a plugin that allows to replace the file inputs in a form for a more user-friendly file upload dialog via the use of an invisible flash object. The new version allows for full customization via CSS and html, instead of having to tweak

[jQuery] Customized user page?

2008-01-31 Thread howa
This might not be jquery related, but I would like to hear experts' comments :) Let's say I have to make a user customizable front page, e.g. There are multiple blocks within a page (e.g. sports, news, finance, game etc), users would be able to choose their preferences (Something similar to

[jQuery] Re: Problem in creating Dynamic tables

2008-01-31 Thread Anand
John please help On Jan 30, 1:21 pm, Anand [EMAIL PROTECTED] wrote: Hi All, I am trying to create a dynamic table. It is to be created on onchange event of a text box which will tell how many templates to be added. The structure which I want to add to my page dynamically is table thead

[jQuery] Problem with jQuery drag and drop

2008-01-31 Thread Arun Kumar
I'm using jQuery's ui library (current one, using makeSortable() method) for Sorting purpose. And I'm creating some dynamic div elements using JavaScript in that page. They are sortable. This page is working fine in IE 7 and is not working in FF 2. Could any one help me out in making it to work

[jQuery] Re: Keeping variables across ajax pages

2008-01-31 Thread Alexey Blinov
$(#variables #source).attr(id) gives you 'source' result isn't it?you need to get (i think) a textNode of div or custome attribute. But better way, i think, is declare global dict like script var params = new Array() params[lang] = en; params[source] = somewhere there; // etc...

[jQuery] Appending/prepending image source attribute

2008-01-31 Thread Azzlack
I am trying to change the source of an image when the page loads to include some code in front, and after the url. Like this: Original src: http://www.teamviewer.com/images/teamviewer.png How I want it to look like: /umbraco/ImageGen.aspx?image= + (original-src) + amp;width= + width +

[jQuery] jqModal -Unable to fade in overlay

2008-01-31 Thread Ow Choong Seong
Hi, I'm trying to fade in and fade out the dialog and overlay. I've no problem with the fading out but the fading in doesn't seem to work as expected. I have no problem fading in the dialog but for some reason the overlay just refuses to work. My code below: var

[jQuery] Superfish Help Required

2008-01-31 Thread I-CRE8
http://www.i-cre8.co.uk/sf-menu/ I am trying to get Superfish to work with *my* css styling conventions and have got stuck and would appreciate some pointers as to where I am going wrong. The menu works perfectly as a pure css menu with js turned off, but with js on the dropdowns only appear

[jQuery] Re: jquploader 2 alpha 1 - rich file upload dialog plugin - please test and help

2008-01-31 Thread Alexandre Plennevaux
that's on my to-do list already, but i prefer to increase the complexity gradually, in the clientside of life, i'm more a designer than a developer so i have to manage myself a not too steep learning curve °-¨ On 31 jan, 12:51, Jean [EMAIL PROTECTED] wrote: Works for me! But was interesting if

[jQuery] Re: jquploader 2 alpha 1 - rich file upload dialog plugin - please test and help

2008-01-31 Thread Jean
Works for me! But was interesting if able to select more than 1 file, like swfuploader. On Thu, Jan 31, 2008 at 9:36 AM, Alexandre Plennevaux [EMAIL PROTECTED] wrote: Hello friends, I am working on the new version of jqUploader, a plugin that allows to replace the file inputs in a form for

[jQuery] Re: jquploader 2 alpha 1 - rich file upload dialog plugin - please test and help

2008-01-31 Thread Alexandre Plennevaux
btw, what is your browser and os ? On 31 jan, 12:51, Jean [EMAIL PROTECTED] wrote: Works for me! But was interesting if able to select more than 1 file, like swfuploader. On Thu, Jan 31, 2008 at 9:36 AM, Alexandre Plennevaux [EMAIL PROTECTED] wrote: Hello friends, I am working on

[jQuery] Superfish - CSS questions ?

2008-01-31 Thread Simon
Hello, I'm using for a personal project the SUPER superfish menu ;-) Everything is working great, you can have a look here http://ugo.celeonet.fr/a/menu.html and my css is here : http://ugo.celeonet.fr/a/css/nav2.css My version of the superfish menu :) But I've got a question, I would like

[jQuery] Re: Another IE Sliding bug, the weirdest (some elements disappear and others not on SlideDown)

2008-01-31 Thread Kenneth Bice
Just a wild guess, try sticking content that disappears into its own div inside the toggle div. i only took a quick minute to look but that might do it On 1/27/08, Arkilus [EMAIL PROTECTED] wrote: While building my application with jQuery I found out this really weird internet explorer bug:

[jQuery] Re: Reusing XMLHttpRequest

2008-01-31 Thread skin
The problem was in functions ajaxSend, ajaxComplete - they look on all ajax requests on page, and execute code. the functions was something like this: $(loadings[0]).ajaxSend(function(evt, request, settings){ url = settings.url.toString(); if

[jQuery] Overriding form submissions in a way that deals with this.form.submit()

2008-01-31 Thread the_woodsman
Hi everyone, I'm using Jquery to override form submits, i.e: var tabsForms=$('#'+el.id+' form'); tabsForms.submit(function(){... Pressing submit works fine with this approach, but there's existing code in the form inputs, such as onclick=this.form.submit. When the form is submitted this

[jQuery] Re: $.get and $.getJSON

2008-01-31 Thread mwk
Does really nobody got an Idea? Greets Martin

[jQuery] Re: Drag and drop problem.

2008-01-31 Thread [EMAIL PROTECTED]
On Jan 29, 8:52 am, Arun Kumar [EMAIL PROTECTED] wrote: I got this problem in IE 7 but it is working well in FireFox. On Jan 28, 4:26 pm, Arun Kumar [EMAIL PROTECTED] wrote: I'm using interface plugin's Sortable feature. I'm able to drag the draggable divs and there is no problem with

[jQuery] Coda Type Slideshow

2008-01-31 Thread Pickledegg
I've just started with jquery, and I'm looking at producing the following: I've just started looking at jquery, so I'm a complete jquery/ajax rookie, but I was hoping to create a slideshow for my personal photo blog that I hope to launch end of Feb. I wanted to create something similar to the

[jQuery] Re: Is this the best way?

2008-01-31 Thread the_woodsman
Assuming that the level starts at 0, I think you could apply successive not filters to the Jquery selection, the first eliminating level=0, the second eliminiating level=1, etc... On Jan 31, 3:46 am, Danny [EMAIL PROTECTED] wrote: jQuery does not have a built-in selector to compare the values

[jQuery] Re: Overriding form submissions in a way that deals with this.form.submit()

2008-01-31 Thread Diego A.
This should do it: $('form').each(function(){ this.onsubmit = function(){ // do stuff } }; On Jan 31, 12:07 pm, the_woodsman [EMAIL PROTECTED] wrote: Hi everyone, I'm using Jquery to override form submits, i.e: var tabsForms=$('#'+el.id+' form'); tabsForms.submit(function(){...

[jQuery] Re: Superfish Help Required

2008-01-31 Thread Joel Birch
Hi Dave, Instead of display:none and display:block to hide and reveal your submenus you need to use top:-999em and top:1.5em (or whatever the vertical offset you need for your menu) respectively. The only other thing you need to once you have swaped 'display' for 'top' is that you will need

[jQuery] Re: jquploader 2 alpha 1 - rich file upload dialog plugin - please test and help

2008-01-31 Thread Diego A.
It looks great and works for me (FF2, WinXP SP2). I can't really help with the plugin because I know nothing about Flash/ ActionScript, but you should read this: http://docs.jquery.com/Plugins/Authoring On Jan 31, 11:36 am, Alexandre Plennevaux [EMAIL PROTECTED] wrote: Hello friends, I am

[jQuery] Re: jquploader 2 alpha 1 - rich file upload dialog plugin - please test and help

2008-01-31 Thread Web Specialist
Alexandre, very nice. I'm using FF 2.0.0.11 WinXP. My suggestion is verify when user includes the same file in the 2 file input. SWFUploader displays a message. Cheers 2008/1/31, Alexandre Plennevaux [EMAIL PROTECTED]: Hello friends, I am working on the new version of jqUploader, a

[jQuery] Re: jquploader 2 alpha 1 - rich file upload dialog plugin - please test and help

2008-01-31 Thread Rafael Santos
Good work, and i think it should disabled the button after the first click... On Jan 31, 2008 10:47 AM, Web Specialist [EMAIL PROTECTED] wrote: Alexandre, very nice. I'm using FF 2.0.0.11 WinXP. My suggestion is verify when user includes the same file in the 2 file input. SWFUploader

[jQuery] Re: Superfish - CSS questions ?

2008-01-31 Thread Joel Birch
Hi Simon, It looks like you may not want to use the pathClass option for this type of menu. When you do, it removes the class you pass in ('current' in your case) and replaces it with your hover class ('sfHover'). This is necessary to restore and keep open the path to your current page on idle,

[jQuery] Re: jquploader 2 alpha 1 - rich file upload dialog plugin - please test and help

2008-01-31 Thread Jean
Windows XP w/ FF 2 Very cool design btw. On Thu, Jan 31, 2008 at 10:01 AM, Alexandre Plennevaux [EMAIL PROTECTED] wrote: btw, what is your browser and os ? On 31 jan, 12:51, Jean [EMAIL PROTECTED] wrote: Works for me! But was interesting if able to select more than 1 file, like

[jQuery] Re: jquploader 2 alpha 1 - rich file upload dialog plugin - please test and help

2008-01-31 Thread tobaco
looks good, but works for me only in FF 2 and Safari 3 on Win XP. not in ie 6+7 and opera 9.25 is there a possibility to delete or change the selected file? cheers, torsten On 31 Jan., 12:36, Alexandre Plennevaux [EMAIL PROTECTED] wrote: Hello friends, I am working on the new version of

[jQuery] Accessing jQuery functions from outside

2008-01-31 Thread wyo
I've some functions which I'd like to use outside of jQeury in normal HTML, e.g. script type=text/javascript $(document).ready(function() { function collapse (i) { $('#expanded_'+i).hide(); } }); /script ... img src=images/plus01.png onclick=javascript:

[jQuery] Re: jquploader 2 alpha 1 - rich file upload dialog plugin - please test and help

2008-01-31 Thread tlob
looks good on os x 10.5.1 safari 3 FF 2 it behaves i little quirki with very big files. 600MB looks like the browser crashed would be nice to have a twirling cursor on the page to see, if its uploading. the progressbar is nice, but with big files it would not update for a long time. would be

[jQuery] Re: Fighting a closure

2008-01-31 Thread Brandon Aaron
One more reply for good measure ... Using jQuery.each will provide you the isolation you need to make your original code work. jQurey.each( [0,1,2,3,4], function(index, num) { $(#port+num).click(function() { bigchart(num); }); }); You should also be able to write it like this: for (

[jQuery] Re: Superfish 1.4.1 update released

2008-01-31 Thread Karl Swedberg
Hi Jesse and Joel, I think the piece that you are missing, which is the cause of your problem, is the page (Y) offset. If there is a vertical scrollbar, you'll need the page y offset; with a horizontal scrollbar, the page x offset (IE has different names for these things). The dimensions

[jQuery] Re: Superfish 1.4.1 update released

2008-01-31 Thread Joel Birch
Hi Karl, What can I say? Thanks so much for shedding light on this issue, it's the big piece of the puzzle we were missing. I'll have a go at folding this into what we have so far. Where do you find the time to help so many people on this list? You have my unabashed admiration, sir. Cheers!

[jQuery] Re: Email validation broken in plugin v1.2?!

2008-01-31 Thread Scott González
Please, don't do that. The modified regex you provided is way over simplified. I'll try to produce the regex you want, it should be as easy as making the domain label required in the host name. On Jan 30, 7:43 pm, Rus Miller [EMAIL PROTECTED] wrote: I agree, [EMAIL PROTECTED] isn't likely to

[jQuery] Re: jquploader 2 alpha 1 - rich file upload dialog plugin - please test and help

2008-01-31 Thread Alexandre Plennevaux
For your Information: flash does not allow upload bigger than 100 Megs so this might explain that. I still have to implement filesize checking to make sure the user knows beforehand... -- Original Message -- To: jQuery (English) (jquery-en@googlegroups.com) From: tlob ([EMAIL

[jQuery] Re: jScrollPane: hide an arrow at end of content?

2008-01-31 Thread Kelvin Luck
Hi, It seems like a sensible requirement to be able to style inactive arrows differently to active ones and to be honest I thought that I had code to do this in jScrollPane. From a quick look it seems like I haven't though... So I have raised a ticket for myself to implement this:

[jQuery] Re: Accessing jQuery functions from outside

2008-01-31 Thread Giovanni Battista Lenoci
wyo ha scritto: I've some functions which I'd like to use outside of jQeury in normal HTML, e.g. script type=text/javascript $(document).ready(function() { function collapse (i) { $('#expanded_'+i).hide(); } }); /script ... img src=images/plus01.png

[jQuery] Re: Loading GIF Slideshow w/o Modal

2008-01-31 Thread Benjamin Sterling
For the most part they are coded to allow for flexibility, so you can customize them as needed. If there is a particular one you are thinking about using, post a comment on that post and I will see what I can do. On 1/30/08, Ange [EMAIL PROTECTED] wrote: Thanks. Can any of these be customized

[jQuery] Re: Superfish feature request

2008-01-31 Thread Joel Birch
Quick update, I have done some more work on this code so now you can simply apply the positioning plugin to Superfish like a regular plugin, which is much easier for the user than how it was done before: $(function() { $('.nav').superfish().supposition(); }); You could even apply it

[jQuery] Re: Fighting a closure

2008-01-31 Thread timothytoe
Thanks for all the examples. I was able to find a couple ways on my own, but I love to see how other people solve these problems so I can learn new techniques. Hardest thing for me when in JavaScript is taking my mind out of C and PHP. Shared syntax is a blessing and a curse.

[jQuery] Re: Loading GIF Slideshow w/o Modal

2008-01-31 Thread Alexandre Plennevaux
-- Original Message -- To: Jquery-en (jquery-en@googlegroups.com) From: Benjamin Sterling ([EMAIL PROTECTED]) Subject: [jQuery] Re: Loading GIF Slideshow w/o Modal Date: 31/1/2008 16:09:45 For the most part they are coded to allow for flexibility, so you can customize them as

[jQuery] jqModal overlaying other div without interferences

2008-01-31 Thread pere roca
hi, I hope someone can give me a clue on how to let overlay a jqModal window without interfering in the div that is below. I think the best is you take a look at http://edit3.csic.es/edit_geo/prototype/edit3_symbol2.html and click on Data Symbolization (test); that should show you a new window

[jQuery] Re: Problem with jQuery drag and drop

2008-01-31 Thread Richard D. Worth
There's a dedicated jQuery UI mailing list: http://groups.google.com/group/jquery-ui/ Thanks. - Richard On Jan 31, 2008 5:33 AM, Arun Kumar [EMAIL PROTECTED] wrote: I'm using jQuery's ui library (current one, using makeSortable() method) for Sorting purpose. And I'm creating some dynamic

[jQuery] Re: Loading GIF Slideshow w/o Modal

2008-01-31 Thread Benjamin Sterling
Thanks Alexandre, thank god I am the hosting manager :) it's back up. On 1/31/08, Alexandre Plennevaux [EMAIL PROTECTED] wrote: -- Original Message -- To: Jquery-en (jquery-en@googlegroups.com) From: Benjamin Sterling ([EMAIL PROTECTED]) Subject: [jQuery] Re: Loading GIF

[jQuery] Re: Appending/prepending image source attribute

2008-01-31 Thread Karl Swedberg
Hi Ove, I think you sent me an email over at learningqjuery.com, but I'll answer here for the record. it would go something like this: var height = $(#myElement).height(); var width = $(#myElement).width(); var originalSrc = $('someImage').attr('src'); $('someImage').attr('src',

[jQuery] Re: Loading GIF Slideshow w/o Modal

2008-01-31 Thread Sean O
Ange, It sounds like the SlideViewer plugin might help you: http://www.gcmingati.net/wordpress/wp-content/lab/jquery/imagestrip/imageslide-plugin.html SEAN O _ www.sean-o.com Ange-6 wrote: I'm looking for a jQuery slideshow plugin, and I can't seem to fond one that does

[jQuery] Re: Appending/prepending image source attribute

2008-01-31 Thread Danny
I think you would want to append just the ampersands, not 'amp;' that's only to get the href past the HTML parser. Thus: $('someImage').attr('src', '/umbraco/ImageGen.aspx?image=' + originalSrc + 'width=' + width + 'height=' + height); Danny On Jan 31, 10:05 am, Karl Swedberg [EMAIL PROTECTED]

[jQuery] attr ie bug

2008-01-31 Thread hcvitto
hi i'm using this code to add the target=_blank attribute to links. $(a[href]).each(function(){ if ($(this).hasClass(ppt) || $(this).hasClass(pdf) || $ (this).hasClass(allegato) || $(this).hasClass(doc) || $ (this).hasClass(jpg) || $(this).hasClass(xls) || $

[jQuery] Re: change on select not working

2008-01-31 Thread RyanMC
Nevermind, I am an idiot. I got it. On Jan 30, 8:13 pm, Hamish Campbell [EMAIL PROTECTED] wrote: Whenever you create new selects you will need to bind the click event to the new selects. On Jan 31, 11:51 am, RyanMC [EMAIL PROTECTED] wrote: $(select).change(function(){

[jQuery] Re: Superfish Help Required

2008-01-31 Thread Dave Buchholz - I-CRE8
On 31/1/08 12:26, Joel Birch [EMAIL PROTECTED] wrote: Hi Dave, Instead of display:none and display:block to hide and reveal your submenus you need to use top:-999em and top:1.5em (or whatever the vertical offset you need for your menu) respectively. The only other thing you need to

[jQuery] Issue with next()/prev() traversal

2008-01-31 Thread [EMAIL PROTECTED]
Hallo, I am quite new to Jquery and so please forgive me if my problem sounds dumb ;) HTML: div id=eventlist img src=../a href=#One/abr/ img src=../a href=#Two/abr/ img src=../a href=#Three/abr/ -- img src=../a href=#

[jQuery] Re: Customized user page?

2008-01-31 Thread h0tzen
On 31 Jan., 13:17, howa [EMAIL PROTECTED] wrote: Let's say I have to make a user customizable front page, e.g. There are multiple blocks within a page (e.g. sports, news, finance, game etc), users would be able to choose their preferences (Something similar to Yahoo or iGoogle), they might

[jQuery] Re: Not a plugin but code for anyone trying to have collapse-able menu with cookies

2008-01-31 Thread Charles K. Clarkson
Karl Swedberg wrote: : On my test page (http://test.learningjquery.com/cookie-menu.html), I : put a link to another page with the same script and menu so you can : see the persistence of the expand/collapse state. Never being able to leave well enough alone and having a little time on my

[jQuery] Re: jCarousel with FF 2.0.0.11

2008-01-31 Thread Iair Salem
Same problem. On Jan 3, 7:54 pm, Avik [EMAIL PROTECTED] wrote: Hi, I'm facing issues while using jCarousel 0.22 with FF 2.0.0.11. Firebug is suggesting there is an error on line 813 of the jcarousel.jquery.js file. The code is as follows: this.clip[0].offsetWidth .. The error says

[jQuery] Re: Drag and drop problem.

2008-01-31 Thread Arun Kumar
I think, jQuery doesn't provide the facility of handle element. So it is the problem. If you provide online link, it will be better.

[jQuery] Re: Accessing jQuery functions from outside

2008-01-31 Thread the_woodsman
Have you tried putting the fn outside of document ready, and then calling it in both document ready and the onclick? Btw, you don't put the javascript: in an onclick, only in a href, that might cause problems too... On Jan 31, 1:44 pm, wyo [EMAIL PROTECTED] wrote: I've some functions which I'd

[jQuery] Body Background url Problem position

2008-01-31 Thread [EMAIL PROTECTED]
Hello there ! this is my first post here, am currently test 'slide' fonction on a website but that generate a little problem only on MSIE 7 you can take a look here: http://3c-communication.com/formation/archives/category/thematique the problem appear when i use this javascript :

[jQuery] newbiish.. must be a better way than what I'm doing to find the next div after the following inputs?

2008-01-31 Thread rickcr
This should be easy, but I'm stumped on this. I can't find examples showing cases where the find 'skips ahead' .. what I want to is find the next div after any of the radio inputs is clicked so that if I have... div pinput type=radio name=color value=blue/ Blue/p pinput type=radio

[jQuery] Re: change on select not working

2008-01-31 Thread RyanMC
How would I go about doing that? On Jan 30, 8:13 pm, Hamish Campbell [EMAIL PROTECTED] wrote: Whenever you create new selects you will need to bind the click event to the new selects. On Jan 31, 11:51 am, RyanMC [EMAIL PROTECTED] wrote: $(select).change(function(){ alert(Selected:

[jQuery] Re: Problem with jQuery drag and drop

2008-01-31 Thread Arun Kumar
File is updated. There is a bug. When there are no gadgets in any column, then we can't drag them into that column even if it is sortable. Please remember that only first two columns are eligible for sorting. One more doubt is, how can I use hoverClass? Please give me a demo page link. Thank

[jQuery] Re: File inputs

2008-01-31 Thread Steffan A. Cline
on 1/31/08 1:52 AM, Diego A. at [EMAIL PROTECTED] wrote: I've tried for a long time to do this and as far as I know: it just can't be done. Perhaps the next generation of browsers will allow us developers to call the file seclection box like this window.chooseFile, just like we can use

[jQuery] How to prevent user from clicking links or buttons while submitting

2008-01-31 Thread brooke
Here is the situation. We have a form that has links and when the user clicks on them it will submit the form. The problem is that sometimes the users were doubleclicking or clicking on different links while the form was submitting. I am completely new to jQuery but one of the programmers

[jQuery] Jeditable across td's

2008-01-31 Thread frizzle
Hi all, Thanks to this topic: http://groups.google.com/group/jquery-en/browse_thread/thread/7c26ef858ec47984 I managed to achieve to change the trigger for the Jeditable items in DIVs. Now i've created an overview of files in a folder. It's presented in a table. But now the following code

[jQuery] Validate 1.2 Questions

2008-01-31 Thread jason
Just starting to integrate Jörn's new Validate 1.2 plugin and very pleased with the results thus far. However, until some updated docs are available, I'm a bit in the dark as to how to implement certain things. Before I go diving into the source, I thought I'd ask here. First two questions: (1)

[jQuery] Re: Another jdMenu problem... IE specific...

2008-01-31 Thread Jonathan Sharp
Hi Chris, Just wanted to give you a heads up, I've released jdMenu 1.4.0 at http://jdsharp.us/jQuery/plugins/jdMenu/1.4.0 (though I haven't posted notice of this yet) It's been updated to work with jQuery 1.2.2 and the latest dimensions plugin. Cheers, -Jonathan On 1/24/08, Chris Jordan [EMAIL

[jQuery] Re: Validate 1.2 Questions

2008-01-31 Thread Priest, James (NIH/NIEHS) [C]
-Original Message- From: jason [mailto:[EMAIL PROTECTED] (1) How do you control where the error label appears for grouped elements like radio buttons and checkboxes? Right now it's appearing right after the first one for me. See 'errorPlacement' - example code below - this checks

[jQuery] Re: Fighting a closure

2008-01-31 Thread Josh Nathanson
for ( i=0;i5;i++ ) { (function(num) { $(#port+num).click(function() { bigchart(num) }); })(i); } That's the one I was trying to figure out. Nicely done. -- Josh

[jQuery] Re: newbiish.. must be a better way than what I'm doing to find the next div after the following inputs?

2008-01-31 Thread Glen Lipka
How about parents(div:first) Glen On Thu, Jan 31, 2008 at 8:54 AM, rickcr [EMAIL PROTECTED] wrote: This should be easy, but I'm stumped on this. I can't find examples showing cases where the find 'skips ahead' .. what I want to is find the next div after any of the radio inputs is clicked

[jQuery] Re: random option for Cycle not working?

2008-01-31 Thread ZAP
Thanks for your reply. I was using the compressed version of 2.01 (with all transitions). I thought that I'd fixed the problem yesterday by switching to the uncompressed version. It did fix it, but just now I tried the latest (2.09) compressed version and it also works. So I guess there was a bug

[jQuery] Re: Superfish feature request

2008-01-31 Thread Karl Swedberg
hey Joel, This is fun! I think this should do it for the vertical stuff. You can apply something similar for the horizontal : snippet var windowHeight = $w.height(), offsetTop = $u.offset().top,

[jQuery] Re: Customized user page?

2008-01-31 Thread howa
Thanks for your comments. On 1月31日, 下午9時21分, h0tzen [EMAIL PROTECTED] wrote: but with serverside scripting you may store the whole configuration in some backend-system (e.g. db) and only store the hash (much more flexibility) I don't think I will store the settings in db, as our services is

[jQuery] Re: random option for Cycle not working?

2008-01-31 Thread Mike Alsup
Thanks for your reply. I was using the compressed version of 2.01 (with all transitions). I thought that I'd fixed the problem yesterday by switching to the uncompressed version. It did fix it, but just now I tried the latest (2.09) compressed version and it also works. So I guess there was

[jQuery] Re: Not a plugin but code for anyone trying to have collapse-able menu with cookies

2008-01-31 Thread Karl Swedberg
Very cool, Charles! Wow, I wish I had the time to study all the stuff that comes through this discussion list. Hard to keep up. --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Jan 31, 2008, at 8:22 AM, Charles K. Clarkson wrote: Karl Swedberg

[jQuery] Re: newbiish.. must be a better way than what I'm doing to find the next div after the following inputs?

2008-01-31 Thread Richard D. Worth
Another option is: $(this).parent().nextAll('div:first') - Richard On Jan 31, 2008 1:27 PM, Glen Lipka [EMAIL PROTECTED] wrote: How about parents(div:first) Glen On Thu, Jan 31, 2008 at 8:54 AM, rickcr [EMAIL PROTECTED] wrote: This should be easy, but I'm stumped on this. I can't

[jQuery] script tag loading error

2008-01-31 Thread KidsKilla
Hi guys! Can someone tell me, is there any possibility to catch loading error (404, 500). ajax type: script?

[jQuery] attr ie bug

2008-01-31 Thread hcvitto
hi i got this code working in firefox but not in IE. $(a[href]).each(function(){ if ($(this).hasClass(ppt) || $(this).hasClass(pdf) || $ (this).hasClass(allegato) || $(this).hasClass(doc) || $ (this).hasClass(jpg) || $(this).hasClass(xls) || $ (this).hasClass(external) ||

[jQuery] Re: Loading GIF Slideshow w/o Modal

2008-01-31 Thread Pickledegg
SEAN-O The above link is what I found too, but you're missing the original post slightly. He needs something that you can plug into a database, as preloading the images is impractical with large files. Does anyone know of a database ready version? On Jan 31, 4:17 pm, Sean O [EMAIL PROTECTED]

[jQuery] Re: attr ie bug

2008-01-31 Thread besh
Hi vitto, are you sure that the problem isn't somewhere else? Link would be fine... Anyway, I have a tip for you. What about to make this a oneliner: $('a.ppt, a.pdf, a.allegato, a.doc, a.jpg, a.xls, a.external, a.zip').attr('target','_blank'); -- Bohdan Ganicky On Jan 31, 3:46 pm, hcvitto

[jQuery] Re: onClick prepend

2008-01-31 Thread Mark
Ok, well I have a solution! I guess IE doesn't like the eval() function. http://ajaxian.com/archives/evaling-with-ies-windowexecscript script type=text/javascript var global = this; $(document).ready(function() { var onClickAttr = $('#clickTester').attr('onclick');

[jQuery] Re: attr ie bug

2008-01-31 Thread Charles K. Clarkson
hcvitto wrote: : hi i'm using this code to add the target=_blank attribute to links. : : $(a[href]).each(function(){ : if ($(this).hasClass(ppt) || $(this).hasClass(pdf) || $ : (this).hasClass(allegato) || $(this).hasClass(doc) || $ : (this).hasClass(jpg) || $(this).hasClass(xls)

[jQuery] Suckerfish Plugin problem in IE 6/7

2008-01-31 Thread [EMAIL PROTECTED]
Hi, I'm using jQuery and Suckerfish to control my dropdowns on a site. In FF and Safari all is well. In IE 6 and 7, when I select on the 2nd item in the dropdown list, the dropdown box disappears, so I can't get to any of the later, deeper items in the menu. Any idea how to remedy this issue?

[jQuery] Re: Announce: jQuery Tablesorter 2.0.1 Released

2008-01-31 Thread garivin
Any news about multiple tr tags in a thead ? tlphipps wrote: Personally I would prefer the metadata approach since I'm already using metadata to control other tablesorter parameters. Thanks for tackling this issue! On Sep 19, 10:22 am, Christian Bach [EMAIL PROTECTED] wrote:

[jQuery] Re: How to prevent user from clicking links or buttons while submitting

2008-01-31 Thread Glen Lipka
I whipped up a demo. Not exactly what you had requested, but close. http://commadot.com/jquery/PleaseWaitButton.php I am concerned why the click is appending twice. Does this help? Glen On Thu, Jan 31, 2008 at 7:33 AM, brooke [EMAIL PROTECTED] wrote: Here is the situation. We have a form

[jQuery] Re: Issue with next()/prev() traversal

2008-01-31 Thread Wizzud
One way (assuming there is only one a.boldFont, and its position is unknown and may change): // store a list of all anchors in the target div... var anchors = $('#eventlist a'); // then when(ever) you need to... // ...find the position of the boldFont anchor within the stored list var bf =

[jQuery] Re: Issue with next()/prev() traversal

2008-01-31 Thread besh
Hi, try this: $('#eventlist a.boldFont').next('a').trigger('click'); $('#eventlist a.boldFont').prev('a').trigger('click'); -- Bohdan Ganicky On Jan 31, 4:26 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hallo, I am quite new to Jquery and so please forgive me if my problem sounds dumb

[jQuery] Re: Loading GIF Slideshow w/o Modal

2008-01-31 Thread Ange
Here's a link to the page working as I want it to, with the exception of the initial page load being over 4MB: http://www.circleatseven.com/test/portfolio.php On Jan 31, 12:05 pm, Pickledegg [EMAIL PROTECTED] wrote: SEAN-O The above link is what I found too, but you're missing the original

[jQuery] Re: How to prevent user from clicking links or buttons while submitting

2008-01-31 Thread Klaus Hartl
First of all you should keep in mind that a user can always submit a form by hitting enter. Thus disabling the buttons only is more or less useless. You should just alter the forms submit event, this is where it all happens. That even works if you manually submit forms via links. Here's what I'd

[jQuery] Re: Fighting a closure

2008-01-31 Thread timothytoe
I ended up using this. I liked it much better than my previous solution (passing in this and then stripping the digit out in the handler). $.each( [0,1,2,3,4], function(index, num) { $(#port+num).click(function() { bigchart(num); }); }); This one is easy for me to read, comprehend, and

[jQuery] Re: Issue with next()/prev() traversal

2008-01-31 Thread besh
Oops! Mea culpa! next() and prev() gets only the very next/prev siblings. Next iteration (now tested ;)): $('#eventlist a.boldFont').nextAll('a:first').trigger('click'); $('#eventlist a.boldFont').prevAll('a:first').trigger('click'); -- Bohdan Ganicky On Jan 31, 7:42 pm, besh [EMAIL

[jQuery] Re: newbiish.. must be a better way than what I'm doing to find the next div after the following inputs?

2008-01-31 Thread rickcr
Thanks guys!, parents(div:first) did the trick. ( $(this).parent().nextAll('div:first') didn't seem work, which I'm assuming is because the immediate parent is the p tag for the input.) On Jan 31, 1:52 pm, Richard D. Worth [EMAIL PROTECTED] wrote: Another option is:

[jQuery] Re: jCarousel infinite loop problem w/ multiple carousels on display: none

2008-01-31 Thread Todd
I actually was able to figure out what the issue was. Since this error was happening on resize, I commented out $(window).bind('resize', function() { self.reload(); }); and for good measure, also commented out alert('jCarousel: No width/height set for items. This will cause an infinite loop.

[jQuery] Re: contents().height() in FF

2008-01-31 Thread Olaf Bosch
Sebioff schrieb: You can try it out yourself here: http://www.rakuun.de/Stuff/Schasler/content_height_test.html Any idea how to fix this or how to get the contents height in a way that works in both browsers? In your Demo this works for me in FF-Console: alert(Content height: + $(#pane1

[jQuery] absolute beginner! How to set page width to window width?

2008-01-31 Thread [EMAIL PROTECTED]
Hello :) Thanks for the multitude of helpful threads you people post! Before trying something gorgeous with jQuery, I thought I should try something basic - like setting the width of my #pagewrap div to the inner width of the user's window. I can't do it right! Please will you show me how to

[jQuery] Re: newbiish.. must be a better way than what I'm doing to find the next div after the following inputs?

2008-01-31 Thread Richard D. Worth
Hmm. It worked for me. I actually tested it. :) $(this).parent() selects the p tag. .nextAll() gets all the next elements (forward siblings), then the 'div:first' filter finds the first one that's a div. Oh well, Glen's solution is fine. - Richard On Jan 31, 2008 2:16 PM, rickcr [EMAIL

[jQuery] Re: Problem in creating Dynamic tables

2008-01-31 Thread Wizzud
So what is the problem exactly? What have you tried that didn't work, and in what way did it not work? On Jan 31, 4:11 am, Anand [EMAIL PROTECTED] wrote: John please help On Jan 30, 1:21 pm, Anand [EMAIL PROTECTED] wrote: Hi All, I am trying to create a dynamic table. It is to be

[jQuery] Re: Validation plugin - spinner while validating field?

2008-01-31 Thread Jörn Zaefferer
Rus Miller schrieb: Also, I noticed that even though the 'Check URL' field on my form (http://monovisiondesign.com/client/jquery/validate-url/form.php) is not required, it still performs a remote call and a label.checked is applied to the field when it's left empty. Am I doing something wrong

[jQuery] Re: Not Submit [validate]

2008-01-31 Thread Jörn Zaefferer
Marcos Aurélio schrieb: Thanks for the answer! I think you should put your validate / delegate / ajaxQueue in the same file. In my case, and the majority, only use these two plugins to run validate, and for this reason we have to include 3 files. Make a package, all built. Agreed. I've

  1   2   >