[jQuery] Re: Autosuggest

2007-11-19 Thread Gordon
Thanks for the suggestion, but it came too late. I've now already written something that seems to work pretty well. Will post source later for comments and in the hopes someone else will find it useful. On Nov 19, 6:49 pm, Sean O [EMAIL PROTECTED] wrote: Gordon, I think the quickSearch

[jQuery] Re: What causes the speed bottleneck in Javascript?

2007-11-15 Thread Gordon
Just because the code is open source doesn't mean there's no usage restrictions in what you can do with it. Most open source licenses take a dim view of using open source code in closed source commercial software, as there's always a risk that if it was allowed then the commercial organization

[jQuery] Re: hiding checkbox AND label?

2007-11-15 Thread Gordon
If your HTML is like this: labelLabel text hereinput type=checkbox //label then you can give the label an ID and hide that. label id=myLabel1Label text hereinput type=checkbox //label $('#myLabel1').hide (); If you're using the FOR attribute to hide then there are a few approaches. The

[jQuery] Re: Canceling an animation

2007-11-02 Thread Gordon
To abort before the animation starts you'd use slearTimeout. In the case where the animation has already started you'd use $ (selector).stop () On Nov 2, 12:17 am, S. Robert James [EMAIL PROTECTED] wrote: I have an animation that runs after a delay:

[jQuery] Re: LiveQuery (Discuss Please)

2007-11-01 Thread Gordon
As far as I cel tell LiveQuery runs every time the DOM is modified, adding extra overhead to the already slow DOM operations (This isn't jQuery or LiveQuery's fault, it's just a fact of web development that manipulating the DOM is slow). If you can get away without using LiveQuery then it's best

[jQuery] Re: Fixing divs with jquery (adding /div)

2007-10-29 Thread Gordon
There is no reliable way of fixing that in JavaScript, which is strongly dependant on having a well-formed DOM structure to work with. Besides, it would be a waste of processor cycles on the client side. Surely it couldn't be difficult for the server side developers to fix the scripts that

[jQuery] Re: detailed balloon?

2007-10-29 Thread Gordon
It's pretty simple to implement, just have a hidden absolute positioned div that gets shown and has its position set on mouseover. That's how the jargon buster I wrote for www.pcwb.com works, in fact. On Oct 29, 12:14 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: hi, Does jQuery have

[jQuery] Re: .attr(type,hidden)

2007-10-29 Thread Gordon
If you're trying to select hidden fields, then use $('input:hidden') or $('input[type='hidden']) If you are trying to make selected form fields invisible then use $ ('input').hide (); On Oct 29, 3:56 pm, Robert O'Rourke [EMAIL PROTECTED] wrote: Hi, does $(some selector).attr(type,hidden) work

[jQuery] Re: load a file from local file system

2007-10-26 Thread Gordon
No, this is deliberately left out of javascript on the grounds that it could prove a massive security risk if abused. On Oct 26, 10:49 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, the $(element).load(url) works well, but is there a way load from a local file system? thanks. A.C.

[jQuery] Re: load a file from local file system

2007-10-26 Thread Gordon
:16 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: hi, ok, so javascript does not have a way to access local file. a related question, can ajax loaded file be cahced? On Oct 26, 6:37 pm, Gordon [EMAIL PROTECTED] wrote: No, this is deliberately left out of javascript on the grounds

[jQuery] Re: XHTML snippets in responseXML

2007-10-25 Thread Gordon
When I need to include HTML fragments in a XML file I tend to use the CDATA construct to wrap the HTML markup so it gets treated as plain text, then inject it into the DOM as yo uwould any string with HTML markup in it, using either the html (markup) or $(markup) approaches as appropriate. On

[jQuery] Custom Events in jQuery

2007-10-18 Thread Gordon
After developing a rather complex JavaScript application I found myself starting to get frustrated with the rather limited set of events that JavaScript itself defines. As the project progressed it became more dependant on multiple objects, all of which had to be as self-contained as humanly

[jQuery] Re: Custom Events in jQuery

2007-10-18 Thread Gordon
it would be to implement a system of custom events on top of the jQuery event system. After reading the article I started imagining something like this. $.event.register ('collapse'); to register a new event, and $.event.trigger ('collapse'); to fire it. Gordon, You can already do

