[jQuery] Remove a plugin from elements

2008-06-04 Thread SiCo
Hi, I'm using the Table Hover and Table Drag and Drop plugin, I want to enable the Table Hover when an element is clicked. Easy enough: $ (#table).tableDnD(); placed inside the onlcik event of the element I want to activate the plugin. I also want to unbind the table hover plugin while the drag

[jQuery] Re: Selecting elements with multiple classes

2008-06-04 Thread Gordon
Says it found 2 rows here, which looking at the source code is exactly the expected behaviour. On Jun 4, 12:31 am, Mike Alsup [EMAIL PROTECTED] wrote: Yes, it is the way how it works. I have managed to do it as $(tr[class^='child']) Which selects all classes like class=child test

[jQuery] Re: jQuery v1.2.6 is now Officially Released and Release Notes are Available

2008-06-04 Thread Sam Collett
Looks like another good release, yet more performance improvements and a few useful new features! Regarding speed testing, maybe it is worth mentioning the PC specification of the machine that performs these tests? For example, mine (Core Duo 1.6Ghz) .extend() 1.2.3 - 63 1.2.6 - 46 .map()

[jQuery] Re: File Upload with Form Plugin

2008-06-04 Thread Pascal Zajac
You're right, it does, I changed the id for the submit button from id=submit to id=submit_button and it works as intended. I wasn't aware that 'submit' wasn't allowed; I did see the alert() about that in the source code but it didn't actually trigger so I never got the error message, and didn't

[jQuery] v1.0.2

2008-06-04 Thread Trend-King
He released version 1.0.2 really good!

[jQuery] Image Rotation

2008-06-04 Thread vinay
hi, i am trying to rotate an image with any angle and i am able to do this. But after rotaion i want to add onclick attribute on that rotated image. So that i can get id of that on click. please help me if you have done like this or have any idea. thanks vinay

[jQuery] My first jQuery

2008-06-04 Thread gandalf458
I'm trying my first simple jQuery task, a mouseover event to display a box with some text. $(p.sec-ia).addClass(unhide).show(slow); works fine but when I add the mouseover $(#section1).hover(function(){ $(p.sec-ia).addClass(unhide).show(slow); },function(){

[jQuery] Javascript canvas

2008-06-04 Thread vinay
Hi, Is there any way to add onclick property in javascript canvas. please help me. vinay

[jQuery] Creating and manually firing events

2008-06-04 Thread KayakingJoe
Hi, var myButton = dojo.byId('mybutton'); var evObjclick = document.createEvent('MouseEvents'); evObjclick.initMouseEvent( 'click', true, true, null, 0, 27, 53, 27,53, false, false, false, false, 0, null ); myButton.dispatchEvent(evObjclick); I'm looking for a cross-browser solution to the above

[jQuery] Re: File Upload with Form Plugin

2008-06-04 Thread Mike Alsup
You're right, it does, I changed the id for the submit button from id=submit to id=submit_button and it works as intended. I wasn't aware that 'submit' wasn't allowed; I did see the alert() about that in the source code but it didn't actually trigger so I never got the error message, and

[jQuery] Re: Tooltip onlink inside td falls below the table

2008-06-04 Thread asle
I found the problem. It is not reading my CSS for #tooltip. Very strange. I tried to strip my CSS completely. Still it does not read the position etc. of #tooltip. So I had to hardcode the same CSS into the plugin: .css(position,absolute)..etc. Any Idea why it does not read the CSS for the

[jQuery] Re: My first jQuery

2008-06-04 Thread Joseph DJOMEDA
hi i'm also a newby.try with something simple to see whether you have set jquery well.even copy and paste from a tuorial.just to be sure your are not looking for something elsewhere. 2008/6/4 gandalf458 [EMAIL PROTECTED]: I'm trying my first simple jQuery task, a mouseover event to display a

[jQuery] Reading http headers out of an ajax response

