[jQuery] Re: height of a hidden element

2008-01-06 Thread boermans
I was thinking of innerfade http://medienfreunde.com/lab/innerfade/ hope that helps On Jan 7, 2:16 pm, boermans <[EMAIL PROTECTED]> wrote: > I could be thinking of the wrong plugin?

[jQuery] Re: height of a hidden element

2008-01-06 Thread boermans
You may be able to determine the height while the divs are still visible - before applying the cycle plugin. Avoid the likely flicker by moving the divs temporarily out of view (to one side rather than hidden). Bringing them back into view after applying the cycle plugin. I have not used the cycl

[jQuery] Re: looking for plugin that presets values in text box

2008-01-06 Thread Kevin Scholl
The plugin toggleVal (written by a colleague of mine) might be of some interest to you. http://plugins.jquery.com/project/toggleval On Jan 5, 11:45 pm, Bhaarat Sharma <[EMAIL PROTECTED]> wrote: > Hi, > > some time ago I saw a jquery plugin which would preset the value in a > text box and when

[jQuery] Re: .click()

2008-01-06 Thread Steffan A. Cline
on 1/6/08 5:29 PM, chrismarx at [EMAIL PROTECTED] wrote: > > first, it would be better jquery technique to bind your img outside of > the onclick > > $('#imgID').click(function(){ > $('#logo').click(); > }); > > what function is executed when you trigger the click event on the logo >

[jQuery] Re: Sever Push - "live" site

2008-01-06 Thread Morgan Allen
A simple way to do this in PHP is using a loop to wait for an event, and return if and when it does. Otherwise the connection times out, and the client (web browser using XMLHttpRequest) reconnects. A really simple demonstration can be seen by just doing an ajax request to a php script that sleep()

[jQuery] Re: jqForm: Need help with basic validation...