[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: Debugging in Safari 2

2007-10-02 Thread Gordon
] wrote: gordon - did you find out anything about safari js/jquery bugs in general? I am up against a similar issue. On Sep 25, 9:26 am, Gordon [EMAIL PROTECTED] wrote: I really need a hand with my IT Assistant project (http://www.pcwb.com/ assistants/) and an issue inSafariversion 2

[jQuery] Amazing new navigation technology!

2007-09-28 Thread Gordon
Try dropping this amazing new script onto a page with hyperlinks, your users will never forget the experience. (requires jQuery 1.2) script type=text/javascript src=/js/jquery/jquery.js/script script type=text/javascript $(document).ready (function () { var thisWidth = $(window).width

[jQuery] Re: Checkbox checked event

2007-09-25 Thread Gordon
You['d use the click event and test the checked state in the event handler $('#myCheckBox').click (function () { var thisCheck = $(this); if (thischeck.is (':checked')) { // Do stuff } }); On Sep 24, 10:04 pm, voltron [EMAIL PROTECTED] wrote: How do I detect if a

[jQuery] Re: Why doesn't jQuery complete animations smoothly?

2007-09-25 Thread Gordon
I've run into this problem a couple of times and found it was caused by having padding on the container beign animated. Padding isn't taken into account when computing an element's dimensions (or at least the specs say it shouldn't be) so a box with a height of 400px and padding of 5px all

[jQuery] Re: IT Assistant

2007-09-25 Thread Gordon
too late in the game to include them. On Sep 24, 2:21 pm, GianCarlo Mingati [EMAIL PROTECTED] wrote: On Sep 24, 1:17 pm, Gordon [EMAIL PROTECTED] wrote: Well it's finally ready enough to go live so now I can plug the big jQuery-driven project I've been working on. Gordon, that is a really

[jQuery] Re: Save Your Liver.................

2007-09-25 Thread Gordon
I ate your liver with fava beans and a nice chianti. On Sep 25, 9:41 am, Juicy Hilton [EMAIL PROTECTED] wrote: Fatty Liver May Result From Eating Quick-Burning Carbshttp://myfunnycollections.blogspot.com/2007/09/fatty-liver-may-result...

[jQuery] Debugging in Safari 2

2007-09-25 Thread Gordon
I really need a hand with my IT Assistant project (http://www.pcwb.com/ assistants/) and an issue in Safari version 2. As it works in Safari 3/Win I'm assuming that it's a bug in Safari itself, but as our website stats indicate that Safari 2 is the most popular version by far it's something I

[jQuery] Re: Windows Optimization Tips

2007-09-24 Thread Gordon
spam spam spam spam spam spam spam spam spam spam spam spam spam beans chips and spam On Sep 22, 2:56 pm, John Travolta [EMAIL PROTECTED] wrote: http://windowsfreetips.blogspot.com/

[jQuery] Re: ANNOUCE: jQuery lightBox plugin

2007-09-24 Thread Gordon
Interesting looking plugin, I'm curious though, how does it compare to the thickbox plugin? Does it allow accessing HTML pages through AJAX and displaying them like thickbox does? On Sep 23, 10:46 pm, Leandro Vieira Pinho [EMAIL PROTECTED] wrote: jQuery lightBox plugin is a powerful and simple

[jQuery] IT Assistant

2007-09-24 Thread Gordon
Well it's finally ready enough to go live so now I can plug the big jQuery-driven project I've been working on. It's called IT Assistant and is intended to make shopping to IT equipment easier (and more fun from the comments I've had back on it so far :) ). http://www.pcwb.com/assistants/ the

[jQuery] Re: BlockUI question

2007-09-21 Thread Gordon
Thanks for looking into that Mike, I appreciate it. On Sep 21, 12:29 am, Mike Alsup [EMAIL PROTECTED] wrote: I've faced the same frustration. Why not just hide the displayed div rather than removing it from the DOM? This would be my preference as well. Perhaps as an option. Yeah, I

[jQuery] Closing a thickbox from within a Flash movie

2007-09-21 Thread Gordon
I have been asked to update a website that provides help to the user by opening up Flash videos in popups when the user clicks a link. The Powers That be want them to open in the page itself, so I've decided to use a thickbox that links to a HTML page with the flash movie embedded in it. This

[jQuery] Sorting a jQuery object?

2007-09-21 Thread Gordon
I need to be able to reorder elements based on criteriaso I tried coming up with a sorting function. I ended up with something along these lines: var myElems = $(mySelector); var temp = myElems.get ().sort (function (a, b) {// sort code goes here}); myElems = $(temp); This seems to work but

[jQuery] BlockUI question

2007-09-20 Thread Gordon
I have been using the blockUI extension for a while and am overall happy with it, but I do have one issue that I would like to resolve with it. As far as I can tell the blockUI extension destroys the element it is using to display as it's message when you unblockUI. This isn't an issue for

[jQuery] Re: PERFORMANCE TIP: removeClass()

2007-09-19 Thread Gordon
Good rule of thumb in all programming is to keep function calls to a minimum. Chaining is a powerful jQuery feature but it's also expensive even in script engines that aren't as utterly awful as IE's. This is a prime example. Another tip that's pertinent to Javascript and jQuery is DOM access

[jQuery] Re: Interface v1.2 Error with jQuery v1.2.1

2007-09-18 Thread Gordon
My understanding is that the Interface library has been depreciated in favour of jQuery UI. I have found the Interface library to be rather buggy even with a supported version of jQuery though, and have ended up coming up with my own solutions to interface problems instead. I don't think UI

[jQuery] Re: $.ajax correctly works in all browsers except opera 8.5

2007-09-13 Thread Gordon
I believe Opera 9 is considered the minimum requirement for jQuery. On Sep 13, 1:42 am, Equand [EMAIL PROTECTED] wrote: in this sitehttp://jppromo.ru ajax works completely on all browsers except opera 8.5 and it seems i can't find the source of a problem... i thought maybe opera 8.5 talks

[jQuery] Re: Why is jQuery so slow?

2007-09-13 Thread Gordon
Build your table offline by creating an array and push() new segments into it. Finish by hoin()ing the array and injecting the result into the HTML. On Sep 13, 2:44 am, David Cramer [EMAIL PROTECTED] wrote: http://dpaste.com/hold/19433/ I hadn't noticed this until someone actually loaded up

[jQuery] jQuery.dequeue is not a function

2007-09-12 Thread Gordon
In a web application I am working on there is a menu that slides down when you mouseover something and slides back up when you mouseout again. If you did this too quickly the result would be that the animation would bounce up and down quite comically with no way to stop it other than waiting for

[jQuery] Re: Animation bug in 1.2 (@Brian and @John)

2007-09-12 Thread Gordon
This issue just bit me spectacularally in the backside due to the fact that I'm trying to scroll one div inside another by adjusting the inner's div top relative to the container div. when scrolling right this value becomes negative and the result is a relative animation instead of an absolute

[jQuery] Re: jQuery.dequeue is not a function

2007-09-12 Thread Gordon
Seems to be something caused by an incompatibility with interface. Once the interface lib and all calls ot it are commented out it works. On Sep 12, 3:27 pm, Stephan Beal [EMAIL PROTECTED] wrote: On Sep 12, 3:10 pm, Gordon [EMAIL PROTECTED] wrote: However, I just got the error message

[jQuery] Re: NEWS: jQuery 1.2 Released

2007-09-11 Thread Gordon
I noticed some mentions made in the documentation regarding features to manipulate the animation queue. Does this mean that it's possible to queue up groups of animations where you want several sets of animations to occur one after the other? Or will we seill need to use Erik's excellent

[jQuery] Re: .height() on elements within hidden blocks returns 0

2007-09-06 Thread Gordon
Sorry but no. When an element is set display: none it has no dimensions. What you could possibly do is set the container to not be hidden but wit ha style of visibility: hidden. While you can't see an invisible element it still has dimensions. Height() will work then. On Sep 4, 9:23 pm,

[jQuery] overflow: scroll and hidden scrollbars

2007-09-06 Thread Gordon
I have a list I want to scroll horizontally, like a strip. I've done this by creating a viewport div with overflow: hidden set, and placed a longer div inside it that contains the items I want to scroll. I scroll it by changing it's left property. This works okay, but can be a little sluggish

[jQuery] hyperlinks don't work with blockui in IE

2007-09-04 Thread Gordon
In the application I am developing I am creating a list of items, each of which have a hyperlink associated. This hyperlink links through to a shopping backet so you can purchase the item when the link is clicked. I list the items that have been selectd in a list and to prevent the underlying

[jQuery] Re: hyperlinks don't work with blockui in IE

2007-09-04 Thread Gordon
Thanks, but I couldn't get that to work, I can't get the dialog to position where I want it to go ot to take the correct size and the result just looks like a total mess. On Sep 4, 2:24 pm, Quayfee [EMAIL PROTECTED] wrote: Hi Gordon, I don't know if it's of any use to you, but I hit a similar

[jQuery] Re: hyperlinks don't work with blockui in IE

2007-09-04 Thread Gordon
I did come up with a solution that appears to solve the problem, although it's not exactly elegant. Once the generated content is in the DOM I can do the following: if ($.browser.msie) $('.myDiv a.myLinks').click (function (){location.href = this.href}); On Sep 4, 3:35 pm, Gordon [EMAIL

[jQuery] Re: select two class elements

2007-09-03 Thread Gordon
If you want elements that have a next OR an open class, then it would be $ ('.next, .open'); If you want elements that have a next AND an open class then it would be $('.next.open'); On Sep 3, 1:20 am, xni [EMAIL PROTECTED] wrote: Hello, I would like to select elements with two class (eg:

[jQuery] Re: jQuery 1.1.4 incompatible with Interface 1.2

2007-08-30 Thread Gordon
Interface isn't really being maintained anymore. As jQuery has updated to new versions more and more interface issues have emerged. because interface isn't being updated you only have 3 options: 1) Stick with an older version of jQuery 2) Wait for the new ui library to replace Interface 3)

[jQuery] Re: simple math: add all values of (span class=number) and output result

2007-08-30 Thread Gordon
Just hammered together in a few seconds as I typed, might not work var runningTotal = 0; $('.number').each (function () { runningTotal += ($(this).html () * 1); // The multiply forces a typecast from string to a number type }); $('.result').html (runningTotal); On Aug 30, 12:09 am, bytte

[jQuery] Re: compare two arrays

2007-08-29 Thread Gordon
Map and reduce iterate over the array as well so the only speedup you'd gain from using them is the fact that they're natively implemented and not written in JavaScript themselves. They still represent functions that loop over arrays. On Aug 29, 7:12 am, Sean Catchpole [EMAIL PROTECTED] wrote:

[jQuery] Re: Keeping a mouseover-triggered animation from running

2007-08-28 Thread Gordon
of the event handlers but it doesn't work properly. Please please please, if anyone has any ideas, let me know because this is proving a major frustration. On Aug 25, 4:12 pm, Gordon [EMAIL PROTECTED] wrote: Anyone? On Aug 24, 3:40 pm, Gordon [EMAIL PROTECTED] wrote: I had a look at hoverIntent

[jQuery] Re: Keeping a mouseover-triggered animation from running

2007-08-25 Thread Gordon
Anyone? On Aug 24, 3:40 pm, Gordon [EMAIL PROTECTED] wrote: I had a look at hoverIntent, but while it does seem to make the problem occur less often it doesn't prevent it entirely. Here's an example that illustrates the problem I'm having (using hover instead of hoverIntent so

[jQuery] Re: Keeping a mouseover-triggered animation from running

2007-08-24 Thread Gordon
=list_HPNB0456 style=top: 298px; left: 618px; width: 146px; height: 66px;This is a test/li /ol /body /html On Aug 20, 5:31 pm, Stephan Beal [EMAIL PROTECTED] wrote: On Aug 20, 6:25 pm, Gordon [EMAIL PROTECTED] wrote: My first attempt simply did an animate () on the hovered item and another one when

[jQuery] Re: divert click to an anchor

2007-08-22 Thread Gordon
If the anchor you want to fire is inside the div and is the only anchor in the div then maybe this might work. $('div.test').click (function () { alert ('div.test clicked'); $('a', this).trigger ('click'); }); On Aug 22, 2:53 am, John Liu [EMAIL PROTECTED] wrote: htmlhead script

[jQuery] Get size for elements that don't exist yet

2007-08-22 Thread Gordon
I have found that in some applications I need to know the size or other CSS attributes of elements that haven't been inserted int othe DOM yet. So far I've been doing this by inserting an example of the element I need the size of into the DOM, selecting it, getting it's css() and then removing

[jQuery] Re: Get size for elements that don't exist yet

2007-08-22 Thread Gordon
You can't use display:none to hide an element while you determine it's dimensions, because while it is in that state it doesn't have any. It has to have a display that puts it in the DOM, so the only way to keep it invisible is to use visibility: hidden On Aug 22, 2:39 pm, Stephan Beal [EMAIL

[jQuery] Re: Get size for elements that don't exist yet

2007-08-22 Thread Gordon
others have suggested; $(elt).css(display, none)), and then use the Dimension plugin to get its height and width. Take care! Sean Gordon-35 wrote: I have found that in some applications I need to know the size or other CSS attributes of elements that haven't been inserted int othe

[jQuery] Keeping a mouseover-triggered animation from running

2007-08-20 Thread Gordon
I am working on a project that includes a group of items arranged in a grid. the powers that be would like for a mouseover event to make the hovered item expand so that more information could be shown and shrink again when the item is unhovered. My first attempt simply did an animate () on the

[jQuery] Re: Draggables help

2007-08-16 Thread Gordon
and an interface library to link to, and you will also have to provide your own images, but you should be able to see something once you've done that. On Aug 15, 10:16 pm, Ganeshji Marwaha [EMAIL PROTECTED] wrote: Gordon, I just wish u finish this widget in style... I also have similar problems

[jQuery] Draggables help

2007-08-15 Thread Gordon
As I just can't track down a javascript slider that can cope with two handles satisfactorially, I am trying to implement my own using just the Draggable functionality of the interface library. I need to make a slider for selecting a minimum and maximum limits of a range of values that: * cope

[jQuery] Re: Draggables help

2007-08-15 Thread Gordon
=leftnbsp;/div /div div class=domain right div class=slideHandle rightHandle id=rightnbsp;/div /div /div /html Is it possible to get a click through the front layer to the handle behind? On Aug 15, 12:41 pm, Gordon [EMAIL PROTECTED] wrote: As I just can't track down a javascript slider

[jQuery] Re: Draggables help

2007-08-15 Thread Gordon
On Aug 15, 2:10 pm, Gordon [EMAIL PROTECTED] wrote: After scratching my head over this for a while I thought maybe I would have more luck with plan B. I could give each handle its own div inside the slider div and allow each slider to slide only inside that region. by adjusting the width

[jQuery] Re: Looping through data object

2007-08-12 Thread Gordon
for (var thisKey in options) { var thisOpt = options [thisKey]; console.log (thisOpt); } On Aug 12, 5:49 pm, Eridius [EMAIL PROTECTED] wrote: i have an object: options = { var1: 'one', var2: 'two' } is there a wayt too loop throught this object like i can does with .each? --

[jQuery] Re: Internet Explorer and height()

2007-08-10 Thread Gordon
'); } } I like .trigger :) Of course if you put the div inside another element that does have an explicit height it'll all end up being a bit of a disaster but that's unlikely. On Aug 10, 4:05 pm, Brandon Aaron [EMAIL PROTECTED] wrote: Ahh nice work. :) -- Brandon Aaron On 8/10/07, Gordon [EMAIL

[jQuery] Internet Explorer and height()

2007-08-10 Thread Gordon
I need some help with a problem with a div and getting its height. I am wanting to design a layout that will work across across different browser window sizes, so I want to make my main div into which my AJAX content is injected defined by percentage widths and heights. For example, div id=foo

[jQuery] Re: Internet Explorer and height()

2007-08-10 Thread Gordon
:07 pm, Brandon Aaron [EMAIL PROTECTED] wrote: Then you have to go in and change that .7 to .85. :p Actually I'll use a config file for stuff like this. It is Where all my plugins options, etc are stored. Makes changes like this as easy as it is with CSS. -- Brandon Aaron On 8/10/07, Gordon

[jQuery] Re: Internet Explorer and height()

2007-08-10 Thread Gordon
= function() { $('#foo').height( $(window).height()*.7 ); }; fixHeight(); $(window).bind('resize', fixHeight); }); -- Brandon Aaron On 8/10/07, Gordon [EMAIL PROTECTED] wrote: I need some help with a problem with a div and getting its height. I am wanting

[jQuery] Re: Opera 9 bug

2007-08-09 Thread Gordon
in Opera 8. I thought that maybe it had something to do with using opacity effects, because opera 8 lacks those, but turning off all the opacity effects in the CSS didn't solve it. On Aug 8, 7:54 am, Gordon [EMAIL PROTECTED] wrote: Nobody got any ideas why this is happening? It seems pretty

[jQuery] Re: Opera 9 bug

2007-08-08 Thread Gordon
Nobody got any ideas why this is happening? It seems pretty obvious an Opera bug of some kind rather than any particular problem with jQuery itself, but it is nonetheless very annoying. Has anyone else encountered a problem like this or know how to work around it? On Aug 7, 6:10 pm, Gordon

[jQuery] Known Opera javascript bugs list

2007-08-08 Thread Gordon
Does anyone know if there is a list of known JavaScript bugs for Opera 8? I did a significant rewrite of a section of code recently for a speedup. The speedup I got was pretty massive, especially so in IE, and it works in all my test browsers (IE6 and 7, Firefox 1.5, Safari 3 beta and Opera 9),

[jQuery] Opera-friendly way of deleting the members of an object

2007-08-08 Thread Gordon
:06 pm, Gordon [EMAIL PROTECTED] wrote: Does anyone know if there is a list of known JavaScript bugs for Opera 8? I did a significant rewrite of a section of code recently for a speedup. The speedup I got was pretty massive, especially so in IE, and it works in all my test browsers (IE6 and 7

[jQuery] Re: jQuery 1.1.3.1 Safari Crashes

2007-08-07 Thread Gordon
The website does report opera 9.x as a requirement, but so far I've found nothing that doesn't work in Opera 8.x except for transparency effects, and they fail gracefully without causing any browser crashes, so I'd say the documentation is a little strict regardign compatibility. As long as you

[jQuery] Opera 9 bug

2007-08-07 Thread Gordon
I want to have a horizontal scrolling list of products so that a user can compare them side by side. I produced something that works, but discovered an extremely disconcerting problem that occured in Opera 9.x. Here is a simplified test case: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.1//EN

[jQuery] Re: Safari 1.3.2 click event not returning false

2007-07-31 Thread Gordon
How does it work in newer versions of Safari? If it works in 2.x or 3.x then this is more than likely a browser bug rather than a problem with jquery in which case you should advise your client to upgrade their browser. On Jul 31, 1:53 am, NickMaller [EMAIL PROTECTED] wrote: Hi, I have the

[jQuery] Re: Elements strip for horizontal scroller

2007-07-31 Thread Gordon
I have seen the jCarousel plugin and while it looks pretty handy, it is also rather large and feels rather like overkill for what I want to do. On Jul 30, 8:34 pm, Josh Nathanson [EMAIL PROTECTED] wrote: Are you describing something like this at the top of the apple mac store?

[jQuery] Re: Cross Browser Checking - Any Tips?

2007-07-30 Thread Gordon
In my experience I've found that if stuff works in Safari/Win it almost always works in safari/mac and vice versa. I think it's safe to assume the Windows version is built with the same codebase as the Mac version with tweaks to take account of the change in operating environment. On Jul 29,

[jQuery] Elements strip for horizontal scroller

2007-07-30 Thread Gordon
This is (probably) more a CSS problem than it is a jQuery problem but you guys are a lot more helpful than the guys on CodingForums so I thought I'd try here first. There is some jQuery stuff involved too I want to build a dialog that displays a collection of products for comparison. Each

[jQuery] Re: Elements strip for horizontal scroller

2007-07-30 Thread Gordon
/ I'd love to know how to do that in jQuery as its both a continuous scroller AND a group scroller. Mitch -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Gordon Sent: Monday, July 30, 2007 12:15 PM To: jQuery (English) Subject: [jQuery

[jQuery] It's all in the mind - the power of belief

2007-07-27 Thread Gordon
Sources: http://www.ehponline.org/members/2007/10286/10286.pdf http://news.bbc.co.uk/1/hi/health/6914492.stm http://www.theregister.co.uk/2007/07/25/mobile_sufferers_unaffected_by_turning_kit_off/ There are people who believe that signals from mobile phone masts are causing them ill health.

[jQuery] Re: It's all in the mind - the power of belief

2007-07-27 Thread Gordon
Sorry! I posted this into entirely the wrong group. Please ignore/ delete. On Jul 27, 11:04 am, Gordon [EMAIL PROTECTED] wrote: Sources: http://www.ehponline.org/members/2007/10286/10286.pdfhttp://news.bbc.co.uk/1/hi/health/6914492.stmhttp://www.theregister.co.uk/2007/07/25

[jQuery] Re: Does jQuery have function for ajax periodical updater

2007-07-26 Thread Gordon
My first thought would be to use setInterval() to fire an ajax request at a regular interval, but as I don't know if the $.ajax object gets recycled or if a new XHR is created for each call. In the latter case the setInterval approach would cause the browser to eventually gobble up the system

[jQuery] Re: Allowing Interface Draggables to scroll the document

2007-07-26 Thread Gordon
Sorry but I think interface simply doesn't support that. There is a replacement coming called UI, but that would appear to be a while off. On Jul 25, 7:45 pm, MK [EMAIL PROTECTED] wrote: Hi, I've noticed that the default behavior for Interface draggables is to not allow scrolling the

[jQuery] Re: Interface Slider - onChange doesnt fire

2007-07-26 Thread Gordon
Looks like a bug in the interface plugin to me, I have the same problem. My expectation is that a user clicking on the slider should cause an onChange with no onSlide, but it seems to happen the other way around. Short of actually hacking the slider code itself to work this way I don't know

[jQuery] Re: BlockUI: Odd behaviour in Internet Explorer

2007-07-25 Thread Gordon
Yes, it's working great now, thanks. On Jul 25, 1:43 am, Mike Alsup [EMAIL PROTECTED] wrote: Gordon, I really like this idea so I added it as the default behavior to blockUI. Unblocking is now done as a fade operation in the lastest version (http://jqueryjs.googlecode.com/svn/trunk

[jQuery] BlockUI: Odd behaviour in Internet Explorer

2007-07-24 Thread Gordon
I have been attempting to build functionality into my AJAX app that blocks the UI while the XML is loading. At first I thought I could do this quite simply with a DIV over the top of the content, but as it became increasingly aparent that IE 6 wouldn't work with this approach I went with the

[jQuery] IE code profiler

2007-07-23 Thread Gordon
Does anyone know of an IE equivilent to Firebug that I can use to profile code run times in a similar manner? I have been working hard over the last few weeks optimizing some jQuery driven code, and after doing all the obvious stuff (cacheing selectors, reducing loops, etc) I have been trying

[jQuery] Re: AJAX download progress

2007-07-19 Thread Gordon
Okay, your reply finally showed up a day after the group said you made it. :) I'm glad you like it, I just wish I knew how to make it work in IE On Jul 18, 5:17 pm, Jonathan Sharp [EMAIL PROTECTED] wrote: Gordon, That's really slick! -js On 7/18/07, Gordon [EMAIL PROTECTED] wrote

[jQuery] Re: AJAX download progress

2007-07-19 Thread Gordon
responseText while in interactive mode. It would seem that the only solution is to test for browser.msie and only run the download progress code if the browser is anything other than MSIE. If it is then simply provide a basic loading message instead. On Jul 18, 3:30 pm, Gordon [EMAIL PROTECTED] wrote

[jQuery] AJAX download progress

2007-07-18 Thread Gordon
I am trying to figure out a way of displaying how far along an AJAX download is. Assuming I know the size of the file being downloaded (this will require the server to send a content-length header) then if I can check the number of bytes downloaded thus far I should be able to work out the

[jQuery] Re: AJAX download progress

2007-07-18 Thread Gordon
Okay, I've got some code now that works well in all the major browsers except for IE. I can't post the code just now but I'll put it up as soon as I get proper net access back on the other computer. Oddly it doesn't throw any errors in IE, it simply doesn't produce any results. Gordon wrote

[jQuery] Re: AJAX download progress

2007-07-18 Thread Gordon
To whoever replied, thanks, but the actual reply isn't showing up in here. I don't know why! I think google groups has been a bit wonky today. On Jul 18, 10:32 am, Gordon [EMAIL PROTECTED] wrote: I am trying to figure out a way of displaying how far along an AJAX download is. Assuming I

[jQuery] Re: how can I prohibit from users pasting content into text boxes?

2007-07-06 Thread Gordon
Unless you have a very good reason to do so you really should not be using javascript to deliberately break behaviour that users expect to work. I can't speak for anyone else but I know precicely how long I would stay on a site that prevented me from using cut and paste in forms. On Jul 4,

[jQuery] Re: Feature suggestion: animating through stylesheets

2007-07-06 Thread Gordon
Thanks for looking into this, I'm really impressed with the work that's been done on the basis of a wild speculation I had while trying to think up ways of making the animation of lots of items smoother. :) Regarding the CSS cascade problem, would making any custom rules jQuery creates

