[jQuery] Re: Cycle plugin an absolute positioning

2009-01-24 Thread illuminati78
I'm sorry but where would i put the: $.noConflict() - and is that all it has to say/type where it should be? - as i said I'm not good at this, in wich script and where? -- View this message in context: http://www.nabble.com/Cycle-plugin-an-absolute-positioning-tp16039437s27240p21638390.html

[jQuery] Re: Cycle plugin an absolute positioning

2009-01-24 Thread illuminati78
illuminati78 wrote: I'm sorry but where would i put the: $.noConflict() - and is that all it has to say/type where it should be? - as i said I'm not good at this, in wich script and where? I've put this script in the top after all other scripts have loaded: script

[jQuery] Re: id question

2009-01-24 Thread gvangass
if i use the code: alert($('#id\\{0\\}___').val()); the alert box shows a value of: undefined On Jan 24, 12:24 am, jay jay.ab...@gmail.com wrote: based on this wouldn't the syntax be alert($('#id\\{0\\}___').val ()); ? On Jan 23, 5:19 pm, Mauricio \(Maujor\) Samy Silva css.mau...@gmail.com

[jQuery] Re: SVN for SuperFish?

2009-01-24 Thread Joel Birch
Sorry for missing your question Mike. Unfortunately there is no SVN repository at this time. Joel.

[jQuery] Re: id question

2009-01-24 Thread Mauricio (Maujor) Samy Silva
Use the attr() sintax to retrieve an id value: alert( $('#id\\{0\\}\\___').attr('id')); Maurício -Mensagem Original- De: gvangass gvang...@gmail.com Para: jQuery (English) jquery-en@googlegroups.com Enviada em: sábado, 24 de janeiro de 2009 07:23 Assunto: [jQuery] Re: id question

[jQuery] AJAX data in IE

