[jQuery] Re: [NEWS] Getting jQuery Adopted in Corporations

2007-12-06 Thread Glen Lipka
Wow, the digg this story thing worked. :) http://digg.com/programming/Getting_jQuery_into_Big_Corporations Glen On Dec 6, 2007 10:12 AM, Sean Catchpole [EMAIL PROTECTED] wrote: 1. Is jQuery going to be here for the long term? Yes, with a large and active community jQuery is in it for the

[jQuery] Re: Show/Hide Div with checkbox options providing same results

2007-12-06 Thread Glen Lipka
one version of it. The checkboxes showing the div are independent of each other in value, but have the same corresponding text field which should be filled out if either or both of these checkboxes are selected. Does that make sense? On Dec 6, 12:36 pm, Glen Lipka [EMAIL PROTECTED] wrote

[jQuery] Re: Show/Hide Div with checkbox options providing same results

2007-12-06 Thread Glen Lipka
. This is where I'm having a problem. When X is unselected, it hides Div1. Make sense? On Dec 6, 3:37 pm, Glen Lipka [EMAIL PROTECTED] wrote: I dont get it. :) Say it again as a use case: 1. click on X 2. expect results: div Y does something. Glen On Dec 6, 2007 11:22 AM

[jQuery] Re: Show/Hide Div with checkbox options providing same results

2007-12-06 Thread Glen Lipka
thinking, hmm, I think this should be shorter. I think there is probably a way to make it even shorter with Toggle. Anyone? Glen On Dec 6, 2007 8:22 PM, Glen Lipka [EMAIL PROTECTED] wrote: Ahh, I think I get it. Input 1 and 2 both are controlling the first div. Input 3 controls div 2 input 4

[jQuery] Re: The click event and Ajax (Problem)

2007-12-04 Thread Glen Lipka
I might be talking out my butt, but maybe create a div inside the one with the click handler and load into that. Then the click event is preserved. Also check out the Live JQuery plugin. It can add events to dynamically loaded elements. Glen On Dec 4, 2007 3:26 AM, [EMAIL PROTECTED] [EMAIL

[jQuery] Re: jQuery List/Demos/Samples

2007-12-04 Thread Glen Lipka
There are lots of examples in http://docs.jquery.com. Each method has an example with source code. Over time, I have made a bunch of quick pages that use jQuery to answer a specific question: http://www.commadot.com/jquery. The ajaxrain site is pretty good in it's own right. This page is really

[jQuery] Re: which query is most efficient?

2007-12-04 Thread Glen Lipka
This would make a great page. Put two selectors in and see which one is faster. Glen On Dec 4, 2007 10:29 AM, sawmac [EMAIL PROTECTED] wrote: $('p span'): 863ms $('p').find('span'): 3050ms Wow, that's a big difference. Thanks Eric for running this test and thanks Gordon for pointing

[jQuery] Re: hover and className

2007-12-04 Thread Glen Lipka
In general, there are better ways of doing this. One way is with a sprite. (Background or foreground) http://learningtheworld.eu/2007/foreground-sprites/ Browsers are very fast at CSS, and not nearly as fast at replacing graphics. Many browsers show a flicker. If you use a sprite then it works

[jQuery] Re: hover and className

2007-12-04 Thread Glen Lipka
Do you have a page that has the example? Also, I use jQuery with sprites in multiple methods here. Some use a very powerful matrix approach, which has really clean CSS. http://www.commadot.com/jquery/sprites/ Glen On Dec 4, 2007 5:02 PM, DaveG [EMAIL PROTECTED] wrote: Glen Lipka wrote

[jQuery] Re: hover and className

2007-12-04 Thread Glen Lipka
Let's slow down a little. I think this might be much easier than you imagine. Let's go over the requirements. 1. You have different shaped buttons. 2. Each button has a hover. 3. You want to add all the hover handlers using jQuery. Does this sound correct? Add to this list, but keep it

[jQuery] Re: hover and className

2007-12-04 Thread Glen Lipka
on-going maintenance. We have ~100 images, so changes to the sprite need to be easy to integrate to the code base. ~ ~ Dave Glen Lipka wrote: Let's slow down a little. I think this might be much easier than you imagine. Let's go over the requirements. 1. You have different shaped

[jQuery] Re: ExtJS

2007-12-03 Thread Glen Lipka
I really see them as totally different tools that actually can be used together in parallel. One developer said, We use ExtJS for the widgets and the Framework and jQuery for all the basic interactivity. I actually think this is a great model. I can't program a single click-handler in ExtJS. I

[jQuery] Getting response from dataType: Script

2007-12-03 Thread Glen Lipka
A co-worker is new to jQuery and has a question over my head. :) See below. Glen --- Is it possible to get response data from $.ajax when using the dataType: 'script' ? I need to use dataType 'script' in order to avoid cross-site scripting issues and it works well, but I need to be able to pass

