[jQuery] Re: window resize event causes IE6 IE7 to hang

2008-02-21 Thread polyrhythmic
I've found that rapidly changing the window size causes IE6 IE7 to hang - I guess because too many events are being fired for IE to cope? Exactly. Try using a setTimeout so that the resize only fires every 100ms or so, you can vary it depending on how fluid you want the animation vs how

[jQuery] Re: Port FCK/TinyMCE to jQuery

2008-02-21 Thread polyrhythmic
I've always wanted to port TinyMCE to jQuery -- you can fit _the entire jQuery_ into TinyMCE in _the same amount of code_ as their DOM Manipulation and Effects methods, (I've done the calculations, it might even make TinyMCE smaller!), and I bet it would be faster too. That being said, it

[jQuery] Re: Request parameters from dynamically added html element are missing on the server side

2008-02-21 Thread polyrhythmic
Hello Chris, It will be difficult to debug this combination of code without an example page we can view. Can you please provide us with a link? Charles On Feb 21, 2:28 am, chris [EMAIL PROTECTED] wrote: Hi there, I tried to create input element dynamically using jQuery, in form of text

[jQuery] Re: fastest way to load both jquery thickbox

2008-02-18 Thread polyrhythmic
What version of PHP is your server running? Minify is PHP5 by default, there's a PHP4 version available here: http://www.vulgarisoip.com/2007/06/21/minify-your-external-javascript-and-css-with-php/ Otherwise it appears you're doing everything correctly. If you turn on PHP error_reporting (

[jQuery] Re: fastest way to load both jquery thickbox

2008-02-15 Thread polyrhythmic
Hi Ben, no problem. On Feb 14, 2:39 pm, ben [EMAIL PROTECTED] wrote: Am i supposed to have more the just the minify.php file in my root folder? Yes, you need the 'lib' directory with JSMin.php. See: http://code.google.com/p/minify/wiki/UserGuide I'm not familiar with the output buffer

[jQuery] Re: fastest way to load both jquery thickbox

2008-02-14 Thread polyrhythmic
Packing is probably not the fastest method, unless you're in a low- bandwidth situation, due to the overhead of decoding the packed script after download. I would recommend Minifying your JS -- the most well known is probably JSMin (http://javascript.crockford.com/jsmin.html) but there's a

[jQuery] Re: what editor do you use?

2008-02-14 Thread polyrhythmic
Komodo doesn't have 1.2 support yet because of the change from scriptdoc format (http://groups.google.com/group/jquery-en/ browse_thread/thread/24f40cfd6830b6dd/), I believe. However thanks to hard work from many jQuery group members (http://groups.google.com/

[jQuery] Re: Getting height() value on a dynamic area

2008-02-14 Thread polyrhythmic
Do you have the height() called from the AJAX callback function? Make sure the height isn't called until the ajax callback. If that doesn't work, perhaps the elementReady plugin would help. Charles On Feb 14, 11:08 am, GTinMaryland [EMAIL PROTECTED] wrote: I'm working on a layout where the

[jQuery] Re: scrollTop not working in IE 6/7 or FF

2008-02-14 Thread polyrhythmic
AFAIK scrolltop is an element property, _not_ a function. See these for more info: http://www.quirksmode.org/viewport/compatibility.html http://developer.mozilla.org/en/docs/DOM:element.scrollTop http://www.learningjquery.com/2007/09/animated-scrolling-with-jquery-12 Also these sites are great

[jQuery] Re: what editor do you use?

2008-02-13 Thread polyrhythmic
Komodo Edit: Free, runs on Gecko engine (with integrated previews), Windows/Linux/OSX crossplatform, jQuery autocomplete macros, syntax highlighting and autocomplete across a multitude of languages, FTP/ remote file support, code search and collapsible code tree... just for starters. There's

[jQuery] Re: Correct way to read JSON string

2008-02-13 Thread polyrhythmic
jQuery doesn't include JSON parsing separate from the getJSON, and if you look at the source it's only a couple lines, and designed to work with callbacks. It does not do hardcore JSON sanitizing so you do still need a safe source as always. For one JSON parsing method, see

[jQuery] Re: JQuery takes 80% of my core2Duo proc on DOM element inserts

2008-02-06 Thread polyrhythmic
You will have an easier time creating a single append by ,join() -ing an array of elements and adding them as a block. Forcing jQuery to evaluate each one individually creates a lot of repetition. The .domManip() code in the source is pretty legible, if you're curious. Charles On Feb 5, 3:00

[jQuery] Re: Packing jQuery and all includes

2008-02-01 Thread polyrhythmic
I like serving up all my CSS and JS at once in gZipped HTML with PHP includes via Minify (http://code.google.com/p/minify/). This is very quick, due to a single HTTP request, but does not cache the JS or CSS separately, if you need to do that across pages. However, you can have Minify crush just

[jQuery] Re: IE PNG flicker and doubled content

2008-01-28 Thread polyrhythmic
Without digging deeply, this sounds like the applying-opacity-to-a-png- filtered-image bug + the ie-alpha-filter-over-text bug. Basically, IE 6 7 suck at processing opacity. http://www.hedgerwow.com/360/bugs/fix-ie-opacity-text.html

[jQuery] Re: jQuery/JavaScript Jobs

2008-01-28 Thread polyrhythmic
Wow thanks. Never hurts! the jQuery community is so friendly. Damn, jQuery's everywhere now. You've created a whole job market! jQuery ftw. Charles On Jan 26, 1:26 pm, John Resig [EMAIL PROTECTED] wrote: Hey Everyone - I just posted a whole bunch of JavaScript/jQuery jobs to my blog, in

[jQuery] Re: Safari onload firing

2008-01-25 Thread polyrhythmic
Perhaps the jQuery elementReady plugin will help? I don't have experience with it in Safari, however. http://www.thunderguy.com/semicolon/2007/08/14/elementready-jquery-plugin/ Charles On Jan 24, 5:48 pm, Thame [EMAIL PROTECTED] wrote: This is my first post to the list, so please excuse any

[jQuery] Re: JQuery Mobile/Lite?

2008-01-23 Thread polyrhythmic
jQuery nearly completely functions in Minimo, Opera Mini, and Opera Mobile 8.65+, but PocketIE is a very broken piece of software. It's been discussed briefly on the jQuery-dev mailing list in this thread: http://groups.google.com/group/jquery-dev/browse_thread/thread/52091c56fa95458a/ Yes, it

[jQuery] Re: animation queue ?

2008-01-20 Thread polyrhythmic
On Jan 20, 8:30 am, tlob [EMAIL PROTECTED] wrote: a little tip, maybe it helps: you can put .animate({opacity: 1.0}, 1) to pause a 10s before you animate the next object. Also check the pause plugin! My version updated for jQ 1.2: code.doublerebel.com Charles

[jQuery] Re: First posting

2008-01-20 Thread polyrhythmic
IMHO, I stepped out of web design for a while, and on my way back in jQuery felt like a godsend. For me, jQuery makes all the javascript I want to write faster and more effective and compatible. It solves tons of crossbrowser quirks and bugs, and the syntax reads like english to me. The jQuery

[jQuery] Re: help optimizing code

2008-01-19 Thread polyrhythmic
CJL, For 109 paragraphs, rewriting the HTML may always be slow, depending on the client. You could have $(document).ready put up a 'loading...' message and then launch a setTimeout, and have your DOM-manipulation code run after 500ms or so, whatever's long enough to get the page to display.

[jQuery] Re: Design question.

2008-01-19 Thread polyrhythmic
Hello Shawn, Not having unique IDs will always cause trouble. Not recommended. I've tried various techniques, including building a JS object structure... Something like $(#trigger)[0].extraData = { id: 4 }; ? If you need data stored relative to elements, you could store information with

[jQuery] Re: jQuery 1.2.2? btw...

2008-01-07 Thread polyrhythmic
On Jan 7, 8:27 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I'm using the beta and it's much more performant than the 1.2.1 and I got no bugs so far... some intensive js scripts have decreased my cpu load to even half in some cases, There are typos in your subject line, it should read:

[jQuery] Re: Fade-in on page load... Best technique?

2007-12-13 Thread polyrhythmic
Hello Micky, I've solved a similar problem: I use a technique to cover up my pages in Internet Explorer until the PNGs can be fixed, and then I fade out the cover. On Dec 12, 11:25 pm, Micky Hulse [EMAIL PROTECTED] wrote: I would like to avoid hiding my ele in the CSS... Because, if JS is

[jQuery] Re: Scrolling Quote Craziness

2007-11-30 Thread polyrhythmic
Looks normal to me in FF 2.0.0.10 . Charles On Nov 30, 12:20 pm, Glen Lipka [EMAIL PROTECTED] wrote: On the main page ofhttp://www.marketo.com/ There is a scrolling quote on the left. (Originally made by Karl, I think) Watch it for 15 seconds. After that it starts to go nuts. Any ideas

[jQuery] Re: jQuery.extend not working for function as target,is it a bug?

2007-11-30 Thread polyrhythmic
Hello Jacky, what reversion number of jquery you use? I was using the original 1.2.1 stable release: Rev: 3353 This was a change from changeset [3841]. There were some issues with deep copy and this was one of the changes to prevent the problems. The problem you are having should be

[jQuery] Re: jQuery.extend not working for function as target,is it a bug?

2007-11-29 Thread polyrhythmic
Hello Jacky, I can't reproduce your error. jQuery.extend should work for functions, this is how it works internally. Perhaps there is an issue in your code I cannot see. I ran the following through the Firebug console just now with these results: [ : my commands ] var targetfn = function()

[jQuery] Re: A few jQuery Patterns

2007-11-21 Thread polyrhythmic
Awesome, looks like you're getting the hang of jQuery. Best of luck with your project! Charles On Nov 21, 4:39 am, TunaSandwich [EMAIL PROTECTED] wrote: So far I have one of the patterns solved. I have the Type 'n List pattern working. I found the TypeWatch pluggin which seems to do what

[jQuery] Re: fade png24 images in IE7

2007-11-21 Thread polyrhythmic
This is the not-so-well-known IMG elements with a 24-bit PNG with transparency (in IE7) or with AlphaImageLoader applied (IE6 7) turn the transparency into indexed color when the Alpha filter is applied, directly to the element or to the parent element. The workaround is to turn the IMG into

[jQuery] Re: Rounded corners-canvas and ie6

2007-11-21 Thread polyrhythmic
I believe curvycorners supports borders, I'm not sure that there's a transparent corner jQuery plugin that also supports borders besides the canvas corners. Weird bug, but such is IE. I would also be interested in a solution. Charles On Nov 21, 7:21 am, caruso_g [EMAIL PROTECTED] wrote: I am

[jQuery] Re: fade png24 images in IE7

2007-11-21 Thread polyrhythmic
CORRECTION: *not so well known [bug where] IMG elements... On Nov 21, 1:10 pm, polyrhythmic [EMAIL PROTECTED] wrote: This is the not-so-well-known IMG elements with a 24-bit PNG with transparency (in IE7) or with AlphaImageLoader applied (IE6 7) turn the transparency into indexed color when

[jQuery] Re: New Plugin: jQuery Fx Queues

2007-11-21 Thread polyrhythmic
callbacks to each animation. This plugin does something similar to what there is already in jQuery, but for global queueing. On 20 nov, 16:11, polyrhythmic [EMAIL PROTECTED] wrote: Very useful. I thought that jQuery already had the ability to queue fx and process arrays of fx similar

[jQuery] Re: jQuery Bandwagon! Wohoo!

2007-11-20 Thread polyrhythmic
Hello Darcy, Good news! All your tasks are easily accomplishable with jQuery! Type n' List Check out the plugin list for the autocomplete plugins, such as the popular Jorn's Autocomplete Plugin: http://bassistance.de/jquery-plugins/ Dynamo-List: Use jQuery core functions: Call the AJAX

[jQuery] Re: SITE SUBMISSION: iFilm.com

2007-11-20 Thread polyrhythmic
Wow. This bandwagon must be huge, maybe we should start running on biodiesel. Think of the children! ;-) Seriously though, I look forward to jQuery being around for a long time. Charles On Nov 19, 7:03 am, Rey Bango [EMAIL PROTECTED] wrote: Another high-profile jQuery site:

[jQuery] Re: tinyMCE jquery equivalent

2007-11-20 Thread polyrhythmic
From looking at the TinyMCE 3 source, I believe we could replace the entirety of their core functions with jQuery, and the total jQuery + TinyMCE package would be smaller than the current TinyMCE release! I discussed this briefly on Ajaxian when ver 3 was released, but haven't had the time to

[jQuery] Re: New Plugin: jQuery Fx Queues

2007-11-20 Thread polyrhythmic
Very useful. I thought that jQuery already had the ability to queue fx and process arrays of fx similar to your 'scope', however. What is the difference between your FX Queues and the core queue method? Thanks, Charles On Nov 19, 5:30 pm, bigethan [EMAIL PROTECTED] wrote: Any comments,

[jQuery] Re: A few jQuery Patterns

2007-11-20 Thread polyrhythmic
I answered much of this with examples on the other thread. FYI, there is a delay before your post is visible, this list is lightly moderated, so no need to double post, just wait :-). Welcome to jQuery! Charles On Nov 20, 9:59 am, rolfsf [EMAIL PROTECTED] wrote: If you get a solution to your

