[jQuery] Re: know if a css stylesheet is load

2008-01-31 Thread Jeffrey Kretz
You can access it with document.styleSheets in most browsers. See http://www.quirksmode.org/dom/w3c_css.html For more details. JK _ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sebastianw wurtz Sent: Thursday, January 31, 2008 7:38 PM To: jquery-

[jQuery] malsup cycle plugin

2008-01-31 Thread kylebuttress
Hello, i'm using http://www.malsup.com/jquery/cycle/ plugin and trying to get the fit: 1 option to work. I assume that this complete functional and work with jquery 1.2.2 thanks

[jQuery] dimensions height/width bug

2008-01-31 Thread Eridius
http://brandonaaron.net/docs/dimensions/#sample-2 if you click on the run for height() or width() you will see the screen flicker(tested on FF) and I am getting that same error on my page and it only t=seems to happen for those 2 function(like offset which I am also using works fine. anyone kno

[jQuery] Re: Datepicker showon link click

2008-01-31 Thread pedalpete
Hi Roman, I thought clicking a link with datepicker was the default. I've got it working with this [ code] $('.date-pick').datePicker({clickInput:true}); [/code] class="date-pick is assigned to an input field that I have hidden with the css, so only the default text is shown. The default text

[jQuery] Re: know if a css stylesheet is load

2008-01-31 Thread sebastianw wurtz
yap im loading the css dynamically, and my problem is that i have the same css loaded more than one time. - Mensaje original De: Hamish Campbell <[EMAIL PROTECTED]> Para: jQuery (English) Enviado: viernes 1 de febrero de 2008, 0:10:13 Asunto: [jQuery] Re: know if a css stylesheet is loa

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

2008-01-31 Thread [EMAIL PROTECTED]
Thank you, Sam :) Unfortunately I can't work out how to use it I did find a plugin called autoscale that worked great, but threw an error in ie7. So I suppose my question is: How do I get the window width into the element style, using the dimensions plugin?? Sorry about this. I promise I'll

[jQuery] [validate] does maxLength(20) supported in textarea?

2008-01-31 Thread Jacky
I tried to do this But it doesn't work. So I guess it's not supported in textarea and I will need to add method? -- Best Regards, Jacky 網絡暴民 http://jacky.seezone.net

[jQuery] script tags not evaluated in $.ajax

2008-01-31 Thread Evan McLain
The documentation for $.ajax states that script tags are evaluated when doing an $.ajax call: http://docs.jquery.com/Ajax/jQuery.ajax#options dataType: "html": Returns HTML as plain text; included script tags are evaluated. However, that doesn't seem to be the case. My test case is below. I

[jQuery] Re: know if a css stylesheet is load

2008-01-31 Thread Hamish Campbell
You can check for the current css property value of an element - so, for example, you could set the background color of a hidden object and see check that value at run time. Are you loading css sheets dynamically? On Feb 1, 1:21 pm, Yahoo <[EMAIL PROTECTED]> wrote: > Theres any way with jquery t

[jQuery] Re: Is it possible to auto increment an appended value?

2008-01-31 Thread Gorkfu
How would I create a cap to put on the counter, so it doesn't go higher than 250? Thanks On Jan 28, 2:10 pm, Gorkfu <[EMAIL PROTECTED]> wrote: > Well the error had nothing to do with the javascript, I checked it in > the lint. The php was causing the problem... It seems to be an issue > with usin

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

2008-01-31 Thread [EMAIL PROTECTED]
You're right of course, Chris. I wanted to practise jQuery by getting the layout to do some clever stuff ... once I've mastered the VERY basics! Thank you :) On Jan 31, 10:37 pm, chrismarx <[EMAIL PROTECTED]> wrote: > just set your div width and height to 100%

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

2008-01-31 Thread [EMAIL PROTECTED]
Thank you, Hamish! That doesn't use any plugin, does it? Problem, though ... ie7's hiding all my text!! Can you see what's wrong? http://client-2.co.uk On Jan 31, 10:13 pm, Hamish Campbell <[EMAIL PROTECTED]> wrote: > $(document).ready(function(){ >$(window).resize(function(){ > $('#pa

[jQuery] Re: Interface Plugin for Jquery

2008-01-31 Thread Charles K. Clarkson
[EMAIL PROTECTED] wrote: : I start getting errors in my firefoy error console. : Can someone please tell how can i solve this problem . What errors are you getting? HTH, Charles K. Clarkson -- Mobile Homes Specialist Free Market Advocate Web Programmer 254 968-8328 http://www.clarkso

[jQuery] Validation plugin -- need help attaching 'pending' label and one other issue

2008-01-31 Thread Rus Miller
I apologize for the double post. This subject line is a little more specific. I'm trying to do two things that seem as if they should be very simple (for somebody who has a little more experience than me, that is): 1. Attach a pending label to a currently validating field, like the error and ch

[jQuery] Re: Superfish feature request

2008-01-31 Thread Joel Birch
Karl, I'm honoured that you are getting some use out of Superfish. I didn't want to give you more work so I just gave the horizontal stuff a shot and I can't get it right. I just can't get my head around all these similar sounding measurements! Would you be so kind...? O:) Here's where I got t