2008-06-04 Thread sparkpool
Hi all, I know that jquery's ajax calls set the X-Requested-With header to 'XMLHttpRequest' for ajax requests, making it really easy for the server side to detect them. Is there any way for jquery to read the http headers out an ajax response back from the server? I can see the ones I'm

[jQuery] Re: jQuery v1.2.6 is now Officially Released and Release Notes are Available

2008-06-04 Thread John Resig
Still a performance improvement, but not as great as the test machine - i.e. the faster the client PC processor, the better the performance improvement (I don't think RAM will have much of an impact as the CPU is doing the work). How so? Your .extend() improved by 37% and your .map()

[jQuery] Re: My first jQuery

2008-06-04 Thread Sean O
Did you place your code inside jQuery's document ready function? $(document).ready(function() { $(#section1).hover(function(){ $(p.sec-ia).addClass(unhide).show(slow); },function(){

[jQuery] Re: My first jQuery

2008-06-04 Thread Scott Sauyet
gandalf458 wrote: I'm trying my first simple jQuery task, a mouseover event to display a box with some text. $(p.sec-ia).addClass(unhide).show(slow); works fine but when I add the mouseover $(#section1).hover(function(){ $(p.sec-ia).addClass(unhide).show(slow); },function(){

[jQuery] Re: Creating and manually firing events

2008-06-04 Thread Richard D. Worth
What timing. Eduardo Lundgren and I have just been working on a plugin to do this to help with jQuery UI testing: http://ui.jquery.com/bugs/browser/trunk/ui/tests/jquery.simulate.js?rev=140 No Safari 2 support at this time (since UI supports only 3+), but Eduardo said he'll add it at some point

[jQuery] Re: Cornerz 0.4

2008-06-04 Thread Andy Matthews
I'm really disappointed with this script. I spent about an hour last night trying to get it to work (part of which was my Mac's fault) and when I finally did, it kept showing the squared-off corners in addition to the rounded corners. I finally figured out that the corner has to be set to the

[jQuery] Re: [ANNOUNCE] jFlip plugin

2008-06-04 Thread Andy Matthews
Mike... When I'm trying to grab the bottom right corner, and flip it to the left, I keep wanting to move my mouse past the edge of the flip area (just like I would with a real book). If the flip area were in the middle of the window, that would be no big deal. However since the flip area is

[jQuery] strange error with plugin validation

2008-06-04 Thread k8
Hi guys, i have this strange error with plugin validation. This is my code: http://rafb.net/p/L0yQZ681.html Thx @ all.

[jQuery] Collecting info on sites using jquery.

2008-06-04 Thread Istvan Orban
Hi All, I have been using jQuery now more then 6 months. It is amazing. Although as a Java Programmer I found it very difficult to turn my head around, and start using prototypal inheritance and all the Javascript stuff. I have checked in many Frameworks, and jQuery seemed to be the least

[jQuery] Re: jQuery v1.2.6 is now Officially Released and Release Notes are Available

2008-06-04 Thread Sam Collett
I suppose a few % points off isn't that much of a difference and in some cases were even better. But I expect mine isn't too far off the test machine. Think I got my maths the wrong way round: ((1.2.3 time - 1.2.6 time) / 1.2.3 time) * 100 e.g. for .extend(): ((63 - 46) / 63) * 100 (17 / 63) *

[jQuery] Re: jQuery v1.2.6 is now Officially Released and Release Notes are Available

2008-06-04 Thread John Resig
.extend() was used extensively in the event handling code, hence the need for improvement. How does it compare with other libraries now? How does what compare? No other library is making the optimizations we are - or even examining how to perform faster operations here. --John

[jQuery] Re: Collecting info on sites using jquery.