[jQuery] Re: tinyMCE jquery equivalent

2007-11-20 Thread polyrhythmic
/2007, polyrhythmic [EMAIL PROTECTED] wrote: From looking at the TinyMCE 3 source, I believe we could replace the entirety of their core functions with jQuery, and the total jQuery + TinyMCE package would be smaller than the current TinyMCE release! I discussed this briefly on Ajaxian when

[jQuery] Re: Canvas based Mocha UI

2007-11-20 Thread polyrhythmic
I'd like to see it. The bulk of Mocha-UI doesn't seem to be too Mootools-specific, mostly uses Mt for CSS manipulation and DOM element creation - nothing jQuery couldn't do. Hmm.. Charles On Nov 20, 11:31 am, Guy Fraser [EMAIL PROTECTED] wrote: For anyone who hasn't seen it yet, this is

[jQuery] Re: Canvas based Mocha UI

2007-11-20 Thread polyrhythmic
for the project (!!), except for the README when you download the .zip. The JS is only 10K compressed (not packed). Explorer Canvas http://excanvas.sourceforge.net/ Charles On Nov 20, 2:44 pm, polyrhythmic [EMAIL PROTECTED] wrote: I'd like to see it. The bulk of Mocha-UI doesn't seem to be too Mootools

[jQuery] Re: IE6 .height() problem