2009-01-24 Thread Charlie22
hi crew, as ususally I have strange problem..take a look to code: $(function(){ $('.tablesorter').tablesorter({widgets: ['zebra']}); $('#subMenu a').click(function(){ var trida = $(this).attr('href'); console.log(trida); $('#content*').remove();

[jQuery] strip tag leaving its content

2009-01-24 Thread BrainBurner
Hello, I'm writing an effect, which has to build a span around my element, but when my effect is finished I wanted to strip this span tag, in order to leave the situation as it was before.. How can I strip a tag?? Is there something like: $(this).parent().strip(); ??? Thanks!

[jQuery] [validate] dynamic message

2009-01-24 Thread thomas
Hello group! Very happy to have deployed validation plugin ( I mostly need to check validity of EAN/UPC numbers for barcode generation). You can see it in action here: http://www.barcoderobot.com/ean-13.html The question I am struggling with though is howto return a 'dynamically generated'

[jQuery] Problem when using JQuery UI Tabs 3

2009-01-24 Thread f22raptorfire
I am using the JQuery UI Tabs 3 with embedded Flash videos and when you move between tabs the video from the previously viewed tab continues to play after you click on a new tab. This problem is browser specific and only occurs in IE. It works as expected in Firefox and Chrome. I appreciate

[jQuery] Odd dialog bug

2009-01-24 Thread Kostrowsky
Hi, Just want to report an odd bug, using the UI dialog widget, in IE7 only: How I create the dialog: ++ $('#' + popupId).dialog({ autoOpen: true, resizable : false, bgiframe :

[jQuery] Cycle Plugin - Dynamically loading the effect

2009-01-24 Thread Turtle3027
I am using the Cycle Plugin and would like to dynamically load the effect via a drop down menu. What is the proper syntax to pass the variable into the script? $(function() { $('#s1').cycle({ fx: 'scrollDown', easing: 'easeOutBounce', delay: -2000 }); });

[jQuery] Rico Compatibility issue

2009-01-24 Thread Andrew Strickland
I've seen issues similar to what I ran into posted elsewhere in this group, however, not the same solution I came up with. Recently I have been pushing very hard to convert my company's site from using a multitude of outdated libraries (Prototype, Rico, YUI) to using just jQuery. Interestingly, I

[jQuery] Re: Cycle plugin an absolute positioning

2009-01-24 Thread Mike Alsup
I'm sorry but where would i put the: $.noConflict() - and is that all it has to say/type where it should be? - as i said I'm not good at this, in wich script and where? In your case your custom jQuery code is all in an external script, slideshow.js. In that file you can simply replace all

[jQuery] Re: Cycle Plugin - Dynamically loading the effect

2009-01-24 Thread Mike Alsup
I am using the Cycle Plugin and would like to dynamically load the effect via a drop down menu. What is the proper syntax to pass the variable into the script? $(function() {     $('#s1').cycle({     fx:     'scrollDown',     easing: 'easeOutBounce',     delay:  -2000 }); });

[jQuery] Re: AJAX data in IE

2009-01-24 Thread Mike Alsup
$(function(){         $('.tablesorter').tablesorter({widgets: ['zebra']});         $('#subMenu a').click(function(){         var trida = $(this).attr('href');         console.log(trida);         $('#content*').remove();                 $.ajax({                         url: 'pilots.php',  

[jQuery] Re: Odd dialog bug

2009-01-24 Thread Mike Alsup
$('#' + popupId).dialog({                                 autoOpen:               true,                                 resizable :     false,                                 bgiframe :              true,                                 position :              [pos['x'], pos['y']],          

[jQuery] Re: strip tag leaving its content

2009-01-24 Thread Stephan Veigl
try: var wrap = $(#wrap); // your span or other wrapper element wrap.children().insertBefore(wrap); // insert children before wrapper element, insertAfter() inverses children order wrap.remove(); // remove wrapper element by(e) Stephan 2009/1/24 BrainBurner brainbur...@gmail.com: Hello,

[jQuery] Re: strip tag leaving its content

2009-01-24 Thread Mike Alsup
I'm writing an effect, which has to build a span around my element, but when my effect is finished I wanted to strip this span tag, in order to leave the situation as it was before.. How can I strip a tag?? Is there something like: $(this).parent().strip(); ??? In your example is 'this'

[jQuery] bind eventhandler after animation finished

2009-01-24 Thread maggus.st...@googlemail.com
hi everyone, what i want to accomplish in general: i have a text field which has a filename as the value. when hovering the field, a div should slide in from the bottom of the field and show a preview of this image. currently i'm using the following jquery-code: function rexShowMediaPreview()

[jQuery] Re: Cycle plugin an absolute positioning

2009-01-24 Thread illuminati78
malsup wrote: I'm sorry but where would i put the: $.noConflict() - and is that all it has to say/type where it should be? - as i said I'm not good at this, in wich script and where? In your case your custom jQuery code is all in an external script, slideshow.js. In that file

[jQuery] Re: Weird Hiding Issue

2009-01-24 Thread david.vansc...@gmail.com
Yeah, I figured it was probably something along those lines. So what would be the best way to hide all but the first element of a DIV? David On Jan 23, 11:12 pm, Karl Swedberg k...@englishrules.com wrote: Hi David, I suspect the unordered lists aren't being hidden because the browser  

[jQuery] Re: Cycle plugin an absolute positioning

2009-01-24 Thread illuminati78
illuminati78 wrote: malsup wrote: I'm sorry but where would i put the: $.noConflict() - and is that all it has to say/type where it should be? - as i said I'm not good at this, in wich script and where? In your case your custom jQuery code is all in an external script,

[jQuery] Re: AJAX data in IE

2009-01-24 Thread Charlie22
thx for tip, but no success. Try to check this page.. http://83.240.47.84/skyrace22/pilots.php works everywhere, only IE failed.. On 24 Led, 13:38, Mike Alsup mal...@gmail.com wrote: $(function(){         $('.tablesorter').tablesorter({widgets: ['zebra']});         $('#subMenu

[jQuery] Re: AJAX data in IE

2009-01-24 Thread Charlie22
sry it didnt work, because console.log there.. On 24 Led, 14:12, Charlie22 ch...@post.cz wrote: thx for tip, but no success. Try to check this page..http://83.240.47.84/skyrace22/pilots.php works everywhere, only IE failed.. On 24 Led, 13:38, Mike Alsup mal...@gmail.com wrote:

[jQuery] Re: strip tag leaving its content

2009-01-24 Thread Stephan Veigl
This solution is easier one if the parent element has only one element - the span, if the parent element hase more spans (or other elements) parent.html() would overwrite all elements and replace them with the content of the child. The performace might also be an issue, however I have no idea

[jQuery] Loop through array with animating each element

2009-01-24 Thread realin
Hi Guys, Is there a way to loop through an array while i insert the elements into a div and animate it. THe scenario is like i want a slide show of text inside a div. So the div with id tweet gets update with array elements after 5 secs. This is waht i come up with, i know it may be a total

[jQuery] Re: bind eventhandler after animation finished

2009-01-24 Thread Stephan Veigl
First of all, slideUp(speed, callback) and slideDown(speed, callback) have callback functions which are called once the animation is finished. (see http://docs.jquery.com/Effects/slideDown#speedcallback - examples) But I'm not sure if this really solves your problem. If you bind the mouseleave

[jQuery] Re: strip tag leaving its content

2009-01-24 Thread BrainBurner
Thanks Stephan, your solutions works very well! I also thought, that rewrtiting the whole html of the container could overwrite other elements, but it is also a very original idea! Thank you both! On Jan 24, 2:22 pm, Stephan Veigl stephan.ve...@gmail.com wrote: This solution is easier one if

[jQuery] Re: Recursion issue with nested lists.

2009-01-24 Thread Karl Swedberg
Oh, rats. Sorry about that, Rob. On both counts. Yeah, meant to reply to the OP. And I inadvertently posted links to my local virtual host. Not the first time I've made that boneheaded mistake. Here are the real links: http://plugins.learningjquery.com/textchildren/

[jQuery] Re: Weird Hiding Issue

2009-01-24 Thread Stephan Veigl
suppose you have a jQuery element called: div div.children(:not(:first)).hide(); will hide every immediate child of the div, except the first one by(e) Stephan 2009/1/24 david.vansc...@gmail.com david.vansc...@gmail.com: Yeah, I figured it was probably something along those lines.

[jQuery] Re: AJAX data in IE

2009-01-24 Thread jay
When I click any of the links I get jQuery undefined script error line 119 in IE On Jan 24, 8:20 am, Charlie22 ch...@post.cz wrote: sry it didnt work, because console.log there.. On 24 Led, 14:12, Charlie22 ch...@post.cz wrote: thx for tip, but no success. Try to check this

[jQuery] Re: Odd dialog bug

2009-01-24 Thread jay
I've used negative values on IE7 before.. Is a different DOCTYPE possible? On Jan 24, 7:42 am, Mike Alsup mal...@gmail.com wrote: $('#' + popupId).dialog({                                 autoOpen:               true,                                 resizable :     false,                

[jQuery] Re: AJAX data in IE

2009-01-24 Thread Charlie22
I was testing there something, now it works, but I have problem if I load this workuing page as content to any DIV to other page, it cause error after click to links from loaded page. You can check: http://83.240.47.84/skyrace22/pilots.php //working page http://83.240.47.84/skyrace22/test.php

[jQuery] Re: Scale effect and hover

2009-01-24 Thread -=AmBaRaDaN=-
Wonderful Mike, that's what i was looking for! Thanks too Jay and Mauricio, but i was looking for something more scalable, for tons of thumbnails, with centered position scale! Anyway, is there a way to execute just one time a function within the hover event? (and no repeated multiple times

[jQuery] Re: Scale effect and hover

2009-01-24 Thread jay
One way would be to create a boolean property on the rollover object, which starts as true, and if this value is true, execute your function and then set the property to false within the function. On Jan 24, 9:12 am, -=AmBaRaDaN=- gandi.ma...@gmail.com wrote: Wonderful Mike, that's what i was

[jQuery] Re: AJAX data in IE

2009-01-24 Thread Rick Faircloth
I had a problem running some ajax code in IE and I believe the problem turned out to be having the console.log(); code in there. Try commenting that out and see if it runs ok in IE. Rick -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On

[jQuery] Re: AJAX data in IE

2009-01-24 Thread Charlie22
in last links is console.log commented...it doesnt solve main problem. On 24 Led, 15:18, Rick Faircloth r...@whitestonemedia.com wrote: I had a problem running some ajax code in IE and I believe the problem turned out to be having the console.log(); code in there. Try commenting that out

[jQuery] Re: Weird Hiding Issue

2009-01-24 Thread Karl Swedberg
On Jan 24, 2009, at 8:02 AM, david.vansc...@gmail.com wrote: Yeah, I figured it was probably something along those lines. So what would be the best way to hide all but the first element of a DIV? I'm not sure what you mean by hide all but the first element of a DIV. If you mean, hide all

[jQuery] SlideUp/slideDown problem with jQuery 1.3.1

2009-01-24 Thread Tony
Hello, Maybe this is a bug. To demostrate the problem here is the example code: div id=mydiv style=overflow-x:auto;overflow-y:hidden;width: 50px;height:50px; Put some data here so that we have horizontal scrollbar /div When we apply slideUp and then slideDown to the div element the overflow-x

[jQuery] position of draggable div

2009-01-24 Thread merihsaka...@yahoo.com
Hi all, I want to ask How can I get the position (x,y) of draggable div. I am using jquery-1.2.6.js ui.draggable.js (jQuery UI Draggable 1.6rc4) ui.core.js (jQuery UI 1.6rc4) thank you

[jQuery] Callback function not working

2009-01-24 Thread Althalos
Hello, I have a callback function belonging to a $.post that won't work. Anyone know why? This is my function: function(date) { $(#date_+$(this).attr(id)).html(Updating..); $.post(includes/updateleverans.php,{id:$(this).attr(id), date:date}, function (data) {

[jQuery] remove()

2009-01-24 Thread Charlie22
I have question how easy remove content from DIV, e.g. div id='test'test text/div I thought that code $('#test').remove() managed it, but it doesnt true. Thx in advance.

[jQuery] Re: Callback function not working

2009-01-24 Thread Althalos
and also $(#date_+$(this).attr(id)).html(Updating..); works fine! On 24 Jan, 16:39, Althalos ca...@ekdahlproduction.com wrote: Hello, I have a callback function belonging to a $.post that won't work. Anyone know why? This is my function: function(date) {    

[jQuery] Re: remove()

2009-01-24 Thread brian
$('#test').text('') or $('#test').html('') might be what you want. On Sat, Jan 24, 2009 at 11:22 AM, Charlie22 ch...@post.cz wrote: I have question how easy remove content from DIV, e.g. div id='test'test text/div I thought that code $('#test').remove() managed it, but it doesnt true. Thx

[jQuery] How do I show the label text in an input

2009-01-24 Thread osu
Hi, Apologies for this noob question, but I really need help and I have tried numerous techniques to get this right. A client has asked me to create an accessible form that has text describing what to put in the input area shown within the input. However, they don't want a label above it. To

[jQuery] Div height

2009-01-24 Thread Ant
In IE7, if a div height in not specified, the div fails to show. I got around this with: height = $('#container').height(); //Create grey gradient from top left $('#container').gradientz({ angle: 45,

[jQuery] adding cluetip + ajax to an existing calendar.

2009-01-24 Thread ajcrox
Hi. I've inherited an existing calendar which is a goog old fashioned table of hyperlinks built in a .net user control. My boss has asked me to makes some mods to it and I've added cluetip with the following code: jQuery(document).ready(function() { jQuery('a.popup').cluetip({

[jQuery] Re: id question

2009-01-24 Thread brian
Better yet, don't use such characters for IDs and get on with life. On Sat, Jan 24, 2009 at 5:05 AM, Mauricio (Maujor) Samy Silva css.mau...@gmail.com wrote: Use the attr() sintax to retrieve an id value: alert( $('#id\\{0\\}\\___').attr('id')); Maurício -Mensagem Original- De:

[jQuery] Re: remove()

2009-01-24 Thread Charlie22
Thx, but I need leave DIV tag on the place..I thought $ ('#test*').remove(), but no success. On 24 Led, 17:54, brian bally.z...@gmail.com wrote: $('#test').text('') or $('#test').html('') might be what you want. On Sat, Jan 24, 2009 at 11:22 AM, Charlie22 ch...@post.cz wrote: I have

[jQuery] Variable Flag Problems

2009-01-24 Thread omtay38
I know I'll hit myself for not figuring this one out but its driving me crazy! --- Function --- User mouses over an item in navigation menu and secondary nav-menu slides down. the variable downYet prevents other secondary nav menus from sliding downbut id doesn't --- Code ---

[jQuery] Re: remove()

2009-01-24 Thread brian
remove() should be used if you want to remove the div from the DOM. To empty its contents, just use text() or html(), which will replce the content of the div. On Sat, Jan 24, 2009 at 12:05 PM, Charlie22 ch...@post.cz wrote: Thx, but I need leave DIV tag on the place..I thought $

[jQuery] AJAX External content doesnt work properly

2009-01-24 Thread Charlie22
Hi all, I have problem with page, where I am loading external page into DIV. This page is working, but after AJAX upload anchors doesnt work.Scripts are in source code of pages htt://83.240.47.84/skyrace22/pilots.php //working page htt://83.240.47.84/skyrace22/test.php //problem after

[jQuery] Re: id question

2009-01-24 Thread Mauricio (Maujor) Samy Silva
Brian, Weird charaters in ID values are often auto generated by some CMS, so there is no way to avoid them. Maurício -Mensagem Original- De: brian bally.z...@gmail.com Para: jquery-en@googlegroups.com Enviada em: sábado, 24 de janeiro de 2009 15:04 Assunto: [jQuery] Re: id question

[jQuery] Re: id question

2009-01-24 Thread brian
Use a different CMS? On Sat, Jan 24, 2009 at 12:19 PM, Mauricio (Maujor) Samy Silva css.mau...@gmail.com wrote: Brian, Weird charaters in ID values are often auto generated by some CMS, so there is no way to avoid them. Maurício -Mensagem Original- De: brian bally.z...@gmail.com

[jQuery] Re: How do I show the label text in an input

2009-01-24 Thread Klaus Hartl
I assume you use the for attribute to associate labels with their inputs. Try (of course you need to adapt the selector probably): $('label').each(function() { $('#' + this.htmlFor).val( $(this).text() ); }); --Klaus osu schrieb: Hi, Apologies for this noob question, but I really need

[jQuery] Re: remove()

2009-01-24 Thread Charlie22
ah so, I got it now, thx for help, it works. I had there .romeve() in addition. Now its correct! On 24 Led, 18:18, brian bally.z...@gmail.com wrote: remove() should be used if you want to remove the div from the DOM. To empty its contents, just use text() or html(), which will replce the

[jQuery] Re: remove()

2009-01-24 Thread Rick Faircloth
This didn't work for me... $('#test').text().remove(); with this HTML: div id=test style=width:200px; height:100px; border:1px solid black;test test/div However, with this jQuery: $('#test p:contains()').remove(); and this HTML: div id=test style=width:200px; height:100px; border:1px

[jQuery] Re: AJAX External content doesnt work properly

2009-01-24 Thread Rick Faircloth
Charlie, are you saying that your links don't work after an AJAX request places new HTML in your DOM? (in the page?) Rick -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Charlie22 Sent: Saturday, January 24, 2009 12:19 PM To:

[jQuery] Re: Bug? ajax request headers not being modified by beforeSend (jquery 1.3.1)

2009-01-24 Thread Nicolas R
Hi Mike, Unfortunately no I can't post a link, the site is private and contains lots of sensitive user data. I observe request using FF's firebug. As I said, using GET will change the content-type to whatever I specify. When using POST, the content- type may change but the charset part will

[jQuery] Re: bind eventhandler after animation finished

2009-01-24 Thread maggus.st...@googlemail.com
hi stephan, ahh ok, thx for pointing to the callbacks... soo if i can't solve the problem this way how to handle it? thank you, markus On 24 Jan., 14:32, Stephan Veigl stephan.ve...@gmail.com wrote: First of all, slideUp(speed, callback) and slideDown(speed, callback) have callback

[jQuery] Re: AJAX External content doesnt work properly

2009-01-24 Thread Charlie22
sry for incorrect links: http://83.240.47.84/skyrace22/pilots.php //working page http://83.240.47.84/skyrace22/test.php //problem after loading into AJAX is loading content correctly, but anchors in loaded file doesnt work in the same way as in original document. Isnt posssible adding

[jQuery] Re: Variable Flag Problems

2009-01-24 Thread omtay38
Never mind. I got it. (And did hit myself in the head) On Jan 24, 11:12 am, omtay38 omta...@gmail.com wrote: I know I'll hit myself for not figuring this one out but its driving me crazy! --- Function --- User mouses over an item in navigation menu and secondary nav-menu slides down. the

[jQuery] Re: Div height

2009-01-24 Thread donb
That sounds like the 'div float' situation - where the container div doesn't enclose it's floated content without some un-floated element following the floated elements: div div style='float: left;'obladi/div div style='float: left;'oblida/div div style='clear:left;'life goes on/div /div On Jan

[jQuery] Re: remove()

2009-01-24 Thread donb
$('#test').text() The .remove() is to remove a DOM node. To preserve the node but empty it, set it to an empty string. You have to supply an argument () or else the behavior becomes 'return the text within the node.' On Jan 24, 12:28 pm, Rick Faircloth r...@whitestonemedia.com wrote: This

[jQuery] Re: strip tag leaving its content

2009-01-24 Thread Ricardo Tomasi
If you want to preserve other elements in the same parent, just change html() to append/prepend: $(this).parent().append( $(this).remove().html() ); On Jan 24, 11:33 am, BrainBurner brainbur...@gmail.com wrote: Thanks Stephan, your solutions works very well! I also thought, that rewrtiting

[jQuery] Re: Odd dialog bug

2009-01-24 Thread Kostrowsky
Tried a few Doctypes, to no avail. Thanks for the suggestion. I'm fine with negative values, but in the line in question, it's the property minHeight that is set to either -47px or -23px. Quite a minHeight! It seems to me the UI framework has some difficulty calculating the actual height of

[jQuery] Would someone pleae tell me what's wrong with this syntax?

2009-01-24 Thread Rick Faircloth
Hi, all... I keep getting this error from Firebug: syntax error .trigger('change'); \n for this code: $(document.ready(function() { $('#select').change(function() { var newName =

[jQuery] Re: remove()

2009-01-24 Thread Rick Faircloth
Ahhh...thanks! -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of donb Sent: Saturday, January 24, 2009 1:02 PM To: jQuery (English) Subject: [jQuery] Re: remove() $('#test').text() The .remove() is to remove a DOM node.

[jQuery] Re: Would someone pleae tell me what's wrong with this syntax?

2009-01-24 Thread Charlie Griefer
count your opening parentheses versus closing parentheses. On Sat, Jan 24, 2009 at 10:32 AM, Rick Faircloth r...@whitestonemedia.comwrote: Hi, all... I keep getting this error from Firebug: syntax error .trigger('change'); \n for this code: $(document.ready(function() {

[jQuery] Re: AJAX External content doesnt work properly

2009-01-24 Thread Rick Faircloth
Sounds like this may be a situation where you need to use the plug-in LiveQuery. It re-activates new links added to the DOM. http://brandonaaron.net/docs/livequery/ Go to the link above and get the plug-in and check out the usage instructions. In jQuery 1.3, you can just use .live , but that

[jQuery] Re: Loop through array with animating each element

2009-01-24 Thread Ricardo Tomasi
All you need to do is increase the time for each value: $(document).ready(function(){ var words = ['one', 'two', 'three', 'four', 'five']; $.each(words,function(index,val){ setTimeout(function(){ $('#tweet').slideUp(function(){ $(this).text( val

[jQuery] Re: remove()

2009-01-24 Thread Ricardo Tomasi
$('#test').empty() (it actually calls $('#test').html('')) http://docs.jquery.com/Manipulation/empty On Jan 24, 3:28 pm, Rick Faircloth r...@whitestonemedia.com wrote: This didn't work for me... $('#test').text().remove(); with this HTML: div id=test style=width:200px; height:100px;

[jQuery] Re: remove()

2009-01-24 Thread Charlie22
cool! empty() is that, what I needed. Thank you very much. On 24 Led, 19:54, Ricardo Tomasi ricardob...@gmail.com wrote: $('#test').empty() (it actually calls $('#test').html('')) http://docs.jquery.com/Manipulation/empty On Jan 24, 3:28 pm, Rick Faircloth r...@whitestonemedia.com wrote:

[jQuery] [validate] Errors are not clearing in my Validate jQuery

2009-01-24 Thread sebastian
Here's the code. $(#createEvent).validate({ rules: { title: { lettersonly: true, required: true } }, messages: {

[jQuery] how to hide content while page loads

2009-01-24 Thread Michael
Hi, Jquery newbie. I have a nifty accordion working. Only problem is while the page is loading, or refreshing, the first of the accordion sections flashes open. Not a big deal, but looks tacky, Any fix? thanks, here's the site: http://orcasissues.com/

[jQuery] jquery and livequery with ajaxform --please help

2009-01-24 Thread Munish Joshi
My template/parent JSP has the following JQuery code in head secion script language=javascript type=text/javascript var j = jQuery.noConflict(); j(document).ready(function(){ j('.queueForms').livequery(function(){ var options = { url:

[jQuery] Jquery and livequery --- urgent help

2009-01-24 Thread Munish Joshi
My template/parent JSP has the following JQuery code in head secion script language=javascript type=text/javascript var j = jQuery.noConflict(); j(document).ready(function(){ j('.queueForms').livequery(function(){ var options = {

[jQuery] [validate] Errors are not clearing in my Validate jQuery code.

2009-01-24 Thread sebastian
Here's the code. $(#createEvent).validate({ rules: { title: { lettersonly: true, required: true } }, messages: {

[jQuery] Re: Odd dialog bug

2009-01-24 Thread Richard D. Worth
Are you testing the latest preview release of jQuery UI, 1.6rc5, with jQuery 1.3? If so, and the issue is present there, please enter a ticket here http://ui.jquery.com/bugs/newticket (note: requires registration) Also note, there is a jQuery UI mailing list:

[jQuery] Re: Odd dialog bug

2009-01-24 Thread François
2009/1/24 Richard D. Worth rdwo...@gmail.com Are you testing the latest preview release of jQuery UI, 1.6rc5, with jQuery 1.3? I am. Notwithstanding this difficulty, I'm very pleased with jQuery. An excellent framework. If so, and the issue is present there, please enter a ticket here

[jQuery] Re: Slide Toggle Question

2009-01-24 Thread Christian
I wasn't sure whether you could post code in here, but here is what I have for the slideToggle code src=http://www.usm.edu/music/scripts/jquery-1.3.1.js $(document).ready(function(){ // hides quickLinks just before page load $('#USMquickLinks').hide(); // toggles the slickbox on clicking the

[jQuery] Re: AJAX External content doesnt work properly

2009-01-24 Thread Charlie22
yep, it seems. I found this article http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_AJAX_request.3F thx mates for helping. On 24 Led, 19:37, Rick Faircloth r...@whitestonemedia.com wrote: Sounds like this may be a situation where you need to use the

[jQuery] .change alternative

2009-01-24 Thread LoicDuros
Hi, I'm using a .change function to find out whether a radio button or not is selected by the user. I then show() or hide() other fields according to which radio button has been selected. Now, the problem arises when someone clicks on the reload button of the browser, or if some php validation

[jQuery] Re: remove()

2009-01-24 Thread Karl Swedberg
What Brian wrote should work, because it's basically replacing the contents of the div with an empty string. Try it out. Also, you could try .empty() --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jan 24, 2009, at 12:05 PM, Charlie22 wrote: Thx, but

[jQuery] Re: remove()

2009-01-24 Thread Karl Swedberg
so sorry to hit you with an answer after you already received plenty. somehow the other replies hadn't come in before I sent yet another. --Karl On Jan 24, 2009, at 12:27 PM, Charlie22 wrote: ah so, I got it now, thx for help, it works. I had there .romeve() in addition. Now its correct!

[jQuery] Dynamic Inputs and having JS work

2009-01-24 Thread Toaster
Hello I am currently using a autocomplete plugin which is working on a single static input. I currently have jQuery creating new inputs and I'd like to have the autocomplete on work then as well. Im not too familiar with javascript or jQuery but, I think since the inputs are created after the

[jQuery] jquery fadeto

2009-01-24 Thread Tom Shafer
I have the following li. I am trying to make it so when you hover over the first a and all of the child ul with the class of sub fadeTo will come to full opacity. When you mouseout it changes opacity again. Here is what I have come up with. li class=parent first id=parent1a

[jQuery] Re: AJAX External content doesnt work properly

2009-01-24 Thread Rick Faircloth
Glad to help! Rick -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Charlie22 Sent: Saturday, January 24, 2009 2:45 PM To: jQuery (English) Subject: [jQuery] Re: AJAX External content doesnt work properly yep, it seems. I

[jQuery] Re: Bug? ajax request headers not being modified by beforeSend (jquery 1.3.1)

2009-01-24 Thread Nicolas R
It seems that FF3 will always attach charset=UTF-8 to post requests, even if you define it otherwise. I tested this on FF2 and changed the charset to what I was after (windows-1253) but still, non-latin characters were not stored displayed correctly. I assume my problem is server-side rather

[jQuery] Re: .change alternative

2009-01-24 Thread Rick Faircloth
Hi, Loic... Check out this page about .selected. The example given when you follow the link is about a select input, but it seems that it could apply to radio inputs, as well. Rick http://docs.jquery.com/Selectors/selected -Original Message- From: jquery-en@googlegroups.com

[jQuery] Re: How do I show the label text in an input

2009-01-24 Thread Karl Swedberg
On Jan 24, 2009, at 12:26 PM, Klaus Hartl wrote: I assume you use the for attribute to associate labels with their inputs. Try (of course you need to adapt the selector probably): $('label').each(function() { $('#' + this.htmlFor).val( $(this).text() ); }); --Klaus Nice one, Klaus!

[jQuery] Jquery form submission

2009-01-24 Thread Narinder
Hi, I am using the following binding to submit the form using ajaxSubmit(). This works if the user clicks on the submit button. But unfortunately, i am dealing with third party form content which itself submits the form using form.submit() event in which case the following binding does

[jQuery] how to get one class from a multi-class element?

2009-01-24 Thread cherry.aus...@gmail.com
I'm getting all knotted up on this! I'm looking to use one class, from an element with several, as a selector. Example: div class=red tiny bold p class=tiny target = $( 'div' ).attr( 'class' ); // get 'tiny' from returned value $( 'p. + target + ' ).doSomething(); How to I get jQuery to pick

[jQuery] Re: Would someone pleae tell me what's wrong with this syntax?

2009-01-24 Thread Michael Geary
Let's try collapsing out the irrelevant code and take out the newlines too: $('#select').change(function() {});.trigger('change'); Does that make it easier to spot the error? -Mike From: Rick Faircloth Hi, all... I keep getting this error from Firebug: syntax error

[jQuery] Re: jquery fadeto

2009-01-24 Thread cherry.aus...@gmail.com
Hi, Tom. I'm not great at this myself, but you need to chain your two functions. For mouseovers, you can use the built-in hover function. Try something like, $(#parent1).find(a:first + ul).hover(function() { $(#firstImage).fadeTo(slow,.99); }, function() {

[jQuery] Re: .change alternative

2009-01-24 Thread LoicDuros
Thanks Rick, I'll try to use .selected! This should help a lot. Regards, Loic On Jan 24, 3:41 pm, Rick Faircloth r...@whitestonemedia.com wrote: Hi, Loic... Check out this page about .selected.  The example given when you follow the link is about a select input, but it seems that it could

[jQuery] Re: .change alternative

2009-01-24 Thread Ramanathan RV
It is always better to restore the form state from the server side. That way, I believe you would fail gracefully incase the browser has disabled javascript. Moreover, it prevents distortion while rendering the page. On Sun, Jan 25, 2009 at 3:10 AM, LoicDuros loic.du...@gmail.com wrote: Thanks

[jQuery] tooltip - image preview does not respect window border

2009-01-24 Thread CNN_news
Hello, I have a theme that shows a preview of the image that the mouse is currently hovering over with a larger image using jquery tooltip. The problem is that it always places the preview on the right and if the image is on the right side of the page the preview causes horizontal scrolling,

[jQuery] Re: Dynamic Inputs and having JS work

2009-01-24 Thread Ramanathan RV
Hello, You will have to bind autocomplete to newly added input elements. Alternatively, consider binding the autocomplete as the last operation (after the form is completely prepared). That way you can save on some glue code. And dont bind two autocomplete operations on an input element, as it

[jQuery] selector for children of specific element?

2009-01-24 Thread ChrisA
I need to run thru a table and do something for all rows that have a checkbox that is selected. I have to collect values from several columns in that row. Is there a way in jQuery to find child elements for a specific DOM element or jQuery wrapped set item? Thanks very much. I'm just

  1   2   >