[jQuery] Snag with Erik Beeson's fxQueue plugin and callbacks

2007-07-06 Thread Gordon
In the application I am developing I have been using Erik's excelent effects queueing plugin to que classes of animations up one after another. My code for setting up the effects queueing was as follows: { var animList= new Array; var thisQueue = null; // Get

[jQuery] Re: Main jQuery Site Problems

2007-07-06 Thread Gordon
I've noticed that too, the site seems to have been rather flakey in recent weeks. On Jul 6, 12:26 pm, Dave Probert [EMAIL PROTECTED] wrote: FAO: John, et al. Main jQuery Site seems to have a problem on many pages - message at the top claiming that jQuery JavaScript Library has a problem and

[jQuery] Re: Snag with Erik Beeson's fxQueue plugin and callbacks

2007-07-06 Thread Gordon
. On Jul 6, 10:47 am, Gordon [EMAIL PROTECTED] wrote: In the application I am developing I have been using Erik's excelent effects queueing plugin to que classes of animations up one after another. My code for setting up the effects queueing was as follows: { var animList= new

[jQuery] Re: Snag with Erik Beeson's fxQueue plugin and callbacks

2007-07-06 Thread Gordon
Oh, never mind, it was my fault. :) The first queue that gets created is assigned the number 0, which of course evaluates as false, so th thisQueue? test was returning false even when a queue had been created if that queue had a number of 0 On Jul 6, 2:52 pm, Gordon [EMAIL PROTECTED] wrote