2007-11-20 Thread polyrhythmic
Trying reading the height back after you've set it. I bet it's being correctly set (but not displayed) at 1px. For a debug console in IE, try CompanionJS: http://www.my-debugbar.com/wiki/CompanionJS/HomePage The DebugBar tools are great as well but they are not free. IE6 has a habit of

[jQuery] Re: HELP: Debugging Issue

2007-11-20 Thread polyrhythmic
On Nov 20, 2:54 pm, Josh Nathanson [EMAIL PROTECTED] wrote: In many cases, a better solution for the thousand mouseovers, clicks, etc. is to use a single event handler on a parent element and inspect event.target in the event handler. That's extremely efficient and nearly as easy to code.

[jQuery] Re: My jquery-Project

2007-11-20 Thread polyrhythmic
Phew, two corner plugins just for a rounded corner? Safari's only issue is that it incorrectly reads the background color, but this can be set with one of the corner() options: .corner(tl 18px cc:#FF). I have no problem with crossbrowser corners on my site (doublerebel.com). I am about to

[jQuery] Re: Powered by jQuery -- ActiveState?!

2007-11-12 Thread polyrhythmic
w00t! From the header: script type=text/javascript language=JavaScript src=/_js/lib/ jquery.js/script They're running the packed version, interestingly. ActiveState's Komodo has been supporting jQuery through extensions since 1.1.1, even releasing the 1.1.4 extension same-day as the official