2008-06-04 Thread Joe
I think if you check out Liferay ( http://www.liferay.com ) you should see the purest usage of portlets and their relationship to jQuery. Liferay runs on Java (Velocity Templates) and uses jQuery as their preferred library. The solution is incredibly robust and shows how one can integrate jQuery

[jQuery] Re: [ANNOUNCE] jFlip plugin

2008-06-04 Thread Joe
Awesome plugin. Well done. Joe www.subprint.com On Jun 4, 8:28 am, Andy Matthews [EMAIL PROTECTED] wrote: Mike... When I'm trying to grab the bottom right corner, and flip it to the left, I keep wanting to move my mouse past the edge of the flip area (just like I would with a real book).

[jQuery] Re: Cornerz 0.4

2008-06-04 Thread DaveG
Andy Matthews wrote: it kept showing the squared-off corners in addition to the rounded corners. I finally figured out that the corner has to be set to the same color as the background. Ah, thanks for that. I had the same squared off problem (only in FF though). However in my case I'm using

[jQuery] Re: My first jQuery

2008-06-04 Thread gandalf458
Thanks guys. I am trying to do something based on what I've seen in a couple of the tutorials. But I think it's more different that I realise. The page I'm playing with is at http://www.compassion-in-business.co.uk/x.php Thanks

[jQuery] Re: Collecting info on sites using jquery.

2008-06-04 Thread Seth - TA
Here is a HUGE list, enjoy - http://docs.jquery.com/Sites_Using_jQuery On Jun 4, 6:36 am, Istvan Orban [EMAIL PROTECTED] wrote: Hi All, I have been using jQuery now more then 6 months. It is amazing. Although as a Java Programmer I found it very difficult to turn my head around, and start

[jQuery] Re: Cornerz 0.4

2008-06-04 Thread Andy Matthews
I want to clarify my point on this. Of all the corner plugins, I think this one is the best. It results in the least amount of extra code, and it's quite elegant. However, the page background issue is going to be a dealbreak for a good amount of people, myself included. If I was willing to forgo

[jQuery] Re: strange error with plugin validation

2008-06-04 Thread Jörn Zaefferer
What is the strange error you see? Please clarify. Meanwhile, this looks like it shouldn't be there: $(#joinusCompleteForm).submit(function(){ $(#joinusCompleteForm).validate(); }); Jörn On Wed, Jun 4, 2008 at 2:43 PM, k8 [EMAIL PROTECTED] wrote: Hi guys, i have this strange error with

[jQuery] Re: Tooltip onlink inside td falls below the table

2008-06-04 Thread Jörn Zaefferer
It would help a lot to see a testpage. Jörn On Wed, Jun 4, 2008 at 1:16 PM, asle [EMAIL PROTECTED] wrote: I found the problem. It is not reading my CSS for #tooltip. Very strange. I tried to strip my CSS completely. Still it does not read the position etc. of #tooltip. So I had to hardcode

[jQuery] Re: jQuery v1.2.6 is now Officially Released and Release Notes are Available

2008-06-04 Thread Sam Collett
Mainly CSS selector tests, but perhaps also methods that may be common among libraries (like map, extend), but that may be more difficult. There is this one, but it uses old libraries (not just jQuery): http://dev.jquery.com/~john/slick/ -Sam On Jun 4, 3:52 pm, John Resig [EMAIL PROTECTED]

[jQuery] Re: Select lists in 1.2.5

2008-06-04 Thread Ariel Flesler
I'm even happier :) -- Ariel Flesler http://flesler.blogspot.com On 3 jun, 15:10, Photic [EMAIL PROTECTED] wrote: Appears to work just fine in 1.2.6 (without having to convert to string) I'm happy once again :) On May 22, 10:30 pm, Photic [EMAIL PROTECTED] wrote: Aah, functionality

[jQuery] Re: jQuery v1.2.6 is now Officially Released and Release Notes are Available

2008-06-04 Thread Alexsandro_xpt
Cool!!! -- www.alexsandro.com.br On 3 jun, 14:46, Rey Bango [EMAIL PROTECTED] wrote: jQuery v1.2.6 is now official and release notes have been posted:http://docs.jquery.com/Release:jQuery_1.2.6 The biggest changes are improvements in performance, especially event handling, which is now