[jQuery] Detecting default action on previous click handler

2007-11-30 Thread Glen Lipka
If I have two handlers on click on a link, added by different scripts, how can I tell (on the second script) if the first one returned true or false to prevent the default action? Glen

[jQuery] Re: Scrolling Quote Craziness

2007-11-30 Thread Glen Lipka
a better version of the same thing for the Learning jQuery book. But there's nothing like a great plugin to ease the pain. Mike Alsup rocks! --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 30, 2007, at 4:37 PM, Glen Lipka wrote: I just switched

[jQuery] Re: Scrolling Quote Craziness

2007-11-30 Thread Glen Lipka
, 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 why this is happening? The whole page uses jQuery. Glen

[jQuery] Re: noob question: how to close current visible DD in this script

2007-11-30 Thread Glen Lipka
I made this a while back. http://www.commadot.com/jquery/faq.php I think it does what you want. You can change the markup to be DD/DT pretty easily. Glen On Nov 30, 2007 8:47 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Ladies and Gentlemen, Here goes my complete noob question: I

[jQuery] Scrolling Quote Craziness

2007-11-30 Thread Glen Lipka
On the main page of http://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 why this is happening? The whole page uses jQuery. Glen

[jQuery] Re: Detecting elements with click handlers

2007-11-28 Thread Glen Lipka
in to it. :) David On Nov 27, 9:44 am, Glen Lipka [EMAIL PROTECTED] wrote: I have a script that decorates all links with an extra tracking click handler. First version: $(a).click()... However, I would also like to find elements that have an onclick handler already on them. Second

[jQuery] Detecting elements with click handlers

2007-11-27 Thread Glen Lipka
I have a script that decorates all links with an extra tracking click handler. First version: $(a).click()... However, I would also like to find elements that have an onclick handler already on them. Second version: $(a,[onclick]).click But how could I detect all elements that have onclick

[jQuery] Re: Which child am I?