2008-01-06 Thread Mike Alsup
> function validate(formData, jqForm, options) { > var x = jqForm[0]; > var valid = x.required.value.split(","); // This works. > for(var i=0; i < valid.length; i++) { // This works. > var z = valid[i]; // This works. > if (!x.z.value) { alert('no'); } // This fails. > } > return false; // Remove

[jQuery] Sever Push - "live" site

2008-01-06 Thread coughlinsmyalias
Hey all, i have been researching googling and many other ways to try to find out how to make my site as close to "live" as I can. I read this by John: http://ejohn.org/blog/streaming-http-server-push/ but am still kind of confused. My site is: http://rksdesignstudios.com/magnet/ - Drag a word -

[jQuery] Re: LIVE jQuery

2008-01-06 Thread Peter E Higgins
For whatever reason the "magnet" post didn't get pushed to my client, but I wanted to chime in. fwiw, I have been considering porting the dojox.cometd client to jQuery-plugin-like code. but as far as I know, the only "real" javascript implementation of comet client is the dojo 1.x one. DWR

[jQuery] jqForm: Need help with basic validation...

2008-01-06 Thread Micky Hulse
The plugin: My setup: Within my form, have a hidden field that has the names of the fields that I want validated: And this is my "test" beforeSubmit function: function validate(formData, jqForm, options) { var x = jqForm[0]; var valid = x.required.value.

[jQuery] Re: SimpleModal v1.1 released

2008-01-06 Thread Eric Martin
I released a WordPress plugin today. It's an modal ajax contact form built using jQuery and SimpleModal. http://wordpress.org/extend/plugins/simplemodal-contact-form-smcf/ -Eric On Jan 4, 2:36 pm, Eric Martin <[EMAIL PROTECTED]> wrote: > Hello, > > I've released a new version of SimpleModal. I

[jQuery] Re: .click()

2008-01-06 Thread chrismarx
first, it would be better jquery technique to bind your img outside of the onclick $('#imgID').click(function(){ $('#logo').click(); }); what function is executed when you trigger the click event on the logo input? On Jan 6, 5:46 pm, "Steffan A. Cline" <[EMAIL PROTECTED]> wrote: > Runn

[jQuery] Re: Problems with clueTip

2008-01-06 Thread Karl Swedberg
On Jan 5, 2008, at 2:32 PM, KnoxBaby wrote: Sorry for asking again, but perhaps you overread that there's again a question at the end of my statement when I already said that everything works fine: Is it possible to show the tooltip a little bit faster in IE and with the fade effect??? Hi,

[jQuery] Re: Working with data from a GoogleMaps InfoWindow

2008-01-06 Thread marcus
Meanwhile I found livequery, which is probably the solution, but I still I don't get it working. Can someone perhaps give me a hint?? I gave the form an id and tried this (Unfortunately the parent divs don't have proper names and ids...) $('#touch').livequery('submit', function() { alert('clicke

[jQuery] Re: Working with data from a GoogleMaps InfoWindow

2008-01-06 Thread chrismarx
if you're using jquery u dont even need a form. but if you do want to serialize your parameters, that's fine. i think the easiest thing to do is to give your form an id, making it easy for jquery to find it. once you've got that, everything else should be easy- On Jan 6, 10:21 am, marcus <[EMAIL

[jQuery] Re: Vexed with SuckerFish & Flash

2008-01-06 Thread dave
OH MY GOD!!! Just found this post, been having problems with jQuery and SQF for ages and, by wrpping it in the $(document).ready(function(){ ... }}; worked a treat. Inspirational. Fairly new to jQuery but always had good results except when it came to SWFObject. However did you find this, it t

[jQuery] Re: Issue with jQuery zebra tables tutorial...

2008-01-06 Thread bryce4president
Hey Karl, Thanks for the reply. Actually that isn't the problem. The problem turned out to be I needed to do a removeClass on the element. Then place the new class in it. Otherwise it will append it to the already existing class. My next problem was that I needed to remember what the class i

[jQuery] append ul (unordered list) ie bug

2008-01-06 Thread chrismarx
in firefox this works fine var id = 1; $parent.append(''); #("#c-r"+id"").append(""); that didnt work either. i had to resort to this var iediv = document.getElementById("c-r"+id); var newElem = document.createElement('ul'); newElem.id = "c-rply-to"+id+""; iediv.appendChild(newElem); can some

[jQuery] .click()

2008-01-06 Thread Steffan A. Cline
Running into something strange. I have an image with an onclick handler that calls on a hidden via This works flawlessly in Safari, IE 6 & 7 but not in FF Mac (not sure about PC). Any ideas? Also, what is the best way when taking this approach? I have it where the file input is in a div. I ini

[jQuery] Re: jquery validation demo errors

2008-01-06 Thread Jörn Zaefferer
Jack Killpatrick schrieb: OK, thanks for the info. Any idea around when 1.2 will be released? There are basically two major things on the roadmap: Remote validation and event architecture. Both are already quite advanced. To name a date, end of January should be realistic. Thanks for the poi

[jQuery] Re: Processor-intensive JavaScript considerations

2008-01-06 Thread George
JS will only run one chunk of script at a time and while it's running even animated gifs can hang. You can certainly give an illusion of asyncronous scripts by clever use of timers to fragment the processing. This might release cpu time for the animations but as far as I know there's no easy way.

[jQuery] Re: jquery validator addMethod library?

2008-01-06 Thread George
FWIW, the css text-transform style can be a useful alternative to script-based validation for upper/lower case and it works when js is disabled. I little off topic but it might help someone... http://www.w3schools.com/css/pr_text_text-transform.asp George On Jan 5, 6:51 am, Jack Killpatrick <[EM

[jQuery] jCarousel Lite and Thickbox

2008-01-06 Thread Andrea - Aosta
Anyone as worked with this two plugin... i want to use a jcarousel lite and, with a click on the image, a thickboc effetct... it is possible? Thank you

[jQuery] Re: Need some help

2008-01-06 Thread Raghuveer Rawat
Good Morning guys, Can anyone help me with below issue? I want to change tag's background attribute value when that link inside that is clicked. Thanks in advance.. On Jan 5, 2008 11:52 PM, Raghuveer Rawat <[EMAIL PROTECTED]> wrote: >Hi, I recently started learning about jQuery and I hav

[jQuery] Re: looking for plugin that presets values in text box

2008-01-06 Thread [EMAIL PROTECTED]
On Jan 6, 11:00 am, Dave Methvin <[EMAIL PROTECTED]> wrote: > > $('form#myform [EMAIL PROTECTED]').val('please enter > > here').click(function() { > > if (this.value == 'please enter here') this.value = ''; > > }); > > The downside to changing the value attribute is that the "please enter > he

[jQuery] Re: :last-child problem

2008-01-06 Thread poncjusz
yes I use Firebug and I have no idea why it doesn't work :/ (i don't see class="last" added), maybe it's other scripts or styles fault. If I find error I'll write. On 6 Sty, 02:33, Karl Swedberg <[EMAIL PROTECTED]> wrote: > Hi Tomek, > > It works fine for me. How are you testing this? If you have

[jQuery] Working with data from a GoogleMaps InfoWindow

2008-01-06 Thread marcus
Hi, I am very bad at Javascript so my question is perhaps silly... When I have something like this google.maps.Event.addListener(map, "click", function(overlay, latlng) { inputForm = '' + '' + '' + ''

[jQuery] Re: Binding a function to dynamically generated markup does not work

2008-01-06 Thread Ariel Flesler
You can bind to elements that are not inserted in the DOM, like I did in the example. Ariel Flesler On 5 ene, 17:48, Shawn <[EMAIL PROTECTED]> wrote: > Don't forget you have to apply your behaviors (the change() in this > case) AFTER the dynamic element has been added to the DOM.  I don't > thin

[jQuery] Re: Cycle Plugin and IE7 alignment offset

2008-01-06 Thread Mike Alsup
Spencer, Did you ever get this solved? If not, is there any way you can post a non-secure link somewhere? Mike On Dec 28, 2007 2:18 PM, Spencer <[EMAIL PROTECTED]> wrote: > > First off... great work on the Cycle plugin. I have a set of rotating > logos using Cycle and it works and looks great

[jQuery] Re: Regarding jQuery form plugin

2008-01-06 Thread Mike Alsup
Jack, Does this all work correctly without JavaScript? I suspect not. When uploading files, the Form Plugin does a native, non-ajax submit. I think you need to first sort out what the issue is without using the plugin, and then add it back in once you've got that solved. Mike On Dec 30, 2007

[jQuery] Re: looking for plugin that presets values in text box

2008-01-06 Thread Dave Methvin
> $('form#myform [EMAIL PROTECTED]').val('please enter > here').click(function() { > if (this.value == 'please enter here') this.value = ''; > }); The downside to changing the value attribute is that the "please enter here" text will be submitted with the form if the user doesn't enter any va

[jQuery] Re: XML Processing

2008-01-06 Thread chrismarx
personally, i love using jquery thusly for parsing xml var xml = data; var path = "subscr.Subscriber>subscriberId"; for (var i=0;i<$(path,xml).length;i++){ alert( $(""+path+":eq("+i+")").text() ) } On Jan 4, 3:09 pm, Jamie <[EMAIL PROTECTED]> wrote: > Hey, > > I am attemptin

[jQuery] Re: LIVE jQuery

2008-01-06 Thread coughlinsmyalias
Thank you all so much! Let me go try to understand this..I might post back with some questions :) I have heard of the COMET, I will read that article do you know of any examples of code or logic using jquery and how I would use that? http://www.jasons-toolbox.com/JHeartbeat/ For that above, cou

[jQuery] Need some help

2008-01-06 Thread Raghuveer Rawat
Hi, I recently started learning about jQuery and I have not worked much on javascript. I am basically a server side java developer. > I need some help from experienced jQuery developers for below issue.. > > I have a table which has 6 menu items (anchor tags)... Selected Menu Item > will have b

[jQuery] Re: looking for plugin that presets values in text box

2008-01-06 Thread [EMAIL PROTECTED]
On Jan 5, 11:45 pm, Bhaarat Sharma <[EMAIL PROTECTED]> wrote: > Hi, > > some time ago I saw a jquery plugin which would preset the value in a > text box and when users' cursor came to that text box...the preset > value would go away. it was sort of there to let the user know what > format should b

[jQuery] Need

2008-01-06 Thread Raghuveer Rawat
Hi, I recently started learning about jQuery and I have not worked much on javascript. I am basically a server side java developer. I need some help from experienced jQuery developers for below issue.. I have a table which has 6 menu items (anchor tags)... Selected Menu Item will have black.jpg im

[jQuery] Extract a script from script.src with a script

2008-01-06 Thread Joe Maller
This is a bit of an odd request, but maybe there's something simple I'm overlooking. I have a function which pulls JSON data from Google's GData service. Normally this works pretty well, save a bug or two on Google's end. The problem is that errors are served as a plain text string without a JSON

[jQuery] Re: Not recognizing multiple classes

2008-01-06 Thread Hamish Campbell
What happens if you change: $("p[class='"+whichClass+"']").show();}); to $("p.'"+whichClass+"']").show();}); ? Or what about * selector: http://docs.jquery.com/Selectors/attributeContains#attributevalue //show any straggling, hidden p's with the right class $("p[