[jQuery] Re: Manipulating a stylesheet directly

2007-07-05 Thread Gordon
From: Michael Geary You are definitely on the right track, Gordon. Here's the code you need: // Add a stylesheet with the given CSS styles (a text string) // and return a reference to it function addStyleSheet( css ) { var sheet = document.createElement( 'style

[jQuery] Re: Manipulating a stylesheet directly

2007-07-05 Thread Gordon
reply. Add this line before the two function definitions: var head = document.getElementsByTagName('head')[0]; Oops! :-) -Mike From: Michael Geary You are definitely on the right track, Gordon. Here's the code you need: // Add a stylesheet with the given CSS styles (a text

[jQuery] Re: jQuery 1.1.3.1

2007-07-05 Thread Gordon
Looking good here so far, except for one thing. The interface sliders plugin doesn't appear to work in IE anymore when using 1.1.3.x, though it still does work i FireFox. I do realise that the plan is to scrap Interface in favour of UI, but UI is a long way off yet and I need the

[jQuery] Feature suggestion: animating through stylesheets

2007-07-05 Thread Gordon
It has been my observation that, when animating a lot of elements, jQuery does so by manipulating the style attribute of each element to be animated directly. Accessign DOM attributes tends to be relitively slow in most browsers, and if you're applying an effect to a large number of elements,