[jQuery] jQuery and Information Architecture

2008-06-04 Thread Glen Lipka
I had written something a while back on IA using jQuery for the purpose of a book. The book is in hibernation, but I am fond of the content. It shows how to use IA techniques and jQuery to make your user happier and more productive. http://www.commadot.com/book/UX/UX-Tabs.pdf I'm not looking

[jQuery] Re: Sortable - onUpdate

2008-06-04 Thread denise
That explains the problem, there are two separate libraries jQuery/UI and Interface. Duh. I think I like the one for Interface better, but it looks as though they may be unsupported now. Does anyone know the status? Thank, d. On Jun 3, 7:31 pm, Richard D. Worth [EMAIL PROTECTED] wrote:

[jQuery] Re: Sortable - onUpdate

2008-06-04 Thread Richard D. Worth
That's right. Interface is no longer being supported/improved and is being replaced by jQuery UI. You can think of it as the next version of Interface, but it's totally reworked. - Richard On 6/4/08, denise [EMAIL PROTECTED] wrote: That explains the problem, there are two separate libraries

[jQuery] firebugExecuteCommand and $ becoming a function called anonymous

2008-06-04 Thread Peter Bengtsson
My site stopped working because $ is no longer an alias for jQuery. Instead it's this function: function anonymous() { return window.console.notifyFirebug(arguments, $, firebugExecuteCommand); } I suspect that my Firebug (version 1.2.0a21X) has incorrectly set itself as an alias for $. Does

[jQuery] Re: [ANNOUNCE] jFlip plugin

2008-06-04 Thread Renato Formato
I'm surprised that this didn't get more reaction when posted. Maybe just because Magnify was posted the same day. I for one am very impressed. To realize that this is written in Javascript is quite exciting. Thanks for the nice work. Thanks Scott, I was surprised too, however it has

[jQuery] Re: firebugExecuteCommand and $ becoming a function called anonymous

2008-06-04 Thread Morgan Allen
I was having that problem too, but I think upgrading to 1.2b1 fixed it. On Wed, Jun 4, 2008 at 10:00 AM, Peter Bengtsson [EMAIL PROTECTED] wrote: My site stopped working because $ is no longer an alias for jQuery. Instead it's this function: function anonymous() { return

[jQuery] Re: jQuery v1.2.6 is now Officially Released and Release Notes are Available

2008-06-04 Thread John Resig
Sure, we'll take credit for that :-) --John On Wed, Jun 4, 2008 at 12:28 PM, Josh Nathanson [EMAIL PROTECTED] wrote: Great job on this release guys. I also noticed when developing a plugin that it seems the memory management in IE6 is greatly improved. I accidentally was using 1.2.1 while

[jQuery] Re: My first jQuery

2008-06-04 Thread Scott Sauyet
gandalf458 wrote: Thanks guys. I am trying to do something based on what I've seen in a couple of the tutorials. But I think it's more different that I realise. The page I'm playing with is at You're using an id selector, #section1, but your markup is using section1 as a class. Either

[jQuery] jQuery + jCarousel Picture Gallery working fine in Firefox but not in IE

2008-06-04 Thread Naveen
Hi, I'm trying to make a picture gallery using jCarousel ( http://sorgalla.com/projects/jcarousel/ ) and other jQuery features, powered by Perl/CGI and XML at the backend. The initial version of the gallery at http://gallery.naveeng.com/trek.html is working fine in both FF and IE. Clicking a

[jQuery] Re: My first jQuery

2008-06-04 Thread gandalf458
Oh what a plonker! Thanks for that. Works a treat now. Now I can play with different effects. Cheers G :)

[jQuery] Sorting Divs by Span Value

2008-06-04 Thread Seth - TA
I got a little bit of info from this old thread - http://groups.google.com/group/jquery-en/browse_thread/thread/e0d6c199552dd1f7/145d28867f5e9577?lnk=gstq=sorting#145d28867f5e9577, however, not enough. For some reason, when sorting numbers, it disregards the second number. So if I have {11,100,