[jQuery] Re: drag'n'drop, double added element

2008-01-06 Thread PragueExpat
I put a bug in for UI (months ago) that demonstrated that the drop function was running twice (the bug # was around 1542 or so - http://dev.jquery.com/report doesn't show any bugs for me, although I've entered several plus it gives me a MySQL error when I try to do a custom search) Don't know if

[jQuery] Re: Binding a function to dynamically generated markup does not work

2008-01-06 Thread Shawn
Don't forget you have to apply your behaviors (the change() in this case) AFTER the dynamic element has been added to the DOM. I don't think it's going to work if you apply the handlers THEN add the element to the DOM. hmm... something for me to try next time I open up my editor... :) Shawn

[jQuery] Re: build my first jquery plugin multiselect

2008-01-06 Thread djot
- Hi, you should have pressed the text "open" to see sth happen. djot - Quinode wrote: > > I'm french, my english isn't better > I tried the demo under firefox 2 but select the menus did nothing ? > -- View this message in context: http://www.nabble.com/build-my-first-jquery-plugin---mult

[jQuery] Re: using animate() with duration/queue object and callback doesn't work

2008-01-06 Thread chrismarx
"$elem.animate( {opacity:0} , {queue:false, duration:600, complete:callback} ) .animate( {height:"hide"}, 700); " this works! why this manage to allude me? how was one supposed to know that the last parametere was to be called complete?? thanks for the help- On Jan

[jQuery] height of a hidden element

2008-01-06 Thread Sebastián V. Würtz
Is posible that if i have a hidden div i cant get his height? I want to increase or decrease some font sizes according to the max height of those 3 divs to using with cycle plugin but because im only showing one at a time and the rest are hide i getting 0 as height $('#rotate div .item')

[jQuery] Re: Question about the mailinglist

2008-01-06 Thread KnoxBaby
Hello, I think I found the necessary option: When I click in the topic on "options" and there on "send updates to me" I think I'll get a mail about new statements :) On 31 Dez. 2007, 02:46, "Jeferson Koslowski" <[EMAIL PROTECTED]> wrote: > The mailing list itself does not provide this feature, bu

[jQuery] $('table tr').hover() not working in IE

2008-01-06 Thread [EMAIL PROTECTED]
This is my jQuery code: <> $('table tr').hover( function() {$(this).addClass('hover');}, function() {$(this).removeClass('hover'); }); <> This is my CSS: <--

[jQuery] Re: looking for plugin that presets values in text box

2008-01-06 Thread Morgan Allen
$('input').focus(function() { $(this).val(null); }); On Jan 5, 2008 8:45 PM, Bhaarat Sharma <[EMAIL PROTECTED]> wrote: > > Hi, > > some time ago I saw a jquery plugin which would preset the value in a > text box and when users' cursor came to that text box...the preset > value would go away. it w

[jQuery] Re: jQuery Tabs - Can I Do This?

2008-01-06 Thread McLars
Klaus Hartl wrote: > Hi Matt, currently external tabs like that are not supported. So far I > was reluctant to implement that 1. to avoid bloat and 2. to me that > seems unexpected behavior to have a tab open in a new window I agree. At a minimum, you might at least add some sort of indication (v

[jQuery] Re: Manipulating elements with a click

2008-01-06 Thread Hamish Campbell
Theres lots of ways to do it, eg: $(document).ready(function() { $('ul#content li a').click(function() { // binds a function to every link in every list object in the ul called content. $('ul#content li').removeClass('active').addClass('inactive'); // removes the class '

[jQuery] Re: Problems with clueTip

2008-01-06 Thread KnoxBaby
Sorry for asking again, but perhaps you overread that there's again a question at the end of my statement when I already said that everything works fine: Is it possible to show the tooltip a little bit faster in IE and with the fade effect??? On 1 Jan., 12:36, KnoxBaby <[EMAIL PROTECTED]> wrote