[jQuery] Re: Invite me please

2007-11-12 Thread polyrhythmic
Alexander, You've found the right group of people. What version of jQuery are you using? 1.2 and above are known to not work with those Interface functions (see thread: http://groups.google.com/group/jquery-ui/browse_thread/thread/8179ba78b23e891f/e4ab8be5475b0c8f?lnk=raot), since Interface is

[jQuery] Re: Scripts at the bottom of the page

2007-11-07 Thread polyrhythmic
Also any a href=javascript:foo() links that call jQuery related stuff can't be clicked before jQuery is fully loaded. Having the script towards the bottom can also mess that up. You are mixing your Model-View-Controller together with such 'links'. href=javascript: ... is bad jQuery practice,

[jQuery] Re: Scripts at the bottom of the page

2007-11-07 Thread polyrhythmic
PROTECTED] wrote: thanks for the reply. On Nov 7, 10:19 am, polyrhythmic [EMAIL PROTECTED] wrote: You are mixing your Model-View-Controller together with such 'links'. href=javascript: ... is bad jQuery practice, and never recommended. It does not degrade in any way for users who are not running

[jQuery] Re: Scripts at the bottom of the page

2007-11-06 Thread polyrhythmic
There is a noticable difference with scripts loading at the bottom of the page. The page certainly loads and renders faster. However, if you are running pngFix or roundedCorners there is a longer time before the script can make the adjustments... So although I think it's generally best practice

[jQuery] Re: New Plugin jQuery.Rule

2007-11-06 Thread polyrhythmic
I can see some awesome uses for this. I also really like the jQuery style. Cool! Charles On Nov 6, 5:37 am, Suni [EMAIL PROTECTED] wrote: I think the idea is great! The demo looks very promising, it's easy to see several ways this could be (ab)used :) Nice work, please keep us informed