2007-11-26 Thread Glen Lipka
You could dynamically add a psuedo attribute like col with an each function after the page loads. Other than than, I would experiment with colgroup and see if it fires which col you are in. Sorry, no time for a demo. :( Hope this helps a little. Glen On Nov 26, 2007 7:35 AM, badtant [EMAIL

[jQuery] Re: Which child am I?

2007-11-26 Thread Glen Lipka
Getting the row is easier. :) There is a rowIndex attribute. http://commadot.com/jquery/rowindex.php Nuts, I am too late. Question answered. I whipped up a demo anyway. http://commadot.com/jquery/colIndex.php Fun question. Glen On Nov 26, 2007 8:10 AM, jonhobbs [EMAIL PROTECTED] wrote: I

[jQuery] Re: Best way to attach settings to a bunch of HTML

2007-11-26 Thread Glen Lipka
I use psuedo attributes all the time. As long as you use them properly (google expandos) they are safe. But then your page won't validate. You could also use XML, I think. div class=Photo div class=TitleWalking in the park/div img src=photos/walkinginthepark.jpg / div

[jQuery] Re: Getting the index of a cell in a row.

2007-11-26 Thread Glen Lipka
This is similar to another post. Couple of demos: http://www.commadot.com/jquery/rowindex.php http://www.commadot.com/jquery/colIndex.php Glen On Nov 26, 2007 10:20 AM, Wizzud [EMAIL PROTECTED] wrote: Assuming you a single checkbox in each th cell... var thboxes = $('.Grid thead th

[jQuery] Re: reset toggle

2007-11-25 Thread Glen Lipka
Are you trying to do something like this? http://www.commadot.com/jquery/faq.php I can think of a few ways to make your code more jQuery-ish. Glen On Nov 25, 2007 6:00 PM, befidled [EMAIL PROTECTED] wrote: I've currently got a list where each list element fades in a corresponding div when

[jQuery] Re: Looking for theoretical help for news scroller.

2007-11-24 Thread Glen Lipka
Try this: http://www.learningjquery.com/2006/10/scroll-up-headline-reader Glen On Nov 24, 2007 2:44 AM, Giovanni Battista Lenoci [EMAIL PROTECTED] wrote: Hi, I'm playing with jquery, and I'm tryng to do a news scroller. In my markup I have an unordered list with position relative that I

[jQuery] Re: Simple Question: Using Variables in jQuery

2007-11-23 Thread Glen Lipka
Try $(ul# + myID).load(data.html); Hope this helps, Glen On Nov 23, 2007 1:46 PM, yetanother [EMAIL PROTECTED] wrote: I'm using an id tag (based on my database id) in my html to help direct traffic. On a click I use the following which grabs the variable from the id tag of the link: var

[jQuery] Re: Firing off a jQuery action ASAP - before document ready?

2007-11-21 Thread Glen Lipka
If you put it at the top of the page NOT in a ready block, it should run before the dom is even loaded. Not sure what you are doing. Maybe CSS could help (runs early). Maybe post a sample. Glen On Nov 21, 2007 8:51 AM, Andy Matthews [EMAIL PROTECTED] wrote: have you tried window.ready?

[jQuery] Re: A few jQuery Patterns

2007-11-20 Thread Glen Lipka
I truly want to help in a detailed way, but you asked too many questions. :) *Where to start:* http://docs.jquery.com/Main_Page *Plugins:* http://jquery.com/plugins/ *Tutorial Blog: *http://www.learningjQuery.com (also a book) *Some basic samples:* http://www.commadot.com/jquery Take a few

[jQuery] Re: Starter

2007-11-20 Thread Glen Lipka
You need to wrap your script in a ready block. $(document).ready(function(){ //your stuff here }); The reason is that the a links dont exist yet when your run your script. Browsers run scripts the second they see them and dont wait for the rest of the page to load. The ready block makes the

[jQuery] Re: Using slideout in a ul

2007-11-20 Thread Glen Lipka
Like this? I whipped this up a while back. That directory has lots of simple examples like that. http://www.commadot.com/jquery/faq.php Glen On Nov 20, 2007 11:37 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi , I want to render a list where each li has a link that when clicked reveals

[jQuery] Re: Canvas based Mocha UI

2007-11-20 Thread Glen Lipka
What browsers does this work on? It would be cool to have a curvycorners that used canvas instead of lots of divs. Or shadows that used it. Glen On Nov 20, 2007 11:31 AM, Guy Fraser [EMAIL PROTECTED] wrote: For anyone who hasn't seen it yet, this is pretty awesome:

[jQuery] Re: Canvas based Mocha UI

2007-11-20 Thread Glen Lipka
, jQModal Cluetip CurvyCorners etc Glen On Nov 20, 2007 1:37 PM, Glen Lipka [EMAIL PROTECTED] wrote: What browsers does this work on? It would be cool to have a curvycorners that used canvas instead of lots of divs. Or shadows that used it. Glen On Nov 20, 2007 11:31 AM, Guy Fraser

[jQuery] Re: Positioning an element towards the bottom, within limits

2007-11-19 Thread Glen Lipka
Have you checked out the dimensions plugin? It has lots of power to place things exactly where you want them. Even relative to the viewable area. http://brandonaaron.net/docs/dimensions/ Glen On Nov 18, 2007 12:41 PM, S. Robert James [EMAIL PROTECTED] wrote: I'd like to position an element

[jQuery] Re: I'm confused on how to parse XML using jquery's ajax feature.

2007-11-19 Thread Glen Lipka
Pretend it's html. As if it was a div and a span. It works the same way. $(mtemplate receiver).text() Glen On Nov 18, 2007 7:04 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: ?xml version=1.0 encoding=ISO-8859-15? pmtemplate recieverEnter Your Friends name Here/reciever

[jQuery] Re: How to change css-style of nested elements

2007-11-17 Thread Glen Lipka
$(ul).prev(span); Check out this page: http://docs.jquery.com/Traversing You would be surprised how easy is it to find things in a relative manner. Glen On Nov 17, 2007 7:00 AM, the_ghost [EMAIL PROTECTED] wrote: I have such html code: ul lispan class=trigElements Set 1/span ul

[jQuery] Re: RELEASE: Easing Plugin 1.3 - Now with default easing

2007-11-15 Thread Glen Lipka
Nice work. You forgot to update the version at the top of the file. Thanks for this great plugin. Glen On Nov 15, 2007 1:57 AM, george.gsgd [EMAIL PROTECTED] wrote: Haha, that good huh? On Nov 13, 9:19 am, george.gsgd [EMAIL PROTECTED] wrote: Hi All, I've just updated the easing

[jQuery] Re: Adressing the right area

2007-11-15 Thread Glen Lipka
I whipped up a demo for you. http://www.commadot.com/jquery/createDomElements.php Is it something like that? (Open up one of the questions and click reply.) The Live Jquery plugin really makes this sort of thing very easy. Rather than append all the textareas all at once, just do it when the

[jQuery] Re: Easing cheat sheet demo page

2007-11-13 Thread Glen Lipka
://timotheegroleau.com/Flash/experiments/easing_function_generato... -Marshall Glen Lipka wrote: Thanks, There was a dynamic chart that when you chose the different styles it showed a chart with a curve. It was fancy schmancy. I looked through penner's site and couldn't find

[jQuery] Re: OT: Somebody's spam filter is doing me wrong

2007-11-13 Thread Glen Lipka
Not me. Mine seems fine. (or is this email going to jinx me and cause me to get it???) Glen On Nov 13, 2007 3:43 PM, MikeR [EMAIL PROTECTED] wrote: Me four. On Nov 13, 1:30 pm, Andy Matthews [EMAIL PROTECTED] wrote: Me three. Good to know that it's not the jQuery list itself marking me

[jQuery] Re: Show me what you created using jQuery / web apps

2007-11-12 Thread Glen Lipka
Ben Nadel has been working on an exercise task list and a calendar using jQuery. http://www.bennadel.com/blog/1027-Exercise-List-Building-The-Domain-Model-Saucy-.htm http://www.bennadel.com/projects/kinky-calendar.htm (Hmm, the cal doesnt have much JS yet at all) Regarding sites using jQuery,

[jQuery] Re: cross domain ajax calls

2007-11-12 Thread Glen Lipka
Have you seen Purple Include? http://blueoxen.net/c/purple/purple-include/ The thread got messed up in Gmail so I lost the original question. Glen On Nov 12, 2007 8:20 AM, Jan Sorgalla [EMAIL PROTECTED] wrote: Hi, On 12 Nov., 15:50, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: thank you

[jQuery] Re: Zoomimage

2007-11-12 Thread Glen Lipka
I think I want to cry. This is beautiful. Keyboard shortcuts, easing, clear styling instructions. Wonderful. I am going to switch to this from Highslide for sure. Although, I can't help myself, I need to point out a couple of tiny items (TINY ONES) 1. The header should probably have a css rule

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

2007-11-12 Thread Glen Lipka
How does the sniffer work? Glen On Nov 12, 2007 12:28 PM, Tobias Parent [EMAIL PROTECTED] wrote: so I'm surfing around, and I've put the jQuery sniffer on for fun -- and ActiveState pops up the sniffer-generated logo! I mean, how cool is that?! -Toby

[jQuery] Easing cheat sheet demo page

2007-11-12 Thread Glen Lipka
I just couldn't get my head around the new easing naming conventions. So I made a cheat sheet demo page. http://www.commadot.com/jquery/easing.php At some point someone pointed to a page that had the cool graph that showed what the math meant. Anyone know what it is? Glen

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

2007-11-12 Thread Glen Lipka
logo. Let me see if I can remember where I found it - or look at last week's discussions of sites powered by jQuery. Rey posted about it about a week ago (Nov. 6, to be exact), look for the thread titled jQuery Site Detection Greasemonkey Script. Regards! -Toby Glen Lipka wrote: How does

[jQuery] Re: Zoomimage

2007-11-12 Thread Glen Lipka
Playing with the settings. http://www.commadot.com/jquery/experiments/easebox/ Great work Stephan! If I wanted to use DimScreen with it, would I just call *onZoomIn? Glen * On Nov 12, 2007 3:52 PM, Stefan Kilp [sk-software] [EMAIL PROTECTED] wrote: nice plugin. on testing with Safari/Win i

[jQuery] Re: Easing cheat sheet demo page

2007-11-12 Thread Glen Lipka
Thanks, There was a dynamic chart that when you chose the different styles it showed a chart with a curve. It was fancy schmancy. I looked through penner's site and couldn't find it. :( Glen On Nov 12, 2007 6:01 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Nice work Glen, Appreciated,

[jQuery] Re: Better accordeon for my website.

2007-11-09 Thread Glen Lipka
Maybe something like this? http://www.commadot.com/jquery/faq.php Glen On Nov 9, 2007 5:19 AM, Popech [EMAIL PROTECTED] wrote: Hello. I'd like to ask you how I could have an accordeon menu with standart effects (slideUp slideDown) with the following option : - If I click on a submenu

[jQuery] Re: Dynamic form field changes aren't POSTed

2007-11-09 Thread Glen Lipka
Check out the jQuery Live plugin. http://brandonaaron.net/docs/livequery/ It will bind events even they are posted after the page loads. Glen On Nov 9, 2007 11:58 AM, Slantedview [EMAIL PROTECTED] wrote: I'm using JQuery to, among other things, dynamically create and modify form input

[jQuery] Re: Getting PHP_REFERER value from jQuery

2007-11-08 Thread Glen Lipka
Can it be passed in the URL as a parameter? Or can you use Ajax to get it from a specialized php page? Glen On Nov 8, 2007 12:24 PM, ElTibetano [EMAIL PROTECTED] wrote: Hi, maybe someone can help me on this: I'm using jqModal plugin to open a form from different pages, that will end up

[jQuery] Re: Is this posible with JQUERY?

2007-11-03 Thread Glen Lipka
It isn't. Highslide is a great piece of software that has some great features. There isn't something exactly like it in jQuery YET. I hope that there can be something one day. There are a bunch of other image library viewers out there like Lightbox.

[jQuery] Re: Guess who is using jquery, too?

2007-11-02 Thread Glen Lipka
Hard to read their code. Seems like really like its browser detection capabilities. They use that alot. Glen On Nov 2, 2007 2:16 PM, dfd [EMAIL PROTECTED] wrote: Take a look at the source from http://code.google.com :-) Regards, frank

[jQuery] Re: How to retrieve class name from element?

2007-10-31 Thread Glen Lipka
What about $(#firstEl).click(function(){ alert($(this).attr(class)); }); Glen On 10/31/07, Wizzud [EMAIL PROTECTED] wrote: $(selector).click(function(){ var equiv = $('#' + this.className); if(equiv.length){ // found element with relevant id, so now do something... ; }

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

2007-10-31 Thread Glen Lipka
They just relaunched their site. David Foltz from TT got me interested in jQuery in the first place. This new design uses is pretty heavily. Dimensions, ThickBox, HoverIntent, Etc. http://turbotax.intuit.com Glen

[jQuery] Re: New Plugin: ZoomBox

2007-10-30 Thread Glen Lipka
For the keyboard shortcuts you may want to try the shortKeys plugin http://rikrikrik.com/jquery/shortkeys/ Seemed to work well when I tried it. Glen On 10/26/07, weepy [EMAIL PROTECTED] wrote: 1. Identical syntax to Prototypes Lightbox to encourage people to switch over without changing

[jQuery] Re: How to upgrade from JQuery 1.0 to 1.2 without changing the existing code?

2007-10-30 Thread Glen Lipka
I think this is the best resource for you. http://docs.jquery.com/Release:jQuery_1.2#How_To_Upgrade Glen On 10/30/07, Channa L. [EMAIL PROTECTED] wrote: I have built quite a bunch of things with JQuery 1.0. for my web application project. Every time, I want to upgrade from this version to

[jQuery] Re: Fade In and Fade Out Div

2007-10-29 Thread Glen Lipka
Have you seen the dimScreen Plugin? http://docs.jquery.com/Plugins/dimScreen It does almost all of what you are asking for. Might additionally need the pause plugin for #4. http://blog.mythin.net/projects/jquery.php Then after the pause, just use fadeOut(). Hope this helps, Glen On 10/29/07,

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

2007-10-29 Thread Glen Lipka
I tried alternatives, but none worked. Jeffrey's version worked well. I whipped up a demo using his code. http://www.commadot.com/jquery/hiddenFields.php Glen On 10/29/07, Jeffrey Kretz [EMAIL PROTECTED] wrote: If you are trying to change the type of an input element from, say, type=text to

[jQuery] Re: Transparencys and Overlays

2007-10-26 Thread Glen Lipka
CSS is used by the plugins. Do you use Firebug or IE Dev toolbar? They are invaluable to inspect elements on the page and see what makes them tick. Look at the JS of this page: http://parkerfox.parkerfox.railsplayground.net/labs/zoombox/ Look at the dimScreen plugin that it uses. You will

[jQuery] Re: Jquery 1.2 API

2007-10-26 Thread Glen Lipka
It would be really useful to have the XML version. Is that in the works? Glen On 10/26/07, Tane Piper [EMAIL PROTECTED] wrote: The docs have been moved to the Wiki: http://docs.jquery.com/Main_Page On 26/10/2007, Josh Ain [EMAIL PROTECTED] wrote: Hello all, I've been using

[jQuery] Re: Loop thru options of a Select box

2007-10-26 Thread Glen Lipka
The code Wizzud gave is pretty good. To get a value and label just use the attr function. jQuery('#state option').each(function(i){ alert($(this).attr(value)); alert($(this).attr(label)); }); Glen On 10/26/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, Thanks, can you show

[jQuery] Re: Code in loop

2007-10-25 Thread Glen Lipka
Can you post a simple page that demonstrates the problem? It's easier to debug that way. Glen On 10/25/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi there friends!!! I'm having problems with a code here using AJAX on Jquery. When I do only one click in my object, it works fine, but,

[jQuery] Re: fade png24 images in IE7

2007-10-25 Thread Glen Lipka
I have had the same problem. :( On 10/25/07, Melzmann [EMAIL PROTECTED] wrote: Hi there, at first I must to excuse for my bad english... I come from Germany. I have Problems with fading png24 images in IE7 with the methods fadeIn() and fadeOut(). The scopes where the image is transparency

[jQuery] Re: each loop selects to much

2007-10-25 Thread Glen Lipka
I whipped up a demo. http://www.commadot.com/jquery/nestedTables.php In the code comments is an each version that does the same thing. Glen On 10/25/07, hans [EMAIL PROTECTED] wrote: Hello, I am trying to loop through all rows of a table that has a table inside. I expected jquery to only

[jQuery] Re: Delaying the Hide Effect

2007-10-25 Thread Glen Lipka
There is a hoverIntent plugin that really helps with this sort of thing. Glen On 10/25/07, Dave Methvin [EMAIL PROTECTED] wrote: On Oct 25, 10:21 am, Snooze [EMAIL PROTECTED] wrote: Hi, I have hidden text that appears whenever someone hovers over an image in my table. And I want it to

[jQuery] Re: Ajax load() function + document.getElementById.value solved

2007-10-24 Thread Glen Lipka
? Thanks ;) Boyd On Oct 23, 5:03 pm, Glen Lipka [EMAIL PROTECTED] wrote: How come you are using getElementByID instead of $(#photo_title)? One returns a DOM element and the other returns a jQuery object. Glen On 10/23/07, Boyd [EMAIL PROTECTED] wrote: Hi all, this may

[jQuery] Sliding Image Puzzle Plugin

2007-10-24 Thread Glen Lipka
From the creator of the jQuery vibrator plugin. Ben Nadel brings you a new child-safe toy plugin. http://www.bennadel.com/blog/1009-jQuery-Demo-Creating-A-Sliding-Image-Puzzle-Plug-In.htm It is a sliding puzzle. As usual, Ben over-comments his code so you know exactly what each line does. Ben

[jQuery] Re: Displaying Additional Information

2007-10-24 Thread Glen Lipka
Are you getting the additional information from the server via Ajax or is it on the page in a hidden div? Do you want the extra information to show up in another cell in the table or in a tooltip or modal? It's always good to post a basic attempt at the page to help give some context. Glen On

[jQuery] Re: Ajax load() function + document.getElementById.value solved

2007-10-23 Thread Glen Lipka
How come you are using getElementByID instead of $(#photo_title)? One returns a DOM element and the other returns a jQuery object. Glen On 10/23/07, Boyd [EMAIL PROTECTED] wrote: Hi all, this may not be a good codes but maybe a quick and dirty solution for those who met with the same

[jQuery] Re: New plugin: File Style

2007-10-23 Thread Glen Lipka
Nice job, I like it. You may want to add the css cursor:pointer to the button. Helps with affordance of clicking. Great work. Glen On 10/23/07, Richard D. Worth [EMAIL PROTECTED] wrote: Yep. Looks great in IE7 (XP SP2) and works/opens. Nice plugin. - Richard On 10/23/07, Mika Tuupola

[jQuery] Re: How would I modify this code to...

2007-10-22 Thread Glen Lipka
One thing to look at is the toggle() function. It will open if closed and close if opened. No need for the IF statement. Also, you can animate a DIV inside a row smoothly, you don't need the whole table. To make it so that only one answer is open at any time, in the past, I have just closed them

[jQuery] Re: How would I modify this code to...

2007-10-22 Thread Glen Lipka
I whipped up a demo. http://www.commadot.com/jquery/faq.php Is this the kind of thing you were looking for? Glen On 10/22/07, Rick Faircloth [EMAIL PROTECTED] wrote: …cause any open details div to close when another details div opens? $(document).ready(function() {

[jQuery] Re: How would I modify this code to...

2007-10-22 Thread Glen Lipka
the open/closed state of the div.details? if div.details is open, then close, else open… ??? Rick *From:* jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Glen Lipka *Sent:* Monday, October 22, 2007 12:22 PM *To:* jquery-en@googlegroups.com *Subject:* [jQuery

[jQuery] Re: How would I modify this code to...

2007-10-22 Thread Glen Lipka
. Anything you'd like for me to try? Rick *From:* jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Glen Lipka *Sent:* Monday, October 22, 2007 3:33 PM *To:* jquery-en@googlegroups.com *Subject:* [jQuery] Re: How would I modify this code to... Could you post a URL

[jQuery] Re: How would I modify this code to...

2007-10-22 Thread Glen Lipka
(); }); }); *From:* jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Glen Lipka *Sent:* Monday, October 22, 2007 8:02 PM *To:* jquery-en@googlegroups.com *Subject:* [jQuery] Re: How would I modify this code to... Ahh, I forgot to test that. It's fixed now. refresh. Glen

[jQuery] Re: noob: table row level link and hover

2007-10-20 Thread Glen Lipka
Here is one way. There are alot of ways to do this. http://commadot.com/jquery/tableClick.php You could populate the expandos out of an array. You could do an each to iterate through the TRs and add the click. Glen On 10/20/07, crybaby [EMAIL PROTECTED] wrote: I need to have each table rows

[jQuery] Re: jQuery Logging (to firebug)

2007-10-19 Thread Glen Lipka
I whipped up a demo using it. http://www.commadot.com/jquery/consoleLog.php I probably (definitely) overused it. :) Glen On 10/19/07, Nikola Ivanov [EMAIL PROTECTED] wrote: How about integrating it in the core? After if ( console ) of course

[jQuery] The Easy Button

2007-10-19 Thread Glen Lipka
The post is a little demonstration of xPath selections in jQuery. Check the image at the bottom of the post. http://www.bennadel.com/index.cfm?dax=blog:1003.view I asked Ben to upgrade to 1.2. That @ symbol s SOoo last version! Glen

[jQuery] [NEWS] jQuery Logging (to firebug)

2007-10-19 Thread Glen Lipka
It's very simple, but really powerful. http://ajaxian.com/archives/jquery-logging Glen

[jQuery] Re: Calling hide/show methods from existing JavaScript function

2007-10-19 Thread Glen Lipka
Are you using the onclick event inside your html? input type=radio onclick=... if so, you might want to consider using jQuery to bind the onclick events. Check out www.jquery.com/api or http://www.visualjquery.com and find click. It will make your html much cleaner and your code easier to

[jQuery] Re: help - Mineral search program

2007-10-18 Thread Glen Lipka
Some jQuerisms: Instead of var rightdiv =document.getElementById(curdiv); use var rightdiv = $(# + curdiv + ); Instead of onClick=createRockDescSearch(); use $(#addRockButton).click( function() { createRockDescSearch() } ); Instead of body onLoad=createRockDescSearch(); Use:

[jQuery] Re: How does $(document).ready() work?

2007-10-18 Thread Glen Lipka
I always thought magic jQuery elves were watching the page and had walkie-talkies. Try this one for research: http://ajaxian.com/archives/ajaxian-featured-tutorial-when-is-your-page-ready or http://dean.edwards.name/weblog/2006/06/again/ or

[jQuery] Re: How to trigger an event/callback if the class(es) of an Element (e.g. div) changes?

2007-10-18 Thread Glen Lipka
There is a plugin called jQuery Live. it listens for changing dom elements. http://brandonaaron.net/docs/livequery/ Glen On 10/18/07, ravenel [EMAIL PROTECTED] wrote: Hello, is it possible to trigger an event when the class of an Element has changed? I have an DIV without any class=

[jQuery] Re: Image Overlay w/Options

2007-10-18 Thread Glen Lipka
Whipped up a demo. Something like this? http://www.commadot.com/jquery/hoverFade.php I like how the shadow works on the background. Glen On 10/18/07, HVMDesign [EMAIL PROTECTED] wrote: Hello, How can I make it so when I hover over an image, it turns transparent. After it does this,

[jQuery] Re: Image Overlay w/Options

2007-10-18 Thread Glen Lipka
Refresh. :) Glen On 10/18/07, HVMDesign [EMAIL PROTECTED] wrote: Glen, I appreciate your reply. Yes, that is the path I looking for. Now, once it has faded, how can I overlay form buttons on top of that? Glen Lipka wrote: Whipped up a demo. Something like this? http

[jQuery] Re: Updating the id of an a tag

2007-10-17 Thread Glen Lipka
Instead of .id() try attr(id,yourStringHere) One tip is to make your string in a variable right before it. That way you can easily alert the string to see if its coming up correctly. Glen On 10/17/07, Bruce MacKay [EMAIL PROTECTED] wrote: Hello folks, I'm having problems with the following

[jQuery] Re: Hover delay possible without additional plugin?

2007-10-16 Thread Glen Lipka
The hoverIntent plugin is really small. You could put it in your own JS. http://cherne.net/brian/resources/jquery.hoverIntent.js (4k) http://cherne.net/brian/resources/jquery.hoverIntent.minified.js (1.5k) Any solution would pretty much be doing the same thing. Glen On 10/16/07, c.s. [EMAIL

[jQuery] Re: Script Question: Toggle between 6 Pictures

2007-10-16 Thread Glen Lipka
Can you post a sample page that helps describe what you are looking for? Maybe even mock it up so when you click on something it alert(and now it should) something like that. Glen On 10/16/07, breastfed [EMAIL PROTECTED] wrote: Hello! I have a question ref. to a Toggler to switch

[jQuery] Re: Newbie - works once in IE6 but not twice

2007-10-16 Thread Glen Lipka
Maybe post the page so we can take a look. It might be impossible to troubleshoot without it. Glen On 10/16/07, chrisandy [EMAIL PROTECTED] wrote: HI all, Very new to all this so I'm afraid this will be a very general question. I can call an action once and it works fine but when I hit

[jQuery] Re: Event binding doubt

2007-10-16 Thread Glen Lipka
I think you need the jQueryLive plugin. it allows you to bind events regardless of when they enter the dom. I wish there was a way to see the events that are attached, like in Firebug. Someone else might have a solution for that. Glen On 10/16/07, Giovanni Battista Lenoci [EMAIL PROTECTED]

[jQuery] Re: How would I replace one class with another?

2007-10-16 Thread Glen Lipka
$(.one-class).removeClass(.one-class).addClass(another-class); :) Glen On 10/16/07, Chris - Implied By Design [EMAIL PROTECTED] wrote: Hi Folks, Could jQuery replace instances of a class with another class? For instance replace img class=one-class.. with img class=another- class..? If

[jQuery] Re: One-liner that accelerates JavaScript on IE

2007-10-15 Thread Glen Lipka
] wrote: Guy Fraser schrieb: Glen Lipka wrote: http://commadot.com/jquery/experiments/speedtest/# I modified a version of jQuery to include that one line and it threw a JS error. Then I tried using the second way with the var doc = document and renamed document everywhere to be doc

[jQuery] Re: JQuery Expand/Collapse Troubleshooting

2007-10-15 Thread Glen Lipka
It's hard to follow all the details. Maybe post a simpler example. Trim down the page until all that is left is the problem. No graphics, no excess html. Literally, delete stuff one at a time until you can demonstrate the simplest form of the issue. We are here for you, but you gotta meet us

[jQuery] Re: [NEWS] Coda-Slider Plugin

2007-10-15 Thread Glen Lipka
Very nice. :) Glen On 10/15/07, Andy Matthews [EMAIL PROTECTED] wrote: That's really nice. Works well in IE7/PC. Looks really nice too, -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rey Bango Sent: Sunday, October 14, 2007 11:39 PM

[jQuery] Re: Is there a way to wrap a table around content with jQuery?

2007-10-15 Thread Glen Lipka
Tricky problem. I found one way, but there MUST be an easier way. Demo: http://www.commadot.com/jquery/wrapTable.php# Maybe try the flydom plugin? Glen On 10/15/07, Chris - Implied By Design [EMAIL PROTECTED] wrote: Hello, I'm running into some trouble trying to wrap a table around some

[jQuery] Re: queue, dequeue, stop, and the endless mouseovers

2007-10-13 Thread Glen Lipka
The mootools one keeps freezing for me in FF/Vista. I think yours feels smoother and acts better than the moo one. RE: Queue: It's over my head. :) Glen On 10/13/07, Karl Swedberg [EMAIL PROTECTED] wrote: Hi everyone, Someone asked me to try to replicate something he saw here:

[jQuery] Re: Jquery and Pseudo classes

2007-10-13 Thread Glen Lipka
Why do you need jQuery for that? a:link {} a:hover {} a:active {} all work fine in CSS? Check out http://www.jquery.com/api. You can see a nice list of all of the things jQuery can do there. Glen On 10/13/07, wattaka [EMAIL PROTECTED] wrote: How does set the classes of an a tag? I would

[jQuery] Re: One-liner that accelerates JavaScript on IE

2007-10-12 Thread Glen Lipka
How much faster? I can plug in a version of jQuery with that line and a version without that line into the css selector speed test I guess to try. Glen On 10/11/07, luci [EMAIL PROTECTED] wrote: http://dankogai.vox.com/library/post/one-liner-that-accelerates-javascript-on-ie.html This is

[jQuery] Re: One-liner that accelerates JavaScript on IE

2007-10-12 Thread Glen Lipka
http://commadot.com/jquery/experiments/speedtest/# I modified a version of jQuery to include that one line and it threw a JS error. Then I tried using the second way with the var doc = document and renamed document everywhere to be doc. No change at all in speed. Glen On 10/12/07, Glen Lipka

<    1   2   3   4   5   6   7   >