[jQuery] tablesorter problem with datetime

2008-01-31 Thread Will Arp
descending sort of a column with datetime values results in: 31-Jan-2008/9:42:08 31-Jan-2008/13:15:35 should be: 31-Jan-2008/13:15:35 31-Jan-2008/9:42:08 thank you! -will

[jQuery] Re: Interface Plugin for Jquery

2008-01-31 Thread Joel Birch
Hi Rodolfo, Interface is no longer supported. I think you need to use the newer UI library instead nowadays. Joel BIrch.

[jQuery] Re: Superfish feature request

2008-01-31 Thread Karl Swedberg
On Jan 31, 2008, at 8:50 PM, Joel Birch wrote: Hi Karl, Once again you have come through with the goods! I blindly pasted in your code (all these dimension calculations fry my brain) and it's working perfectly with regard to positioning. All hail King Karl [...we're not worthy...] LOL. You

[jQuery] Re: Return False Failing In IE6

2008-01-31 Thread Joel Birch
It's probably because console.log is a Firebug-only thing so IE spits the dummy and doesn't read the rest of the function which contains the return false. Remove the console.log and it should work. Joel Birch.

[jQuery] Re: Superfish Help Required

2008-01-31 Thread Joel Birch
Doh, just as I clicked send I realised you wanted the solution for when JS was *not* available. I guess you could use display:none/display:block in your CSS along side the necessary 'top' values, and then use the callbacks as shown above, but with opposite effects. This way, when JS is available,

[jQuery] Re: Superfish Help Required

2008-01-31 Thread Joel Birch
Hmmm, a fix? I think of it as a feature actually, as the links have more chance of remaining accessible to screen-readers and the like if you don't use display:none. Untested by me, but it's a common theory. You could try attaching your display:none/display:block to the onHide and onBeforeShow c

[jQuery] Re: Superfish feature request

2008-01-31 Thread Joel Birch
Hi Karl, Once again you have come through with the goods! I blindly pasted in your code (all these dimension calculations fry my brain) and it's working perfectly with regard to positioning. All hail King Karl [...we're not worthy...] All we (Jesse and I, that is - I'm not hinting for Karl to do

[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

[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
On Jan 31, 4:57 pm, "Richard D. Worth" <[EMAIL PROTECTED]> wrote: > Hmm. It worked for me. I actually tested it. :) $(this).parent() selects the > 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 > sol

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

2008-01-31 Thread [EMAIL PROTECTED]
Ignore me, I found this: http://plugins.jquery.com/project/autoscale :D Next, how to limit the maximum size? I know I've seen a post on that in here I'm going to like jQuery :) On Jan 31, 8:48 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > setting the width of my #pagewrap div to the

[jQuery] [validate] Merging min/max to range reduces usability

2008-01-31 Thread Blair McBride
>From the Validation Plugin v1.2 changelog: * Added feature to merge min + max into and range and minlength + maxlength into rangelength While a great idea, this unfortunately means its impossible to have separate error messages if needed. Personally, I prefer to use separate error messages whe

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

2008-01-31 Thread chrismarx
im not sure you really need jquery for this, or at least not much. just set your div width and height to 100% $("yourDiv").css({width:"100%",height:"100%"}); On Jan 31, 3:48 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hello :) > > Thanks for the multitude of helpful threads you people p

[jQuery] Interface Plugin for Jquery

2008-01-31 Thread [EMAIL PROTECTED]
Hello everyone, my name is Rodolfo and i am a student at the dresden university of technology (Germany) could someone please tell me how do i make this plugin to work correctly i have downloaded the hole source and I linked it to my html archive: but when i execute an animation or just do som

[jQuery] Return false on a link in IE

2008-01-31 Thread HappyCamper
Return false seems to work on buttons but not links in IE. Is this a known bug? Am I just noobin out here? What can I do to work around it?

[jQuery] Re: getScript making multiple calls

2008-01-31 Thread pedalpete
This is awesome Feed, I was having the exact same problem. The reason why it loads multiple times (it seems to me) is that jquery is appending the new objects to the previous list it holds when the function is run. Not sure if this is a jquery error, or just the way things are supposed to be. Ho

[jQuery] Return False Failing In IE6

2008-01-31 Thread HappyCamper
$("#addedRules").append('remove'); $('.removeRule').click(function(){ $(this).parent().remove(); console.log('removed rule'); return false; }); In IE6 the rule is removed, but the link isn't disabled. Any ideas?

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

2008-01-31 Thread Hamish Campbell
$(document).ready(function(){ $(window).resize(function(){ $('#pagewrap').width($(window).width()); }); }); The margin and padding of the body needs to be set to 0 for this to work properly. Note that as soon as you start adding borders to #pagewrap you're going to get problems. Also

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

2008-01-31 Thread Sebioff
Uh, allright, I'm sorry...I guess I found a solution. The trick is to wrap the content in a span, and then retrieve the spans height. But still, I guess if contents().height() (which sounds so logical to retrieve the contents height, don't you think) works in Internet Explorer it should work in Fi

