[jQuery] Re: value of a

2007-10-10 Thread Juan G. Hurtado
Try with $(a).html() El 10/10/2007, a las 8:57, Sharique escribió: What I want to is :When user click on a link it will show text inside the a tag. (ie. when user click in more it will show more in alert.) I have following code : - !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN

[jQuery] Re: value of a

2007-10-10 Thread David Duymelinck
val is used for input fields, to get the text inside a tag you have to use html or text depending on what you are after. -- David Duymelinck Sharique schreef: What I want to is :When user click on a link it will show text inside the a tag. (ie. when user click in more it will show more in

[jQuery] value of a

2007-10-10 Thread Sharique
What I want to is :When user click on a link it will show text inside the a tag. (ie. when user click in more it will show more in alert.) I have following code : - !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN http://www.w3.org/ TR/html4/strict.dtd html head

[jQuery] Re: Superfish, jQuery and flashing menu...

2007-10-10 Thread Joel Birch
Hi, There are quite a few different issues at play here: Firstly, the flickering issue is due to your use of the csshover.htc file. Remove that and your flicker will disappear. Then, in order to get hovers working in IE, just add a selector that uses the sfHover class along side the regular

[jQuery] Re: menu using Superfish and jQuery blinking in IE

2007-10-10 Thread Joel Birch
I answered this question on your duplicate post of another name.

[jQuery] Re: Superfish embed flash object

2007-10-10 Thread Joel Birch
I messed around with that page in with Firebug and added an attribute to the generated embed tag like so: style=position:relative;z-index:0; and this fixed the issue, even without changing the wmode attribute. Maybe add this to your CSS: embed, object { position: relative; z-index: 0;

[jQuery] Re: opacity in animations

2007-10-10 Thread Joel Birch
I guess this means we can't rely on jQuery's hide() function to reset the opacity back to 0, which I think it did prior to v1.1.3. I'll keep this in mind when I work on the next Superfish release. Thanks for the heads-up, Greg. Joel Birch.

[jQuery] Re: superfish: how do I turn off animations

2007-10-10 Thread Joel Birch
Maybe just do: $('#yourNav').superfish({ height: 'show', speed: 1 /* animation speed 1 millisecond */ }); Joel Birch.

[jQuery] ClueTip: Nice work, Karl!

2007-10-10 Thread Rick Faircloth
Just wanted to say that I've just now had another look at clueTip since I used it a couple of months back. I wanted to say, Karl, that I'm impressed! Although I haven't put the new version to use, just reading over the docs leaves me impressed with all the new features. There are a ton of

[jQuery] Re: superfish: how do I turn off animations

2007-10-10 Thread Joel Birch
Whoops, I obviously need a break. Here is the correct code: $('#yourNav').superfish({ animation: {height: 'show'}, speed: 1 /* animation speed 1 millisecond */ }); Joel Birch

[jQuery] Re: Site Submission, finally!! :-)

2007-10-10 Thread Rick Faircloth
I'm had to talk a lot of clients out of using music on their homepage, Steve. But, I think, for this site, music works. One, the music is very low profile... not blaring. Two, there's no content on the homepage that requires concentration, such as content I have to read, so the music doesn't

[jQuery] Re: New site using jQuery - Amserv Auto

2007-10-10 Thread Rick Faircloth
Hi, Mike... nice job on the site! Here's a tip for the images displayed via thickbox. I noticed when I clicked on the top left image of the Corolla, that it took the image quite some time to load. I have a fairly fast connection and usually a photo loads quickly. Once I saw the photo, I

[jQuery] using a var in both functions of a hover(over, out)

2007-10-10 Thread Olivier Percebois-Garve
Hi I have a code simplified like this : jjQuery.fn.simpleTooltip = function(o){ $(this).hover( function(){ //code },function(){ //code }); } I want to store something in the first function (over) and use it in the second (out). I'm almost sure it is possible but all my

[jQuery] rewrite .text in Internet Explorer

2007-10-10 Thread Danjojo
Any ideas how to update the following Jquery code to work in IE? It works in Firefox... Opera.. and not in Safari for window.. (so it works in 2 out of 4 browsers) // Load XML document based on language var langSheet = language_sheet_ + country + .xml $.ajax({

[jQuery] Prev / Next - one works, the other doesn't!?

2007-10-10 Thread Luc Pestille
Hi all, I have a simple calendar that I'm building, where I need to swap between the months (yes I know there are calendar applications, but I need something simple and lightweight), where my HTML looks like this: --- div id=calendar a name=month-oct/a table id=month-oct tr th/th th

[jQuery] Return scrollbar to top of div with overflow:auto after content replaced?

2007-10-10 Thread jason
I'm replacing the contents of a div that has overflow set to 'auto.' Problem is, when the new content loads, the scrollbar remains where ever the user left it when they triggered the refresh. Is there any way to return the scrollbar to the top when new content loads? I tried setting overflow to

[jQuery] Re: JSS - New Plug-in

2007-10-10 Thread R. Rajesh Jeba Anbiah
On Oct 10, 12:17 am, hj [EMAIL PROTECTED] wrote: On Oct 9, 12:56 am, R. Rajesh Jeba Anbiah [EMAIL PROTECTED] wrote: On Oct 8, 3:42 pm, Andy Kent [EMAIL PROTECTED] wrote: snip Yep, absolutely. If you have any ideas on how we could test a browsers support for a selector without

[jQuery] Re: using a var in both functions of a hover(over, out)

2007-10-10 Thread Joel Birch
On 10/10/07, Olivier Percebois-Garve [EMAIL PROTECTED] wrote: I want to store something in the first function (over) and use it in the second (out). -Olivier Hi Olivier, I think this would work: jQuery.fn.simpleTooltip = function(o){ var sharedVar; $(this).hover( function(){

[jQuery] Re: Return scrollbar to top of div with overflow:auto after content replaced?

2007-10-10 Thread jason
Nevermind, I guess. I worked around it by moving the scroll onto the element within the div I was replacing. JLH On Oct 10, 9:10 am, jason [EMAIL PROTECTED] wrote: I'm replacing the contents of a div that has overflow set to 'auto.' Problem is, when the new content loads, the scrollbar

[jQuery] Re: serialize() doesn't collect input type=submit value

2007-10-10 Thread aj
Hi, On 13 Sep., 19:43, Mirko [EMAIL PROTECTED] wrote: I' was reading about the new jQuery 1.2 serialize() and I don't know if it's a bug or an intended feature but with $(:input).serialize() or $ (:input).serialize() I can't get values of submit buttons? The same goes for button name=xyz

[jQuery] Positioning and hover effect: possible bug in IE6

2007-10-10 Thread Lucian Lature
The demo of my problem can be found at: http://www.lefproiect.ro/mido/test.html In IE6, only the last item is sliding up on hover, the other two seems to be stuck. However, if I modify the top value of the .contact-info divs, this way increasing the vertical distance between divs, the sliding

[jQuery] validation errors

2007-10-10 Thread Alexander Graef
I am using the validation plugin and I can not get multi-selects working. As soon as I send the multi select as an array, validation fails or does not trigger. Also my previous message about the checkboxes not validating. How can I validate a group of checkboxes that have different names. Only

[jQuery] [newbie] testing image loaded

2007-10-10 Thread aussiebob
Sorry if my last post was a bit vague long winded i will try to be more specific Is there a way to test if an image is loaded to trigger an event ? Currently I have tried the following and it seems to do nothing at all?? *Yeah... I'm guessing my syntax is pretty bad :( but I am trying to

[jQuery] Dragging from droppable to droppable

2007-10-10 Thread Rob
So I have two distinct TD tags, and each one is designated droppable. Inside one of the TDs I have a DIV tag that is draggable. Both droppables will accept that draggable. The dragging and dropping works, but *both* droppables call their drop() methods when I drag the DIV from one TD to the

[jQuery] Repost: Dragging from droppable to droppable

2007-10-10 Thread Rob
This didn't quite work before: So I have two distinct TD tags, and each one is designated droppable. Inside one of the TDs I have a DIV tag that is draggable. Both droppables will accept that draggable. The dragging and dropping works, but *both* droppables call their drop() methods when I drag

[jQuery] Re: Superfish embed flash object

2007-10-10 Thread Mark
Thanks for the advice, works perfectly. Cheers Mark On Oct 10, 3:57 am, brianfidler [EMAIL PROTECTED] wrote: I don't believe this has anything to do withSuperfishor jQuery. Try adding the following code to your HTML where yourFlashmovie is embedded: param name=wmode value=transparent /

[jQuery] Re: Superfish embed flash object

2007-10-10 Thread Mark
Thanks for the advice, it working now. Cheers Mark On Oct 10, 3:50 am, cbs1918 [EMAIL PROTECTED] wrote: For your embededflashobject set your wmode to transparent. On Oct 9, 9:50 am, Mark [EMAIL PROTECTED] wrote: Hi Joel, I am usingsuperfishon a page with an embededflashobject, the menu

[jQuery] validation plugin: validation of checkboxes fail

2007-10-10 Thread Alexander Graef
I think there is an error in the validation plugin from Jörn. When validating checkboxes the plugin only accepts the following format. label for=topic_marketflash input type=checkbox id=topic_marketflash value=marketflash name=topic / Marketflash /label label for=topic_fuzz input

[jQuery] About 3 pixels difference in IE FF

2007-10-10 Thread somnamblst
I have a sliding ajax shelf that uses jquery slide. The shelf is below another div and aesthetically needs to have 0 px between the 2 divs. Perfection in IE, FF is about 3px higher

[jQuery] odd or even in a non table list?

2007-10-10 Thread [EMAIL PROTECTED]
Hi, I have a list of DIVs with class 'myclass', now I like to add different classes to it depending on odd or even, since it's not a table, I can't use the ':odd' and ':even' selector, any other way to do this? Thanks. A.C. div class='myclass'/div div class='myclass'/div div class='myclass'/div

[jQuery] toggling and element using two separate button elements

2007-10-10 Thread robing
Hi this is my first post to this group so please forgive me for any errors I make. The problem I am having is that I show a div element that contains form elements, and inside this elements is another element that i want to toggle. How ever when I show the outer element using using button A I

[jQuery] Loading (index.php?option=com_foodmenu) into a DIV

2007-10-10 Thread Bodom78
Hey Everyone, I have a site loading content into a DIV using $ ( #content ).load( 'home.html' ); however when I try to load a page with variables in the URL like the one in the topic title, it does not work. Is it possible to do this, or is it a limitation of the language? Any advice or tips

[jQuery] jQuerifying this code?

2007-10-10 Thread malvim
Hi! I'm new to jQuery, and I'm experimenting with it a little. What I want to do is add some menu items to my Trac installation, as shortcuts to my most used pages and reports (I am using jQuery inside GreaseMonkey for that). So, the menu is structured as a div that has an id, and an unordered

[jQuery] Re: value of a

2007-10-10 Thread zizi
Try this way: $(a).click( function( ) { alert($(this).text()); return false; }); zizi On 10/10/07, Juan G. Hurtado [EMAIL PROTECTED] wrote: Try with $(a).html() El 10/10/2007, a las 8:57, Sharique escribió: What I want to is :When user

[jQuery] Re: Ajax tabs detect automatically

2007-10-10 Thread Klaus Hartl
zorba wrote: hi, using that wonderful plugin for a while. Thanks Klaus Hartl ! Now, I've just been updating with version 3.0 My problem is that in older versions, you had to precise { remote: true } in order to load tab content dynamically via Ajax. Well now, tabs() detect

[jQuery] Re: Site Submission, finally!! :-)

2007-10-10 Thread aussiebob
I love the admin area Steve. (and the site too though my one comment would that the full size image should be resized to fit the lightbox dimensions) I'm in the thinking stage of updating some of the admin areas I've built and yours is an inspiration.. thanks If you need any help on the image

[jQuery] Easy img Roll-overs: Plug-in writing help please?

2007-10-10 Thread Chris J. Lee
I'm a pretty new. So I have some understanding of the language. I'm a designer primarily (which explains the uncode-ness). I'm betting someone's already written a plug-in like this but I wanted to get some experience writing a plug-in myself make my life a bit easier and faster. Anyways, I've

[jQuery] Re: animating multiple items at the same time

2007-10-10 Thread Joan Piedra
Can't you just do an each loop? $('.box').each(function(){ $(this).animate({ width: 400 }, 'slow'); }); On 10/9/07, petrozza [EMAIL PROTECTED] wrote: Hi! I am relatively new to jQuery and recently ran into the following problem. Let's say I have a few DIVs of the same dimensions on top

[jQuery] Detect session timeouts in ajax calls

2007-10-10 Thread Takis
Here is an interesting article: http://www.coldfusionjedi.com/index.cfm/2007/10/8/Ask-a-Jedi-How-can-you-timeout-a-session-in-an-Ajaxbased-application Now, really, is there a way somewhere in the jQuery API that helps in detecting session timeouts in ajax calls? If there is not I would like to

[jQuery] Re: using a var in both functions of a hover(over, out)

2007-10-10 Thread Suni
This is correct. In javascript the inner functions have access to the variables of the outer function. They even retain that direct access after the outer function has returned, allowing you to create private variables and methods (through closure).

[jQuery] Re: Detect session timeouts in ajax calls

2007-10-10 Thread Dan G. Switzer, II
Here is an interesting article: http://www.coldfusionjedi.com/index.cfm/2007/10/8/Ask-a-Jedi-How-can-you- timeout-a-session-in-an-Ajaxbased-application Now, really, is there a way somewhere in the jQuery API that helps in detecting session timeouts in ajax calls? If there is not I would like to

[jQuery] Re: odd or even in a non table list?

2007-10-10 Thread Glen Lipka
:odd and :even work fine on divs. I whipped up a demo. http://commadot.com/jquery/even.php Glen On 10/9/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I have a list of DIVs with class 'myclass', now I like to add different classes to it depending on odd or even, since it's not a

[jQuery] Re: toggling and element using two separate button elements

2007-10-10 Thread Glen Lipka
Its hard to tell what you are looking for. Can you put a sample page on the web, and just put in an alert or pseudo-code to describe what it's not doing right? Glen On 10/9/07, robing [EMAIL PROTECTED] wrote: Hi this is my first post to this group so please forgive me for any errors I make.

[jQuery] Re: About 3 pixels difference in IE FF

2007-10-10 Thread Olaf Bosch
somnamblst schrieb: I have a sliding ajax shelf that uses jquery slide. The shelf is below another div and aesthetically needs to have 0 px between the 2 divs. Perfection in IE, FF is about 3px higher Contains your DIV a image? Then set this IMG to display:block; -- Viele Grüße, Olaf

[jQuery] Re: ClueTip: Nice work, Karl!

2007-10-10 Thread Karl Swedberg
Hey Rick, Thanks a lot! Wow, that totally made my day. I'm just about ready to post another revision to the plugin's project page and write up a little blog entry on it. I've received excellent feedback from a lot of people and have tried to incorporate as many of their requests. Special

[jQuery] Re: rewrite .text in Internet Explorer

2007-10-10 Thread Gordon
A bit of a stab in the dark I admit, but have you tried using .html() instead of .text()? On Oct 10, 12:19 pm, Danjojo [EMAIL PROTECTED] wrote: Any ideas how to update the following Jquery code to work in IE? It works in Firefox... Opera.. and not in Safari for window.. (so it works in 2

[jQuery] Re: toggling and element using two separate button elements

2007-10-10 Thread Karl Swedberg
Hi robing, I'm not perfectly clear on what you want to do, but might want to try changing these lines: $('#image_folder_button').click(function(){ $('.image_folder_dropdown').toggle(); }) to this:

[jQuery] How to clear setTimeout?

2007-10-10 Thread Sean O
Hi, I'm trying to implement an autoSave function on my web application. Something that automatically saves the contents of the current field 6 seconds after the last keyUp. It works, but I can't clear the multiple setTimeouts triggered on each keyUp event. Example:

[jQuery] Re: ClueTip: Nice work, Karl!

2007-10-10 Thread Joel Noble
Question I didn't see answered on the clueTip site: do clueTips have a problem when appearing on top of form elements (particularly select drop-downs) in IE 6? The Interface tooltips I'm using seem to appear behind certain form elements in IE, and the workaround suggested on this list for

[jQuery] Re: How to clear setTimeout?

2007-10-10 Thread Andy Matthews
Since you're setting the value of upd to a function containing the setTimeout, you should be able to just delete upd; -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sean O Sent: Wednesday, October 10, 2007 10:39 AM To:

[jQuery] Re: How to clear setTimeout?

2007-10-10 Thread Sean O
Thanks for the suggestion, but I tried delete upd; before, after, even inside my upd = setTimeout... function, and nothing happened -- the behavior is still the same. SEAN Andy Matthews-4 wrote: Since you're setting the value of upd to a function containing the setTimeout, you should

[jQuery] Re: How to clear setTimeout?

2007-10-10 Thread Michael Geary
The delete wouldn't work, Andy - Sean's upd variable goes out of scope immediately, and you need to use clearTimeout, not just delete the variable. Sean, you can change your code to: var upd; $(input).keyup(function(){ var self = this;

[jQuery] Re: How to clear setTimeout?

2007-10-10 Thread Jack Killpatrick
How about something like (not tested): myNamespace = { timer:null, keyup:function(jqObj){ clearTimeout( myNamespace.timer ); myNamespace.timer = setTimeout(function(){ myNamespace.updateField(jqObj); }, 6000); }, updateField:function(jqObj){ // save using jqObj.val();

[jQuery] Re: ClueTip: Nice work, Karl!

2007-10-10 Thread Karl Swedberg
Hi Joel, The bgiframe plugin (http://jquery.com/plugins/project/bgiframe) should work with the clueTip plugin. Some tooltip plugins work by creating a separate tooltip for each invoking element - sometimes on the fly. Others, like clueTip, create a single tooltip and hide/show it,

[jQuery] Re: How to clear setTimeout?

2007-10-10 Thread Sean O
Aha! placing var upd; outside of the keyup function did the trick! I always get tripped up on scope issues like this... I'll look to your expire plugin for future use... for now, this gets me over the hump. Thanks, Michael! SEAN O Michael Geary wrote: The delete wouldn't

[jQuery] Re: How to clear setTimeout?

2007-10-10 Thread Michael Geary
Of course, this code doesn't have any reason to be a jQuery plugin at all. It could just be: function expire( callback, interval ) { var timer; return function() { clearTimeout( timer ); timer = setTimeout( callback, interval ); }; } with

[jQuery] jqModal - iFrame to remote server content?

2007-10-10 Thread jquiker
jqModal seemed to be the best answer for our needs--the window overlay can be moved, resized, and remote content loaded. However, it can't load remote server content into an iFrame--something AJAX can't do due to security restrictions. A

[jQuery] Re: Site Submission, finally!! :-)

2007-10-10 Thread spills
Nice job on the site with just a quick look I only noticed one major error with FF2.0.7; I was able to submit the form without filling it out. Spills

[jQuery] Re: ClueTip: Nice work, Karl!

2007-10-10 Thread RichUncleSkeleton
I don't have a clue [geddit?] what the plugin is all about. That page you posted (and no other pages on the site) actually say what it does. And I don't see anything remotely like a 'demo'... -- Scott. On Oct 10, 10:29 am, Rick Faircloth [EMAIL PROTECTED] wrote: Just wanted to say that I've

[jQuery] Headers support for $.ajax

2007-10-10 Thread traunic
This is a follow up to http://groups.google.com/group/jquery-en/browse_frm/thread/fcbb53bd33b30f96/6363fa2f4b444823 but since that post is over a year old comments are closed. I have been looking at some RPC and REST systems lately and they all recommend using the HTTP ACCEPT header. I would

[jQuery] Detect child number of an element?

2007-10-10 Thread RichUncleSkeleton
Is it possible to detect the 'child number' of an element on click? For example, say I have a table with 10 rows. If I click on the 7th row, is it possible to obtain the number 7 simply? Currently I have a click event attached to every table row, with something along the lines of: $('table#id

[jQuery] Animating elements at different and sequential times

2007-10-10 Thread marc0047
I have two boxes, a yellow one and a blue one, and I want to animate them at separate intervals. This is an example of what I would like to happen: 1. Loading page complete 2. Yellow div box fades to zero opacity. 3. Wait 2 seconds 4. Blue div box moves left to right 100 pixels. I can get them

[jQuery] Superfish, swfObject, z-index, and (of course) IE

2007-10-10 Thread jon randahl
First, let me say thank you to Joel for making the new CSS for Superfish so easy to configure now! All those comments make such the difference! and Second, here's my dilema: We have a site, first thing that loads is a lovely flash movie which resides in the main container below the horizontal

[jQuery] ifModified - status is notmodified, although response isn't empty

2007-10-10 Thread Sven Burkert
Hello, I send an request to a php file on the server: $(document).ready(function(){ updatePresenceBox(); setTimeout(updatePresenceBox(), 3000); setTimeout(updatePresenceBox(), 6000); }); function updatePresenceBox() { $.ajax({ url: test.php, dataType: html,

[jQuery] Re: safari (win, mac) issues with fadeIn + callback

2007-10-10 Thread jojet
Hi all, I had a similar problem where fadeIn() and fadeOut() was just not working for me but I found a solution. This may not work for you but I got it to work by simply replacing my fadeIn() and fadeOut() with these calls: {your jQuery obj}.fadeTo(fast,0); ...blah blah {your jQuery

[jQuery] LearningJQuery Demo page suggestion: parse hash

2007-10-10 Thread Pyrolupus
Karl et al, I just tried to link directly to the examples tab of the demo page for ClueTip. Unless there's a trick that I don't know about (and please educate me, if that's the case!), there's no way to do that. May I suggest using location.hash in demo.js to see if it matches any of the hrefs

[jQuery] remarkable (slow) iteration performance in jQuery 1.2.1

2007-10-10 Thread pkeane
Hi folks- I am getting some troublesome benchmarks on a bit of code and I wonder if I am missing something. I am iterating over a JSON object to dynamically create a menu. The jQuery code consistently takes over 5000 milliseconds (!) to complete and my raw javascript version consistently takes

[jQuery] ajaxSend one call, many separate events

2007-10-10 Thread Mark
Let's say I have 10 icons on a web page. Clicking an icon will change it from it's colored version to it's gray scale version. Changing flag states if you will. Lets say, just for example, it takes 3 - 5 seconds for the icon to change because it has to wait on the server to process the request

[jQuery] Re: Ajax tabs detect automatically

2007-10-10 Thread zorba
The best woud be if you could just have a look at this site I'm currently developping. http://maroc.visages-trekking.com/beta/randonnee-ski-rando.php access with login 'zorba' / password 'kazantzakis' As you see there is a list of items into tabs, each item linking to a 'product' page wich

[jQuery] Re: ClueTip: Nice work, Karl!

2007-10-10 Thread Pyrolupus
It's easy to test (I just did so in IE7). More difficult than when able to use FireBug, but we get by. ;-) Browse to http://plugins.learningjquery.com/cluetip/demo/ and click on the Examples tab. (Sorry don't know how to link directly to Examples--or if it is even possible.) Once you're

[jQuery] Attribute Selector Docs Error?

2007-10-10 Thread Chris Scott
In the attribute selector docs (http://docs.jquery.com/Selectors) it looks like all the selectors are missing an @ before the attribute. e.g. [attribute^=value] should be [EMAIL PROTECTED] At least this is what I found to work after beating my head against a selector for about 20 minutes.

[jQuery] Modifying CONFIRM method

2007-10-10 Thread Jean
I´m trying customize my alert and confirm dialogs, but the confirm dont have the same behavior like your original, like pausing the load of document until answer it. Has someone who now how i can get this behavior?? For while i´m using the exemplo of jqModal site function confirm(msg, callback)

[jQuery] Re: jCarousel Lite Plugin Question

2007-10-10 Thread Mandy Singh
Any one? On 10/10/07, Mandy Singh [EMAIL PROTECTED] wrote: Hello, I am little new to jQuery so trying to get a hang of it. I am using the jCarousel Lite plugin for something today and I found it to be brilliant. I only have one problem - so suppose 10 nodes are there in the scrolling

[jQuery] Re: rewrite .text in Internet Explorer

2007-10-10 Thread Danjojo
Thank you, I will give that a try... also, it has magicaly begun to work in IE cache issue?? don't know.. I almost always ctrl-reload On Oct 10, 11:09 am, Gordon [EMAIL PROTECTED] wrote: A bit of a stab in the dark I admit, but have you tried using .html() instead of .text()? On

[jQuery] Re: Tweaking Autocomplete 1.0 Alpha

2007-10-10 Thread Jörn Zaefferer
Majid schrieb: Last word, I know this looks like a tall order, and I do not hope someone will make a complete working mod for me, but rather would very much appreciate helpful advise and directions. I've added your usecase to my autocomplete todo list. Its definitely possible to support

[jQuery] Re: remarkable (slow) iteration performance in jQuery 1.2.1

2007-10-10 Thread Michael Geary
Your raw JavaScript code has a lot of optimization that is missing in your jQuery version. In the raw version, you cache the results of the document.getElementById calls. In the jQuery version, you don't do any of that, and in fact you repeat the same jQuery selector calls twice each. It any

[jQuery] Re: ClueTip: Nice work, Karl!

2007-10-10 Thread Karl Swedberg
On Oct 10, 2007, at 10:48 AM, RichUncleSkeleton wrote: I don't have a clue [geddit?] what the plugin is all about. That page you posted (and no other pages on the site) actually say what it does. And I don't see anything remotely like a 'demo'... Huh? Did you click on the Features link? The

[jQuery] Re: About 3 pixels difference in IE FF

2007-10-10 Thread somnamblst
That did it! Thanks! On Oct 10, 10:55 am, Olaf Bosch [EMAIL PROTECTED] wrote: somnamblst schrieb: I have a sliding ajax shelf that uses jquery slide. The shelf is below another div and aesthetically needs to have 0 px between the 2 divs. Perfection in IE, FF is about 3px higher

[jQuery] Re: LearningJQuery Demo page suggestion: parse hash

2007-10-10 Thread Karl Swedberg
Thanks for the suggestion, Pyro. You're right about not being able to link directly to the examples tab. I've been meaning to switch the demo over to a Mike Alsup template, but just haven't gotten to it yet. Maybe this email will spur me to do it. :-) --Karl _ Karl

[jQuery] Re: validation plugin: validation of checkboxes fail

2007-10-10 Thread Jörn Zaefferer
Alexander Graef schrieb: [...] This is a wrong scenario, as normally each checkbox has its own unique name within a form. The validation fails if the names are different for each checkbox. How do I chain them for validation with each checkbox having its own name ? [...] I have no idea how

[jQuery] Re: validation errors

2007-10-10 Thread Jörn Zaefferer
Alexander Graef schrieb: I am using the validation plugin and I can not get multi-selects working. As soon as I send the multi select as an array, validation fails or does not trigger. Can you give me an example for multi select as an array? -- Jörn

[jQuery] Re: Attribute Selector Docs Error?

2007-10-10 Thread Karl Swedberg
Hi Chris, The docs are correct as of jQuery version 1.2. Previous versions use @. Actually, you can get by using @ even in 1.2, but it's deprecated. --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Oct 10, 2007, at 1:44 PM, Chris Scott wrote: In

[jQuery] Re: Detect session timeouts in ajax calls

2007-10-10 Thread Robert Wagner
I already blogged about 2 straightforward approaches: http://blog.pengoworks.com/blogger/index.cfm?action=blog:605 And example code: http://www.pengoworks.com/workshop/jquery/session_expired_example.cfm All of this is pretty easy to integrate into your site's JS framework so it's handled

[jQuery] Re: Attribute Selector Docs Error?

2007-10-10 Thread Chris Scott
Karl Swedberg wrote: Hi Chris, The docs are correct as of jQuery version 1.2. Previous versions use @. Actually, you can get by using @ even in 1.2, but it's deprecated. Ever have one of those times when you *swore* you checked the version and *swore* you double-checked your code? This

[jQuery] Re: ClueTip: Nice work, Karl!

2007-10-10 Thread Danjojo
Great work!! Only recommendation would be to move your example tab closer to the front, maybe after Features? If it were me I would even move your Examples tab between the Intro and Features tabs. Awesome work!! On Oct 10, 2:23 pm, Karl Swedberg [EMAIL PROTECTED] wrote: On Oct 10, 2007, at

[jQuery] Re: Detect session timeouts in ajax calls

2007-10-10 Thread Dan G. Switzer, II
Robert, I already blogged about 2 straightforward approaches: http://blog.pengoworks.com/blogger/index.cfm?action=blog:605 And example code: http://www.pengoworks.com/workshop/jquery/session_expired_example.cfm All of this is pretty easy to integrate into your site's JS framework so it's

[jQuery] Re: Attribute Selector Docs Error?

2007-10-10 Thread Karl Swedberg
On Oct 10, 2007, at 2:54 PM, Chris Scott wrote: Karl Swedberg wrote: Hi Chris, The docs are correct as of jQuery version 1.2. Previous versions use @. Actually, you can get by using @ even in 1.2, but it's deprecated. Ever have one of those times when you *swore* you checked the

[jQuery] Patch for jCarousellite jQuery 1.2.1

2007-10-10 Thread Stosh
I haven't seen anyone post a patch for jCarousellite yet, so if anyone is trying to get it to work with jQuery 1.2.0 the fixes are simple and you can use the patch below. I've also posted the patch on the author's blog. The issue seems to be limited (as best I can tell) to lt() and gt() instead

[jQuery] Re: ClueTip: Nice work, Karl!

2007-10-10 Thread Rick Faircloth
It's all clear to me, Karl. may be just an example of some too focused on the word demos and not considering the similarity of examples. :o) Rick From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Karl Swedberg Sent: Wednesday, October 10, 2007 2:24 PM To:

[jQuery] Re: Detect session timeouts in ajax calls

2007-10-10 Thread Dan G. Switzer, II
Actually if you use the 403 - Forbidden HTTP response status code, then it should trigger the ajaxError() event: http://docs.jquery.com/Ajax/ajaxError#callback This means you could really easily add a check to see if the status code is 403 and then handle things appropriately. yes, but

[jQuery] Re: Detect session timeouts in ajax calls

2007-10-10 Thread Robert Wagner
Robert, I already blogged about 2 straightforward approaches: http://blog.pengoworks.com/blogger/index.cfm?action=blog:605 And example code: http://www.pengoworks.com/workshop/jquery/session_expired_example.cfm All of this is pretty easy to integrate into your site's JS framework

[jQuery] Re: Detect session timeouts in ajax calls

2007-10-10 Thread Robert Wagner
2007/10/10, Dan G. Switzer, II [EMAIL PROTECTED]: Actually if you use the 403 - Forbidden HTTP response status code, then it should trigger the ajaxError() event: http://docs.jquery.com/Ajax/ajaxError#callback This means you could really easily add a check to see if the status code

[jQuery] Re: ClueTip: Nice work, Karl!

2007-10-10 Thread Alexandre Plennevaux
hi karl, everything works fine here on winxp SP2 with firefox 2007 only one issues: examples page: the round corner examples do not work. great plugin, one of my all time fav! cheers, Alexandre _ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Karl

[jQuery] Re: ClueTip: Nice work, Karl!

2007-10-10 Thread Derek Gathright
Very cool, but I can't get the rounded corner demos to work in FF2 or IE7. =( On 10/10/07, Danjojo [EMAIL PROTECTED] wrote: Great work!! Only recommendation would be to move your example tab closer to the front, maybe after Features? If it were me I would even move your Examples tab

[jQuery] Re: remarkable (slow) iteration performance in jQuery 1.2.1

2007-10-10 Thread pkeane
Thanks for the speedy thoughtful reply! This helps me quite a bit best- Peter Keane On Oct 10, 1:01 pm, Michael Geary [EMAIL PROTECTED] wrote: Your raw JavaScript code has a lot of optimization that is missing in your jQuery version. In the raw version, you cache the results of the

[jQuery] Re: Dimensions plugin, offset['top'] returns 0 regardless of position

2007-10-10 Thread Alexander Bilbie
I may be wrong on this but I think it should be: f...n findHeight elem, bottomPad var height = 0; var windowHeight = $(window).height(); var elemOffset = $(elem).offset(); var elementTop = elemOffset.top;// - you stick .top on the end instead of ['top']

[jQuery] Re: ClueTip: Nice work, Karl!

2007-10-10 Thread sgrover
I found a decent article yesterday on layout of a web page's front page for marketing purposes. http://blue-gnu.biz/content/foss_project_marketing_howto_start_home Perhaps there's some tips there that might help? That said, I had no problem figuring out what ClueTip was and finding the

[jQuery] Re: How to clear setTimeout?

2007-10-10 Thread Guy Fraser
Sean O wrote: $(input).keyup(function(){ var self = this; var upd = setTimeout( function() { updateField( $(self) ); // function outside $ scope to update field contents in dB },6000); }); The upd var will

[jQuery] Re: Ajax Created table from JSON DataSet

2007-10-10 Thread howardk
Phunky, I'm playing in that area right now. The code below shows part of a Members object that reads in club membership data in json format and builds an html table from it. Each individual member object in the json is actually an array of data fields for efficiency sake, eg: {members:[ ...

[jQuery] Animation pop

2007-10-10 Thread Jangla
I've got a 3 level vertical menu working...ish. For some reason, when the animation happens, the menu fades in to the width of the link in the menu, and then pops out to the full required width. Anyone have any similar experiences or can help?

  1   2   >