[jQuery] JQuery: Rendering in IE7

2008-06-04 Thread Taff
Hey, I've started using JQuery and am really happy with how things are progressing, but I am having an issue that would appear to be related to how IE is rendering some text after it has been brought in using show('slow'). The problem is the Events Exhibitions Calendar text at the bottom on

[jQuery] jMaps Plugin - Unable to Add Custom Icon for Marker

2008-06-04 Thread Joe
var $j = jQuery.noConflict(); $j().ready(function() { var myIcon = $j.jmap.createIcon( { iconImage: http://www3.travelinfony.com/carsgoogle/images/ camera.gif, iconSize : new GSize(15, 13), iconAnchor : new GPoint(9, 34), infoWindowAnchor : new GPoint(9, 2) });

[jQuery] multiple selectors: returns array NOT in order of DOM

2008-06-04 Thread andjules
this is not a surprise... it is right in the docs: http://docs.jquery.com/Selectors/multiple#selector1selector2selectorN Note order of the dom elements in the jQuery object aren't necessarily identical. BUT, I need to match a handful of things and add to the first match in the DOM, e.g.:

[jQuery] Adverts destroy my JavaScript

2008-06-04 Thread [EMAIL PROTECTED]
Hi there, I noticed a problem while including layer-ads. Firebug says $(body) has no properties HTML: script type=text/javascript src={$path_js}plugins/jquery.js/ script script type=text/javascript src={$path_js}ajax.js/script script type=text/javascript src={$path_js}logoutScreen.js/ script

[jQuery] Re: multiple selectors: returns array NOT in order of DOM

2008-06-04 Thread Klaus Hartl
I can only think of somehow circumventing to use grouped selectors, e.g. search by class (which is ugly probably): $('.find-me').eq(0).addClass('found-it'); or search by universal selector and filter by type afterwards: $('body *').filter('h2, h4, p, ul').eq(0).addClass('found-it'); Not sure

[jQuery] Re: jMaps Plugin - Unable to Add Custom Icon for Marker

2008-06-04 Thread Joe
For anyone that may want the answer to this, it is simple. In the options hash of the addMarker function, change 'icon' to 'pointIcon' and presto. Joe www.subprint.com On Jun 4, 3:39 pm, Joe [EMAIL PROTECTED] wrote: var $j = jQuery.noConflict(); $j().ready(function() { var myIcon =

[jQuery] Re: jCarousel - Multiple rows in horizontal mode (or cols in vertical mode)

2008-06-04 Thread andrew morton
Rocking the tables like it's 1995... no better options? I guess if the rows were divs with several images you could achieve the same effect. On Apr 30, 11:54 am, Jan Sorgalla [EMAIL PROTECTED] wrote: Hi, you can put whatever you want inside the li items. It can be a single image or a table

[jQuery] Extend Autocomplete

2008-06-04 Thread Tyler
I have a JavaScript function that makes an Ajax call and returns results into a local variable. I would like to call this function from the Autocomplete plugin (http://bassistance.de/jquery-plugins/ jquery-plugin-autocomplete/) as my Ajax data souce. I understand that Autocomplete can use

[jQuery] Re: Extend Autocomplete

2008-06-04 Thread Jörn Zaefferer
Currently the plugin is constructed around the two supported datasources, while needing a lot of refactoring to offer proper support for other datasources. As your datasource runs async, an option may be to intercept the $.ajax method (see http://docs.jquery.com/Types#Proxy_Pattern). Your proxy

[jQuery] pausing a link and resuming its normal behavior

2008-06-04 Thread Shelane
If I click a link, I want to trigger a modal, and based on a response from the modal, I either want to cancel the link click or make the link be followed. Has anyone done this sort of thing or know how to accomplish it?

[jQuery] Refactoring Functions

2008-06-04 Thread Chris P
I wanted a script that would make a sticky footer, and it worked perfectly with this (where 341 is the elements to offset). var height = $(document).height(); var height = height - 341; $('#footer').css('margin-top', height); Then I want this code to re-run on browser resize. I also want to

[jQuery] Re: multiple selectors: returns array NOT in order of DOM

2008-06-04 Thread andjules
thanks, that pointed me in the right direction... On Jun 4, 5:12 pm, Klaus Hartl [EMAIL PROTECTED] wrote: I can only think of somehow circumventing to use grouped selectors, e.g. search by class (which is ugly probably): $('.find-me').eq(0).addClass('found-it'); or search by universal

[jQuery] Re: Cornerz 0.4

2008-06-04 Thread sparkpool
Not a totally great solution, but there are proprietary browser-specific attributes you could try, for Firefox and I think Safari. On Wed, Jun 4, 2008 at 11:17 AM, Andy Matthews [EMAIL PROTECTED] wrote: I want to clarify my point on this. Of all the corner plugins, I think this one is the

[jQuery] Re: Refactoring Functions

2008-06-04 Thread Carl Von Stetten
How about this (untested): var stickyFooter = function() { var height = $(document).height(); var height = height - 341; $('#footer').css('margin-top', height); } $(document).ready( stickyFooter(); ); $(window).resize( stickyFooter() ); HTH, Carl Chris P wrote: I wanted

[jQuery] jqModal question

2008-06-04 Thread Mistraal
Good evening, I'm having a relatively small problem using jqModal. (I hope) I have a page that contains a form. This form contains an input box. A link beside this input box opens a jqModal window, so far no problems. In this modal window I show the results of a database search with

[jQuery] Re: Reading http headers out of an ajax response

2008-06-04 Thread sparkpool
Sorry to be a pest, but any takers on this? Does anyone know if it's possible at all in javascript? Thanks On Wed, Jun 4, 2008 at 7:21 AM, sparkpool [EMAIL PROTECTED] wrote: Hi all, I know that jquery's ajax calls set the X-Requested-With header to 'XMLHttpRequest' for ajax requests,

[jQuery] Re: Refactoring Functions

2008-06-04 Thread Carl Von Stetten
Better yet, change line second line of stickFooter function to: var height = $(document).height() - 341; And remove the third line entirely. Carl Carl Von Stetten wrote: How about this (untested): var stickyFooter = function() { var height = $(document).height(); var height =

[jQuery] Re: jqModal question

2008-06-04 Thread Josh Nathanson
Adam - you have to bind the jqmClose class in the onLoad callback. Otherwise, the links are not there to be bound yet. So you might have something like this: $(#modaldiv).jqm({ trigger: 'a.modal_link', ajax: '@href', onLoad: function() {

[jQuery] Re: Reading http headers out of an ajax response

2008-06-04 Thread Karl Rudd
From a quick Google search I found (http://www.hunlock.com/blogs/AJAX_for_n00bs): # AJAX.getAllResponseHeaders() -- returns as a string all current headers in use. # AJAX.getResponseHeader(headerLabel) -- returns value of the requested header. Karl Rudd On Thu, Jun 5, 2008 at 9:32 AM,

[jQuery] help with array for flot

2008-06-04 Thread rolfsf
I'm playing with the flot plugin (http://code.google.com/p/flot/) and need a little help I want to take data from a series of text inputs (Quantity/Price pairs) and plot them when a button is clicked. I just don't understand enough about javascript and arrays to know how to make an array from

[jQuery] Re: Sorting Divs by Span Value

2008-06-04 Thread Dave Methvin
For some reason, when sorting numbers, it disregards the second number. So if I have {11,100, 500} it would sort it {100,11,500}. That is completely wrong. Looks like it's doing a character sort, at least for the data set you have there. Can you show the specific markup you'll have in this

[jQuery] Re: Refactoring Functions

2008-06-04 Thread Chris P
Better yet, change line second line of stickFooter function to: var height = $(document).height() - 341; And remove the third line entirely. Carl Thanks for responding Carl. This is what I ended up using as you prescribed. script type=text/javascript var stickyFooter = function() {

[jQuery] Help with tabsLoad

2008-06-04 Thread keny
Hi thanks for reading I am trying to load a link in a tab with this function with no result :-( function loadTab(tab){ var tab; var $tabs = $('#container-8').tabs; var selected = $tabs.tabsSelected(); $tabs.tabsLoad(selected,tab); } /script The tab variable contain the page to

[jQuery] text box keeps focus when another element type is clicked ?

2008-06-04 Thread paulj
Hi, When a text box has the focus, I would like it to keep the focus even when another element type (not another text box) is clicked. eg after clicking this other element type, the user can press a key(s) and the text box will accept this key input without the user having to click back into the

[jQuery] Re: help with array for flot

2008-06-04 Thread Leanan
This is kinda pseudocodish, but it should do what you want: $('button selector').click(function() { $('table tr').each(function() { x = $(this + 'td:eq(1)'); //should grab the second td y = $(this + 'td:eq(2)'); //should grab the third td push(array,[x,y]); }); }); Of course

[jQuery] Re: thoughts ? Announcing AJAX Libraries API: Speed up your Ajax apps with Google’s infrastructure

2008-06-04 Thread Matt Wilson
I'm trying to use the this, and I used a script tag to load, but then when I tried to use the $(...), it seems to point to something else entirely. The jQuery(...) function still works fine. This is copied from a firebug console: $(div) null jQuery(div) [div#header, div.bottomleft,

[jQuery] jquery.flash error

2008-06-04 Thread skunkwerk
I'm getting the error: block.call is not a function in line 95 of jquery.flash.js, as reported by firebug here's my javascript code: $('#portal').flash( { src: 'http://www.akbar.net/media/portal.swf', base: http://akbar.net/path/file/;, width: 600,

[jQuery] Re: jquery json and zend_json

2008-06-04 Thread justcaldwell
I think you need to add more than '[]' to the json response. When you use the ...callback=? parameter, jQuery automatically generates a http://bob.pythonmac.org/archives/2005/12/05/remote-json-jsonp/ JSONP callback value and substitutes it for the '?'. So, the parameters that get sent to your

[jQuery] jQuery().focus() not working in IE 7

2008-06-04 Thread nandu
Dear Folks, I have been having a problem with the jquery foucs function not working in IE 7. I have a small piece of code showing a textbox that is initially hidden. Below is a simplified framework of the function that does the opening function (textbox_id) { jQuery('#' +

[jQuery] Re: help with array for flot

2008-06-04 Thread rolfsf
cool - that's part of what I need. Since I'm actually using inputs in the td's, wouldn't I need to get the value of the input within each td? maybe I can figure that out from here... (there's actually a plugin that converts tables to flot graphs... but since I'm using inputs in a table, I

[jQuery] Re: pausing a link and resuming its normal behavior

2008-06-04 Thread Karl Swedberg
Hi Shelane, Have you considered using a simple confirm message? For example: $('a').click(function() { var c = confirm('are you sure?'); if (!c) return false; }); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jun 4, 2008, at 6:25 PM,

[jQuery] Re: Refactoring Functions

2008-06-04 Thread Karl Swedberg
Hi Chris, Looks like the problem lies with the lines where the function is being called. Either put it inside an anonymous function or use a named reference to the function instead. Try something like this. $(document).ready(function() { stickyFooter(); $(window).resize(function()

[jQuery] Re: Refactoring Functions

2008-06-04 Thread Klaus Hartl
On 5 Jun., 06:22, Karl Swedberg [EMAIL PROTECTED] wrote: or this ... $(document).ready(function() {     stickyFooter();     $(window).resize(stickyFooter); }); How about: $(function() { $(window).resize(stickyFooter).trigger('resize'); }); You wouldn't need a named function here