[jQuery] Re: Fighting a closure

2008-01-31 Thread Charles K. Clarkson
timothytoe wrote: : This next one is obviously a work of JavaScript art (as opposed to the : former, which is a more jQuery solution). Actually, it's very jQuery-ish. We can use a similar form to add custom methods to the jQuery object. : Does anyone want to explain it? : : for ( i=0;i<

[jQuery] Re: Validate 1.2 Questions

2008-01-31 Thread Jörn Zaefferer
Priest, James (NIH/NIEHS) [C] schrieb: [...] (2) How do you indicate dependencies within the markup, as opposed to within the plugin call? In other words, if I have a group of radio buttons, and a text input that is only required if a certain radio button is checked, can I add something to the

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

2008-01-31 Thread Jörn Zaefferer
Scott González schrieb: 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. 1.2.1 will include email validation that requires the tld, providing the

[jQuery] [Validation] One request and one issue...please help?

2008-01-31 Thread Rus Miller
I'm trying to do two things that seem as if they should be very simple (for somebody who has a little more experience than me, that is): 1. Attach a pending label to a currently validating field, like the error and checked labels 2. Prevent validation on a field with validation rule, but which is

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

2008-01-31 Thread Sam Sherlock
have a look at http://brandonaaron.net/docs/dimensions/ On 31/01/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > 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 sett

[jQuery] know if a css stylesheet is load

2008-01-31 Thread Yahoo
Theres any way with jquery to know if a stylesheet is loaded? ex. style_exist("min_size")

[jQuery] Re: Fighting a closure

2008-01-31 Thread timothytoe
Ah, that makes sense. Thanks. On Jan 31, 4:04 pm, Danny <[EMAIL PROTECTED]> wrote: > Depends on what you're trying to do. In your case, the index and the > value are identical, but next time they may not be: > $.each( ['a','b','c'], function (index, val){ > // index is 0...1...2, val is 'a'...'

[jQuery] Re: Fighting a closure

2008-01-31 Thread Danny
Depends on what you're trying to do. In your case, the index and the value are identical, but next time they may not be: $.each( ['a','b','c'], function (index, val){ // index is 0...1...2, val is 'a'...'b'...'c' }); On Jan 31, 3:40 pm, timothytoe <[EMAIL PROTECTED]> wrote: > $.each( [0,1,2,3,4

[jQuery] Re: [validate] Validation Plugin - how to remove a control form validation

2008-01-31 Thread Jörn Zaefferer
Dave Stewart schrieb: [...] I hope you have enough information now to help me out! Yep, great! I put in on my list for 1.2.1, most likely adding it as an example as it is an interesting issue. Ping me again if you don't hear anything in the next days. Jörn

[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 alre

[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 o

[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 i

[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 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 PROTECTED]

[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] Re: Fighting a closure

2008-01-31 Thread timothytoe
$.each( [0,1,2,3,4], function(index, num) { $("#port"+num).click(function() { bigchart(num); }); }); Wait. What's the "index" in there for. I don't need that, do I? Seems to work fine without it. I'll assume that was a leftover from a previous idea.

[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 do

[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. A

[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 tag for the input.) On Jan 31, 1:52 pm, "Richard D. Worth" <[EMAIL PROTECTED]> wrote: > Another option is: > > $(this).parent

[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 PROTECTED

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

2008-01-31 Thread Sebioff
Hi, i've got a div with overflow:auto. I want to check whether the content of the div is higher than the div itself (in order to know whether I need to show a "scroll down" link or not). In Internet Explorer with jQuery 1.2.2. I can get the contents height without any problem with: $("#div").cont

[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 m

[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: 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 origi

[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

[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 = ancho

[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 fo

[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 wrote

[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

[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

[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? Tha

[jQuery] Re: Announce: jQuery Tablesorter 2.0.1 Released

2008-01-31 Thread garivin
Any news about multiple tags in a ? 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] 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] 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).has

[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 var global = this; $(document).ready(function() { var onClickAttr = $('#clickTester').attr('onclick'); $('#clickTester').removeAttr('onclick'

[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: 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] 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("extern

[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 after any of the radio inputs is click

[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 service

[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 : var windowHeight = $w.height(), offsetTop = $u.offset().top,

[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 chec

[jQuery] Re: Fighting a closure

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

[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) H

[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 doesn'

[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] 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 imple

[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") || $ (this).h

[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 y

[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 u

[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

[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(){ > > ale

[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 after any of the radio inputs is clicked so that if I have... Blue Green Red Stuff $(":[EMAIL PRO

[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

[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 : http://3c-commu

[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: One Two Three<-- Four Five<-- Six Problem: I have to access the anchor

[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

[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 er

[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 han

[jQuery] Re: Appending/prepending image source attribute

2008-01-31 Thread Danny
I think you would want to append just the ampersands, not '&' 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] 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 do

[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', '/umbra

[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: Loadin

[jQuery] jqModal overlaying other 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 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 (f

[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 ne

  1   2   >