[jQuery] Re: Feature suggestion: animating through stylesheets

2007-07-05 Thread Gordon
a rule in a stylesheet instead of modifying the style attribute of the target elements. On Jul 5, 4:19 pm, Karl Swedberg [EMAIL PROTECTED] wrote: Hi Gordon, There is an extension to the .animate() method in Interface that allows you to animate classes. Perhaps it's more in line with what you're

[jQuery] Re: Feature suggestion: animating through stylesheets

2007-07-05 Thread Gordon
the stylesheet rules incrementally then you could avoid that overhead. I have no idea if it's possible, but it might be worth looking into. On Jul 5, 4:52 pm, Benjamin Sterling [EMAIL PROTECTED] wrote: Gordon, So you are saying that if you have a class: .theAnimateClass{ position:absolute; left

[jQuery] Re: What would be the best way to accomplish this?

2007-07-04 Thread Gordon
I suppose you could set the height of your summery to 1em to reveal the single line of text in the hidden state, and set it to whatever is needed for the full summery state. On Jul 4, 8:09 am, Armand Datema [EMAIL PROTECTED] wrote: http://nokiko.howardshome.com/jqhowto.gif I am looking for

[jQuery] Re: $(#container element.class) possible, but what about everything except a class?

2007-07-04 Thread Gordon
$(#container).children ().not(.class2) On Jul 3, 11:02 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I'd like to be able to select all elements in a container except element.class2 for example, is that possible? Thanks... haven't found any docs on this!

<    1   2   3   >