[jQuery] Re: Execution of Javascript code in Ajax response in IE and Safari (http://dev.jquery.com/ticket/1598)

2007-11-06 Thread polyrhythmic
You can see from the ticket that John re-fixed it in SVN only 3 weeks ago, so it's not in 1.2.1 but will be in the next minor release. Charles On Nov 5, 5:20 pm, cjiang [EMAIL PROTECTED] wrote: This is filed as Ticket #1598, and supposedly it is fixed in release 1.2.1 version. But I still

[jQuery] Re: [NEWS] Site Using jQuery: TurboTax.com

2007-11-01 Thread polyrhythmic
I think they just change the text size - I don't see an animation with firefox, the text is either large or small. Note that the button does not change size, so I don't think it's an actual 'zoom'. ...Unless you guys see something different? Charles On Nov 1, 4:46 am, Tobias Parent [EMAIL

[jQuery] Re: My first plugin, criticisms please

2007-11-01 Thread polyrhythmic
I've found that writing my code with a modular OOP plugin mentality, it's a lot easier to reuse my own code and trade snippets with others, since it's already abstracted into a plugin. I don't know if you've seen Mike Alsup's recent Learning jQuery post about Plugin Dev, but it's a good read

[jQuery] Re: Site Submission: ministryofsound.com

2007-10-31 Thread polyrhythmic
I too am a long time MoS fan! Guess we've all been coding to the same beat :-) . For long coding marathons good tunes are a must, IMHO. Charles On Oct 31, 8:57 am, seedy [EMAIL PROTECTED] wrote: Makes me smile to see folks stateside listening to the tea party. John Resig wrote: That's

[jQuery] Re: Newbie: Feedback, advice needed

2007-10-31 Thread polyrhythmic
Hello, You only need to call hover once at page load to set it. Unless you're waiting to provide the hover effect later after some user interaction, wrap the jQuery(element).hover(...) statements in the jQuery's document.ready: jQuery( function() { jQuery(element).hover(...);

[jQuery] Re: Plugin/syntax conflict

2007-10-30 Thread polyrhythmic
Piotr, do you have an example page we can debug? Charles On Oct 30, 4:42 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hey I've written small functions for DOM traversal and placed them in jquery.plugins.js: jQuery.fn.prevUntil = function(expr) { var match = [];

[jQuery] Re: Ajax 'drop-down' menu using jQuery [amateur cry for help]

2007-10-30 Thread polyrhythmic
Vlad, there's no simple solution for what you're asking. There are plenty of drop-down menu jQuery plugins, but you'll have to adapt one to make it look like you want. A plugin is not really necessary for that menu, however. Investigate how to use jQuery's slideDown and slideUp effects at

[jQuery] Re: Wait plugin

2007-10-30 Thread polyrhythmic
I guess it's not well known that there's a plugin in the wild, Pause, which does the same thing. The original is at http://blog.mythin.net/projects/jquery.php -- you can find that link at the docs.jquery.com/Plugins wiki. However, the queue method changed around the 1.2 (I think) release, so

[jQuery] Re: Ebyte.com now using JQuery

2007-10-30 Thread polyrhythmic
size of our code and help improve the overall site speed too. Lots of good came from it. On Oct 29, 5:58 pm, polyrhythmic [EMAIL PROTECTED] wrote: Awesome to hear another success story. Very clean site, easy to use. No 6GB microSD cards, but some great hard drive prices! I'm curious to hear

[jQuery] Re: Ebyte.com now using JQuery

2007-10-29 Thread polyrhythmic
Awesome to hear another success story. Very clean site, easy to use. No 6GB microSD cards, but some great hard drive prices! I'm curious to hear, how did jQuery's 'flexibility and compatibility' inspire your conversion? Charles On Oct 29, 11:42 am, Brandon [EMAIL PROTECTED] wrote: Just wanted

[jQuery] Re: My first plugin, criticisms please

2007-10-29 Thread polyrhythmic
Adrian, Which elements would you likely work on next after copying values? The order matters because you're going to return a jQuery element or element set. I think it's better to be able to do something like this: $(ELEMENTS_TO_CHANGE).syncValue(ELEMENT_I_WISH_TO_COPY).show(); That way your

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

2007-10-28 Thread polyrhythmic
The only way to attempt to accomplish that would be to read the innerHTML, append the /div in text, and rewrite the innerHTML for the select_chalet_content divs. However, since the HTML is improper and the divs are not closed, jQuery could potentially grab anything to *everything* after div

[jQuery] [NEWS:] Learning jQuery on Slashdot!

2007-10-24 Thread polyrhythmic
Get ready for the onslaught... There's a quality (especially for /.) Learning jQuery book review on Slashdot. http://books.slashdot.org/article.pl?sid=07/10/24/1324211 Mod jQuery up! This is a good sign, getting approved by the firehose, and looks like good support in the comments as well.

[jQuery] Re: Align to bottom (Div)

2007-10-23 Thread polyrhythmic
Even though the height is dynamic, you should be able to place the image relative to the bottom by using the bottom css/style property. The CSS bottom property is made for this, and that's how Jeffrey's example works. I wouldn't call it a float, however -- you can't stack multiple objects with

[jQuery] Re: New plugin: Bigger link

2007-10-23 Thread polyrhythmic
I know many of us have used that same effect to great success, cool to have it in a plugin. Thanks! Charles On Oct 23, 7:26 am, boermans [EMAIL PROTECTED] wrote: A simple one - but hopefully useful? http://jquery.com/plugins/project/biggerlink

[jQuery] Re: problem with ifixpng background position

2007-10-22 Thread polyrhythmic
The best workaround I've found is to create a background div, apply the filter to that div, and wrap it and the foreground in another block element, and position the background div as desired. It's a pain, which is one of the reasons I haven't done it on my own site yet :-/ . Not really a

[jQuery] Re: Does anyone know about Easy Dom?

2007-10-19 Thread polyrhythmic
Charliend, That blog entry IS the original website, and it has a download link. (Look about a page and a half down, where it says Here is the source code, or you can download it:) The source is also plainly written in the blog entry. I have used EasyDOM as part of the basis for my SuperFlyDOM

[jQuery] Re: Extremely poor performance of jQuery on AJAX partial page updates

2007-10-15 Thread polyrhythmic
of that HTML. The issue I think is in regexp, or IE performance when applying regexp. The regexp is in jquery.js. Are you suggesting that the problem is in the HTML markup I'm trying to insert into the page? On Oct 12, 7:12 pm, polyrhythmic [EMAIL PROTECTED] wrote: Alex, May I recommend

[jQuery] Re: Extremely poor performance of jQuery on AJAX partial page updates

2007-10-15 Thread polyrhythmic
Should I just use DOM's createElement() and appendChild() directly? Or use innerHTML? And would it execute SCRIPT elements? Have you tried my 2nd suggestion yet? I think it would solve the problem: $(parent).append(state.html); In general, does anybody know why jQuery has that regexp in

[jQuery] Re: Question to experts on jQuery.

2007-10-03 Thread polyrhythmic
When you .hide() the element it brings its height and weight to 0 and then sets 'display' to 'none'. You will get unreliable results trying to read the .height() and .width() after that. Try this: var img0 = $(img src= + url0 + ).css({ visibility: 'hidden' }).appendTo(document.body); Charles

[jQuery] Re: [SITE SUBMISSION] Kuantic.com

2007-10-02 Thread polyrhythmic
Looks clean, but je ne parle pas francais, monseiur. A description would be excellent. What is being used on the backend?? The site is very wide though, too much for my 1024x1280 screen. (I run a vertical screen to make coding easier.) Charles @doublerebel.com On Oct 1, 12:44 pm, Rick

[jQuery] Re: Catch a click event before the DOM is loaded

2007-10-02 Thread polyrhythmic
Remy, I like your very simple solution, queuing events to be processed once the DOM is ready. Two questions, though: 1. Why not use if ($.isReady === true) ? Were you getting a value for $.isReady besides 'undefined'? 2. Will you run into any problems if a user clicks a button multiple

[jQuery] Re: Slightly OT: another way to gzip javscript code

2007-10-02 Thread polyrhythmic
He seems to come to the same common conclusion: It's best to pack or minify your JS and then serve it to the browser through mod_gzip, htaccess controls, or Apache settings. I personally prefer Minify (http://code.google.com/p/minify) + ob_gzhandler in my PHP, so that the JS CSS is minified

[jQuery] Re: Question to experts on jQuery.

2007-10-02 Thread polyrhythmic
You have to specify the image source, otherwise you are loading nothing. The code should read: var $img0 = $(img src='your-image-source-here.jpg').load( .. Charles On Oct 2, 9:55 am, BAlex [EMAIL PROTECTED] wrote: Has made: var width, height; var img0 = $(img).load(function(){

[jQuery] Re: Quick straw pole about maps

2007-10-02 Thread polyrhythmic
+1 Google Maps. Can't speak for Yahoo maps but I've had a really easy time with Google Maps, with or without jQuery. There's tons of good documentation and tutorials, I've even made custom icon markers and search-by-distance without too much trouble. Charles doublerebel.com On Oct 2, 7:52

[jQuery] Re: : perian.com

2007-10-02 Thread polyrhythmic
Oops, couldn't follow the link. Looks like it's http://www.perian.org , not .com Charles

[jQuery] Re: jCorner problem?

2007-09-27 Thread polyrhythmic
I've seen that happen to me before when running .corner() on a floated element. Corner tries to adapt properties from its parent from the .corner divs, so if you have some css like #container div { float: left; } the float will be applied to your .corner divs too, and bork your layout. Corner

[jQuery] Re: jCorner problem?

2007-09-27 Thread polyrhythmic
On Sep 27, 1:23 pm, Guy Fraser [EMAIL PROTECTED] wrote: polyrhythmic wrote: I've seen that happen to me before when running .corner() on a floated element. Cornertries to adapt properties from its parent from the .cornerdivs, so if you have some css like #container div { float: left

[jQuery] Re: ANNOUCE: jQuery lightBox plugin

2007-09-24 Thread polyrhythmic
Looks like the source is well-documented in English, at least, easy to follow. Very nice, jQuery hasn't had lightbox-style transitions since Interface. I'd like to incorporate these into Thickbox as some sort of mutant uberbox. Also good to see jQuery-style element selection, completely

[jQuery] Re: Metadata plugin performance issues

2007-09-23 Thread polyrhythmic
If you need to store just key/value pairs mapped to an element, why not use the new jQuery.data method (aka Expando Management)? I'm using this in a caption plugin I'm writing to store the id of the caption element to its image. The code is fast and has been working super smooth for me, I

[jQuery] Re: ANNOUNCE: Meijer.com launches -- using jQuery

2007-09-20 Thread polyrhythmic
Very cool, jQuery is showing up everywhere! Unfortunately, the Store Locator does not locate any stores for me, no matter what I ask it. Regardless... Rick, the way to create a store locator from Google Maps is a pretty easy process, once you learn how to leverage the powerful API. I created

[jQuery] Re: [SITE SUBMISSION] Google Code

2007-09-19 Thread polyrhythmic
Totally sweet. Charles

[jQuery] Re: jquery 1.2 feedback

2007-09-12 Thread polyrhythmic
I would like to report also a 100% no-conflict upgrade to 1.2! Thanks for the hard work and the quick output. That being said, I can't get offset() to work like expected. I use Dimensions offset() on my site in a tricky situation involving floats, padding, margin, etc. I tried to switch into

[jQuery] Re: jquery 1.2 feedback

2007-09-12 Thread polyrhythmic
though. -- Brandon Aaron On 9/12/07, polyrhythmic [EMAIL PROTECTED] wrote: I would like to report also a 100% no-conflict upgrade to 1.2! Thanks for the hard work and the quick output. That being said, I can't get offset() to work like expected. I use Dimensions offset() on my

[jQuery] Re: Dynamically loading more content

2007-09-12 Thread polyrhythmic
Short of actually writing the JScript, I can prototype it for you. 1. Create a function that adds list items depending on the the position of the last list item as compared to the viewable area. It will AJAX the list item information, preferably in JSON, and append the new list nodes

[jQuery] Re: Quite big performance issue

2007-09-08 Thread polyrhythmic
] wrote: From: polyrhythmic Also, I don't recommend splitting your .'s... jQuery code is more often written like so: $(obj).fn({ //function code here }).fn2(options).fn3(); Not splitting your ) and . makes JSLint happy as well. The first thing I did was run the code

[jQuery] Re: Quite big performance issue

2007-09-08 Thread polyrhythmic
Thanks, I realized what you were going for after studying it, I think you should put that explanation on the website! I understand the troubles of px -- em conversion and also why em's are important, however you have a unique solution to those troubles that wasn't obvious to me. Glad to hear

[jQuery] Re: 1.1.4 Bug: IE7, TD, append element

2007-09-07 Thread polyrhythmic
You may also try SuperFlyDOM, in gamma awaiting a proper demo, but fully functional. It accounts for many IE-specific issues, and is very quick. This may save you much time on the translation, as SuperFlyDOM creates a DOM structure from a JSON Array/Object. The plugin is currently hosted at:

[jQuery] Re: jQuery functionalities

2007-09-07 Thread polyrhythmic
Hash tracking is available through the History/Remote Plugin (though I have not used it yet): http://stilbuero.de/jquery/history/ Charles On Sep 7, 6:23 am, Andy Matthews [EMAIL PROTECTED] wrote: What is it that you think is missing? JSON is just a native javascript object...you just have to

[jQuery] Re: 1.1.4 Bug: IE7, TD, append element

2007-09-07 Thread polyrhythmic
wade wrote: Honestly, I don't think display information should be mixed in with the data anyway. I have a separation of data and display mentality about that sort of thing... I agree, SuperFlyDOM's templating function exists for that specific purpose. You have a blank JSON DOM-structure

[jQuery] Re: Quite big performance issue

2007-09-07 Thread polyrhythmic
First off, I really like the design of your demo site, although it is light on documentation and I'm not sure I grasp the entire purpose. I think the problem is somewhere in the .filter statements. jQuery seems to be searching farther than the parent 'clicked' node...when I added several

[jQuery] Re: Quite big performance issue

2007-09-07 Thread polyrhythmic
You're welcome Piotr, By demo I mean demonstration. Since you're showing the world what to do with your code/program, the demonstration could use more explanation as well. If I understood better what you're trying to accomplish, I could be more helpful. Here's what I see are the main areas to

[jQuery] Re: Quite big performance issue

2007-09-07 Thread polyrhythmic
You're welcome Piotr, By demo I mean demonstration. Since you're showing the world what to do with your code/program, the demonstration could use more explanation as well. If I understood better what you're trying to accomplish, I could be more helpful. Here's what I see are the main areas to

[jQuery] Re: jQueryCamp '07 (Boston)

2007-09-06 Thread polyrhythmic
Oh, so jealous out here on the West Coast. I too, have a couch, but no jQ Con. Lol jQ... The gentleman's framework. Charles On Sep 6, 8:29 am, Andy Matthews [EMAIL PROTECTED] wrote: Wish I could go...thought I might be able to, but my wife reminded me of a commitment I have for that weekend.

[jQuery] Re: $ in jQuery, Prototype and Mochikit

2007-09-04 Thread polyrhythmic
Jack, jQuery provides shortcuts but does not *require* them. NoConflict with other libraries has been a priority from the beginning, and all core code and proper plugins are written with this in mind. Please read the API documentation for noConflict to see how you NEVER have to use $ to use

[jQuery] Re: pnGFix Plugin with Jquery 1.1.4

2007-08-28 Thread polyrhythmic
Goodness yes, looking at the sources, iepnghack will be the best option. It will also be the most compatible with future jQuery versions. The pngFix plugin uses a cloning hack I've never seen before! I am using internally a pngFix function based off the same code as iepnghack, and it's been

[jQuery] Re: SITE SUBMISSION: scarlet.be

2007-08-28 Thread polyrhythmic
Those are awesome prices! Over here in Seattle, WA, US I would do anything to drop Comcast Cable (who is now blocking torrent seeds) and get a dedicated 20Mbps/1kbps ADSL line - it would be less than I'm paying now!!! Is Europe like this everywhere? Pity our exchange rate right now :-/ . I

[jQuery] Re: Blueprint and jQuery

2007-08-27 Thread polyrhythmic
Oh that's very clean, I've been thinking about getting into Blueprint. So, you've created a template, upon which Blueprint CSS is used and jQuery event-listening does the dynamic adjust? Hmm, upon looking at the JS source it seems you just do a stylesheet switch based on viewport window... But

[jQuery] Re: Who created this jQuery logo?!

2007-08-25 Thread polyrhythmic
Excellent logo, Joel. I would love to see it in a horizontal form, I think as a little jQuery stamp on the page it'd look great. If you're offering up the (psd? ai?) for all, I'd be willing to do it myself, and post it back for the community. Charles doublerebel.com On Aug 25, 8:29 pm, Rey

[jQuery] Re: Developing for Opera

2007-08-23 Thread polyrhythmic
And the Wii... :) Don't forget mobile devices. It's always fun to see your work literally out in the wild somewhere, like on a smartphone. Speaking of, jQuery 1.1.3 on Wii Opera doesn't launch my AJAX callback function, I have a chain of events that fails in .load() - has anyone else noticed

[jQuery] Re: How can it be done?

2007-08-23 Thread polyrhythmic
var table = document.createElement('table'); In jQuery it is super-simple: var table = $('table'); Append a child row: table.append('tr'); Or do it all at once: var table = $('table').append('tr').prepend('tdData/td'); Refer to the DOM Manipulation docs at:

[jQuery] Re: $.load(url) and IE fails to find CSS/JS

2007-08-23 Thread polyrhythmic
John, What version of jQuery are you running? And what are your browser versions? Also, style tags must be placed inside the head tags. jQuery makes it easy to manipulate DOM styles from AJAX data, but if you would like to import styles as inline HTML you must style each invidual element using

  1   2   >