[jQuery] Re: ClueTip and ActiveX control...

2009-05-16 Thread Karl Swedberg
absolutely position on top of the activex control. Take clueTip out of the equation while you experiment with an ultra-simplified setup and see if you can get that to work first. Then you should be able to apply anything you've done with that div's css to the clueTip. --Karl Karl

[jQuery] Re: jQuery Logo

2009-05-12 Thread Karl Swedberg
Hi Robert, You can find high-res versions here: http://docs.jquery.com/Design_and_Identity --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On May 12, 2009, at 5:34 AM, Robert MacLean wrote: Hi, I am looking for a high res copy of the jQuery logo, ideally

[jQuery] Re: jQuery Logo

2009-05-12 Thread Karl Swedberg
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: jQuery cluetip plugin

2009-05-08 Thread Karl Swedberg
Do you have a page somewhere that I can take a look at? Which version of clueTip are you using? thanks, --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On May 8, 2009, at 12:29 PM, Bharat wrote: I am now able to load images/colors out of the CSS file

[jQuery] Re: Problem with keyup event from Learning jQuery 1.3

2009-05-08 Thread Karl Swedberg
about that. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On May 8, 2009, at 1:52 PM, EricC wrote: Hi I am currently learning jQuery from the book Learning jQuery 1.3 and I have run across a block of code that is not working for me in FF or Safari. Here

[jQuery] Re: How to get an array of values?

2009-05-06 Thread Karl Swedberg
You can also do this: $(':checkbox').map(function() { return this.value; }); or, if you just want an array of checked checkbox values, do this: $(':checkbox:checked').map(function() { return this.value; }); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: Disable input button, using wrong HTML code?

2009-05-06 Thread Karl Swedberg
.attr('disabled', true) and .attr('disabled, 'disabled') should work. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: How to select all text in a div except ul

2009-05-05 Thread Karl Swedberg
the selector, too, if that div isn't the first one in your document. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On May 4, 2009, at 9:29 PM, mkmanning wrote: Sorry, maybe my response was somewhat confusing, but I don't believe you'll get a concatenated

[jQuery] Re: problem with wrapper arrays.......

2009-05-05 Thread Karl Swedberg
On May 6, 2009, at 12:05 AM, kali wrote: On May 5, 10:05 pm, mkmanning michaell...@gmail.com wrote: Accessing the elements by index returns the element itself. To call jQuery methods you'd need to do this: divs = $('div'); div2 = divs[2]; THIS is what I did div2 = divs[2] -- is

[jQuery] Re: cluetip plugin: how to implement a cluetip picture to a homepage logo?

2009-05-04 Thread Karl Swedberg
did you include the stylesheet that comes along with the plugin? If not, you'll have to set the basic style properties for it yourself. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On May 3, 2009, at 4:18 PM, flyfisherman wrote: Hi I try to implement

[jQuery] Re: parent element jumps when child fades in or out

2009-05-04 Thread Karl Swedberg
Try combining fade and slide in a single .animate method. For example: $('something').animate({height: 'hide', opacity: 'hide'}, 'slow') --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On May 4, 2009, at 12:56 AM, chadwithuhc wrote: hello all, i am

[jQuery] Re: cluetip plugin: how to implement a cluetip picture to a homepage logo?

2009-05-04 Thread Karl Swedberg
On May 4, 2009, at 11:50 AM, flyfisherman wrote: Hi Karl Yes I did include your stylesheet. Is there a problem with different broswers? Not that I'm aware of. Can you show me a test page somewhere? --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: cluetip plugin: how to implement a cluetip picture to a homepage logo?

2009-05-04 Thread Karl Swedberg
/script !-- optional -- script src=/assets/js/jquery.cluetip.js type=text/javascript/ script Let me know when the script tags are pointing to the right place; then I'll look at it again. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On May 4, 2009, at 2:54

[jQuery] Re: How to select all text in a div except ul

2009-05-03 Thread Karl Swedberg
On May 2, 2009, at 9:28 PM, mkmanning wrote: Don't use .text(), you'll get an array-like object of text nodes. Tiny clarification: you'll get a concatenated string of text nodes. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On May 2, 2009, at 9:28 PM

[jQuery] Re: How to make td clickable for table sorting

2009-05-01 Thread Karl Swedberg
. You can also see a demo here: http://book.learningjquery.com/6705/bookstore/books/index.html Hope that helps, --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On May 1, 2009, at 1:37 AM, Anil wrote: This is same code as in book. http://www.packtpub.com/article

[jQuery] Re: cluetip jsonp and jquery doesn't play nice together

2009-04-30 Thread Karl Swedberg
class={ajaxSettings: {datatype: 'jsonp'}}some text/a Also, make sure you're using the latest version of the clueTip plugin from Github: https://github.com/kswedberg/jquery-cluetip/tree/master --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Apr 30, 2009

[jQuery] Re: cluetip IE8 very slow adding to table rows

2009-04-29 Thread Karl Swedberg
So sorry, I haven't had a chance to fully explore this yet. Not ignoring you. Just having a hard time finding the time and tracking down the problem. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Apr 28, 2009, at 10:31 AM, DotnetShadow wrote: Hi

[jQuery] Re: why is :first-child selecting sub elements?

2009-04-29 Thread Karl Swedberg
Hi Liming, Just a child combinator rather than a descendant combinator: $(div[id ^= 'childtest_' ] :first-child).each(function() { alert( $(this).attr(id) ) }); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Apr

[jQuery] Re: Detect if drag outside of parent using jQuery UI Draggable

2009-04-27 Thread Karl Swedberg
Would you mind posting this question to the jquery-ui google group if you haven't done so already? That group is dedicated to questions such as yours that are specifically related to jQuery UI. http://groups.google.com/group/jquery-ui/ thanks, --Karl Karl Swedberg

[jQuery] Re: cluetip is not working in updatepanel

2009-04-27 Thread Karl Swedberg
is related to the cluetip function not being bound to content that has been ajaxed in, you'll probably have to re-bind it after the new content has been loaded. See this tutorial for more information: http://www.learningjquery.com/2008/05/working-with-events-part-2 --Karl Karl Swedberg

[jQuery] Re: Removing item from array based on property

2009-04-27 Thread Karl Swedberg
the array with the .splice() method. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Apr 27, 2009, at 10:51 AM, Mervyn wrote: Hello all, I have a question about removing an item from an array. I am looking to remove an item from the array based

[jQuery] Re: ClueTip doesn't show pages from the www.

2009-04-27 Thread Karl Swedberg
environment, you might be able to use jsonp ( http://en.wikipedia.org/wiki/JSONP#JSONP ) or a cross-domain proxy ( http://ajaxpatterns.org/archive/Cross-Domain_Proxy.php ) --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Apr 27, 2009, at 6:32 PM, Nir wrote: Hi

[jQuery] Re: How to get css object of one element?

2009-04-27 Thread Karl Swedberg
It depends on which one you want, but there are a number of selectors available. For example: $('a:first').css('color'); $('a:last').css('color'); $('a:eq(2)').css('color'); More info here: http://docs.jquery.com/Selectors --Karl Karl Swedberg www.englishrules.com

[jQuery] Re: fadein thumbnails when loaded

2009-04-27 Thread Karl Swedberg
On Apr 27, 2009, at 8:05 PM, Eric Garside wrote: A) the images very quickly load then disapper. I dont want to hide the images in css incase people have js diasbled. You're out of luck, then. DOMReady will trigger after the images and html has loaded, so unless you hide them with CSS,

[jQuery] Re: Cluetip override Error to stop showing cluetip

2009-04-24 Thread Karl Swedberg
Wonderful, Marv! Thanks for that note. I'm glad it's working for you. My next step, before I start on a complete rewrite, is to update the documentation with the added/improved features. Cheers, --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Apr 24

[jQuery] Re: Get first child within an element

2009-04-24 Thread Karl Swedberg
this should do the trick: $(tdRef).find('img:first'); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Apr 24, 2009, at 7:43 AM, dgb wrote: Hi, I've got a reference to a TableCell and I'd like to use jQuery to get the first instance of an IMG tag

[jQuery] Re: clueTip access to xhr

2009-04-23 Thread Karl Swedberg
: { beforeSend: function(xhr) { (window.console console.log) ? console.log(xhr) : alert(xhr); }, complete: function(xhr, textstatus) { (window.console console.log) ? console.log(textstatus) : alert(textstatus); } } }); --Karl Karl Swedberg www.englishrules.com

[jQuery] Re: Cluetip override Error to stop showing cluetip

2009-04-23 Thread Karl Swedberg
/kswedberg/jquery-cluetip/tree/master Cheers, --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Apr 23, 2009, at 9:35 PM, DotnetShadow wrote: Hi there, I've been using the most recent version of cluetip 0.9.9.c and I have overridden error function in the cluetip

[jQuery] Re: js query and wordpress. Cluetip stops working

2009-04-22 Thread Karl Swedberg
not sure what the 503 error was all about, but maybe your all in one SEO pack for WordPress or something in your .htaccess is conflicting with the paths somehow? --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Apr 22, 2009, at 3:57 AM, moof wrote: Hi

[jQuery] Re: ClueTip Ajax Load Div

2009-04-22 Thread Karl Swedberg
to achieve what you're trying to do. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Apr 22, 2009, at 8:43 AM, Geert Baven wrote: this should do $(document).ready(function() { $('a').each(function() { var thisHash = this.hash; $(this).cluetip

[jQuery] Re: ClueTip Ajax Load Div

2009-04-22 Thread Karl Swedberg
this: a href=temp.html#frag id=nav rel=temp.htmlShow/a --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Apr 22, 2009, at 11:16 PM, followerofjesus wrote: Thankyou Karl and Geert, I tried $(document).ready(function() { $('a#nav').cluetip({ ajaxProcess

[jQuery] Re: rss from plugins.jquery.com?

2009-04-21 Thread Karl Swedberg
, for a jQuery gadget I'm creating. I resorted to scraping this: http://plugins.jquery.com/project/Plugins/date Getting this page as RSS would be fantastic. Here you go: http://plugins.jquery.com/latest_releases/feed --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: rss from plugins.jquery.com?

2009-04-21 Thread Karl Swedberg
On Apr 21, 2009, at 5:13 PM, Matt Kruse wrote: On Apr 21, 4:09 pm, Karl Swedberg k...@englishrules.com wrote: Here you go: http://plugins.jquery.com/latest_releases/feed Cool, is this new, or did I just not find it when I looked? I'd like to see more items in the feed, too. So it would

[jQuery] Re: clueTip access to xhr

2009-04-21 Thread Karl Swedberg
}, complete: function(xhr, textstatus) { // whatever } } }); and so on. --Karl Karl Swedberg www.learningjquery.com www.englishrules.com On Apr 20, 2009, at 10:52 AM, DotnetShadow wrote: I am having the exact same problem even with the latest code and like yourself I

[jQuery] Re: explain the e in function

2009-04-20 Thread Karl Swedberg
/jQuery.Event#Attributes http://docs.jquery.com/Events/jQuery.Event#Methods --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Apr 20, 2009, at 5:01 AM, johannesf wrote: Hi I cant find any generall documentation for the e in functions, for exampel: $().click( function

[jQuery] Re: Best tooltip plug-in -- opinions?

2009-04-20 Thread Karl Swedberg
(or a combination of plugin options and CSS). --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: Best tooltip plug-in -- opinions?

2009-04-20 Thread Karl Swedberg
, but they aren't required. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: how to detect if i have past an element

2009-04-20 Thread Karl Swedberg
Maybe this will help? http://remysharp.com/2009/01/26/element-in-view-event-plugin/ --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Apr 21, 2009, at 12:19 AM, iceangel89 wrote: anyone ... ? On Apr 20, 9:08 am, iceangel89 iceange...@gmail.com wrote: hmm

[jQuery] Re: fadeOut Callback Trigger Count

2009-04-19 Thread Karl Swedberg
Would you mind giving us some code to look at? Or point us to a test page? It might be easier to help you if we have something to look at. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Apr 19, 2009, at 7:22 AM, blockedmind wrote: Hmmm... On Apr 18, 2

[jQuery] Re: Add an attribute

2009-04-19 Thread Karl Swedberg
Sounds like you're looking for the .data() method. See information on the docs: http://docs.jquery.com/Core/data#namevalue --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Apr 19, 2009, at 4:06 AM, David wrote: Hello everybody, I have a little question

[jQuery] Re: clueTip access to xhr

2009-04-19 Thread Karl Swedberg
() { } } }); See http://docs.jquery.com/Ajax/jQuery.ajax#options for a list of $.ajax options. Also, make sure you use jQuery 1.3 or above and the latest clueTip version on Github ( http://github.com/kswedberg/jquery-cluetip/tree/master ) --Karl Karl Swedberg www.englishrules.com

[jQuery] Re: fadeOut Callback Trigger Count

2009-04-19 Thread Karl Swedberg
Karl Swedberg www.englishrules.com www.learningjquery.com On Apr 19, 2009, at 6:01 PM, blockedmind wrote: Thanks for the reply firstly. :) Since I'm talking about a default jQuery function I didn't give a full example. If you think that I'd help let me give you one. I have simplified my

[jQuery] Re: js query and wordpress. Cluetip stops working

2009-04-19 Thread Karl Swedberg
waste my time trying to help when you don't really need it. thanks, --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Apr 19, 2009, at 4:53 AM, moof wrote: it's giving me a 503 error! script: http://moof.be/jquery.cluetip.js:503 perhaps this helps

[jQuery] Re: cluetip ajax authentication

2009-04-18 Thread Karl Swedberg
to modify the plugin script itself, which, of course, isn't advisable. Am I missing something? if you pull down the most recent version from GitHub now, you can just add your own beforeSend callbacks to the ajaxSettings option. --Karl Karl Swedberg www.englishrules.com

[jQuery] Re: Form Submit Button to be activated when the fields are modified

2009-04-18 Thread Karl Swedberg
the events so I wouldn't unbind any other handlers bound to the form. I also used .one('change', fn) to unbind the submit handler, because after you do this once, you no longer need it. Hope that helps. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Apr 18

[jQuery] Re: Form Submit Button to be activated when the fields are modified

2009-04-18 Thread Karl Swedberg
heh. you could also set the submit input to disabled. something like this: var $mySubmit = $('form :submit'); $mySubmit.attr('disabled', true); $('form :input').one('change', function() { $mySubmit.attr('disabled', false); }); --Karl Karl Swedberg www.englishrules.com

[jQuery] Re: Syntax

2009-04-18 Thread Karl Swedberg
success getting an answer on the jquery-ui Google Group. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Apr 18, 2009, at 10:40 AM, Connor wrote: Hi, I've learned jQuery javascript pretty recently. That being said, I'm not entirely confident in my

[jQuery] Re: Unable to refer to a select element

2009-04-18 Thread Karl Swedberg
to use any other selector, such as id, class, attribute, etc. Do you have a test page we can see? --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Apr 18, 2009, at 4:29 PM, marc wrote: Even if I add an id to the select element and try to select by Id, I

[jQuery] Re: cluetip ajax authentication

2009-04-18 Thread Karl Swedberg
the default. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Apr 18, 2009, at 9:41 PM, DotnetShadow wrote: Thanks for getting back to me, You are correct I had to modify the script hence it was a temporary fix, but now that I can use my own beforeSend

[jQuery] Re: js query and wordpress. Cluetip stops working

2009-04-18 Thread Karl Swedberg
Not sure exactly what is causing the problem, but you should upgrade your version of jQuery to 1.3.2 and remove the reference to demo.js, since that one isn't needed. I pulled down your page and made those two changes, and it seemed to work fine from here. --Karl Karl

[jQuery] Re: cluetip ajax authentication

2009-04-17 Thread Karl Swedberg
the plugin itself. The only exception will be the error callback, which will override the plugin's function. How does that sound? I'll post an update when I think I have something working. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Apr 16, 2009, at 8:51

[jQuery] Re: cluetip IE8 very slow adding to table rows

2009-04-17 Thread Karl Swedberg
do it here without a complete re-architecting of the plugin and the elimination of the hoverIntent feature. I don't think this will improve performance, but you could write your script like this: $(document).ready(function() { $(.user).cluetip(); }); --Karl Karl

[jQuery] Re: cluetip ajax authentication

2009-04-17 Thread Karl Swedberg
Okay, tested the new version and it seems to be working well. Please give it a shot and let me know if you run into any problems: http://github.com/kswedberg/jquery-cluetip/tree/master thanks! --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Apr 17, 2009

[jQuery] Re: Change li class to current and remove all other current classes onclick

2009-04-17 Thread Karl Swedberg
Hi Mat, Try this: $('#menu li').click(function() { $(this).addClass('current').siblings().removeClass('current'); }); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Apr 17, 2009, at 1:11 PM, Mat wrote: I have already read the similar post

[jQuery] Re: binding after .get()

2009-04-17 Thread Karl Swedberg
#Why_do_my_events_stop_working_after_an_AJAX_request.3F --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: AJAX Problem

2009-04-17 Thread Karl Swedberg
/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_Ajax_request.3F If you still have problems after reading through it and trying one of the many solutions, let us know. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Apr 17, 2009, at 2:28 PM, Rogue Lord wrote

[jQuery] Re: Selector questions

2009-04-17 Thread Karl Swedberg
. You could then use .closest('div.wrapper') as he recommends, or .parents('div.wrapper:first') --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: unsubscribe please

2009-04-17 Thread Karl Swedberg
side of the group's homepage at http://groups.google.com/group/jquery-en/ . Then click the Unsubscribe button on the page that appears. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Apr 17, 2009, at 3:00 PM, Johnny Lombardo wrote: I have been trying

[jQuery] Re: Works in IE7 but not IE6

2009-04-17 Thread Karl Swedberg
is only going to make things worse. For safe encapsulation, try this: jQuery(document).ready(function($) { // do your thing here. }); Also, take a look at http://docs.jquery.com/Core/jQuery.noConflict --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: clueTip plugin - onClose option in the API?

2009-04-16 Thread Karl Swedberg
plugin on GitHub: http://github.com/kswedberg/jquery-cluetip/tree/master --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Apr 16, 2009, at 1:51 PM, tatlar wrote: Hi there, I am using Karl's clueTip plugin in a table. When the user clicks a link in the table

[jQuery] Re: Creating custom attributes in html

2009-04-15 Thread Karl Swedberg
was under the impression that adding DOM expandos with JavaScript could cause memory leaks in IE unless you scrupulously clean up after yourself (setting the property to null or some such). Using data() avoids this problem. --Karl Karl Swedberg www.englishrules.com

[jQuery] Re: IE problem with each function

2009-04-15 Thread Karl Swedberg
:) { alert(index); exit; } }) you're probably getting a javascript error in IE that is terminating the script. Try replacing exit; with return false; --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: Basic Selector expression only work on Chrome, no other browsers

2009-04-15 Thread Karl Swedberg
Karl Swedberg www.englishrules.com www.learningjquery.com On Apr 15, 2009, at 5:57 AM, Tao wrote: Hi, I have the follow simple html code: div style=FILTER: progid:DXImageTransform.Microsoft.Gradient (GradientType=1, StartColorStr=#, EndColorStr=#7E003366); WIDTH: 794px

[jQuery] Re: selecting li - beginner learning jquery

2009-04-15 Thread Karl Swedberg
for. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: Help Me Optimize My First JQuery Script (Extinguish The Early Flames of Bad Practices)

2009-04-15 Thread Karl Swedberg
not just use a span or a div and hang the click event on that? then propagation is a non- issue One reason to use a link rather than a span or a div is for (keyboard) accessibility. Links can have focus and can be tabbed to and triggered by pressing enter/return. --Karl Karl

[jQuery] Re: Has anyone used these jQuery books?

2009-04-15 Thread Karl Swedberg
1.6 (though a photo I took is on its cover), but you should know that a lot changed between 1.6 and 1.7. Also, 1.6 is compatible with jQuery 1.2.x, while 1.7 is compatible with 1.3.x, in case that matters. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: Selector questions

2009-04-15 Thread Karl Swedberg
(); and a bit more readable: $(this) .parent() .parent() .find(':checkbox').doSomething() .end() .prev().doSomethingElse(); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: Find and replace character inside div

2009-04-11 Thread Karl Swedberg
You'll probably want to set the global flag and use regex notation. var f = $('#fruits'); f.html(f.html().replace(/;/g, br /)); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Apr 10, 2009, at 5:23 PM, jc_2009 wrote: Hi, How to do a find and replace

[jQuery] Re: Simple HTML swap question

2009-04-11 Thread Karl Swedberg
that helps. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Apr 11, 2009, at 5:46 PM, Calvin wrote: I have a simple index page with 3 links(with separate ids) and a empty div/div tag(with an id). I am able to get content to load into the empty div tags but I

[jQuery] Re: Simple HTML swap question

2009-04-11 Thread Karl Swedberg
Yeah, I thought that looked familiar. ;-) Glad you like the book. Let me know if you need any more help with that. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Apr 11, 2009, at 7:49 PM, Calvin Stephens wrote: Hi Karl, I was actually trying to build

[jQuery] Re: select option hovering problem

2009-04-10 Thread Karl Swedberg
://msdn.microsoft.com/en-us/library/ms536945(VS.85).aspx --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Apr 10, 2009, at 11:59 AM, gostbuster wrote: Hi everyone, I'm getting in trouble with Jquery selectors. I explain my problem : I have a select box from

[jQuery] Re: Cluetip not working on multiple links calling local html data

2009-04-09 Thread Karl Swedberg
Karl Swedberg www.englishrules.com www.learningjquery.com On Apr 8, 2009, at 10:44 PM, Ian wrote: Hi, I'm pretty new to jquery, but I really love the cluetip plugin. I'm having trouble, though, when I define tips for a series of a elements which each call different local html

[jQuery] Re: How to tell apart focus event

2009-04-08 Thread Karl Swedberg
The only problem I see with this is if the user is tabbing through a document/form. The mouse could be anywhere, but the user is still manually focussing/blurring. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Apr 8, 2009, at 2:31 AM, Jordon Bedwell

[jQuery] Re: cluetip missing the hover ?

2009-04-07 Thread Karl Swedberg
Hi Margie, where is the content of the tooltip coming from? by default it comes from the rel attribute, but I don't see that in your td. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Apr 7, 2009, at 7:38 PM, Margie wrote: I have a table and am

[jQuery] Re: Use jquery before the DOM is ready?

2009-04-06 Thread Karl Swedberg
On Apr 5, 2009, at 11:30 PM, Hector Virgen wrote: Just curious, why would you want to avoid document.write()? Here's one reason: http://ln.hixie.ch/?start=1091626816count=1 --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: how to parse data obtained from jquery ajax call

2009-04-04 Thread Karl Swedberg
div/p is supposed to get paragraphs that are children of divs. It's XPath syntax, which jQuery no longer supports. Try var dom = $('div p', data); or var dom = $(data).find('div p'); instead. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: cluetip question mark loading data

2009-04-01 Thread Karl Swedberg
Hi there, The problem is that you're using the splitTitle option, which is for loading text from the link's title attribute into the clueTip. Remove that option and it should work. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Mar 31, 2009, at 11:31

[jQuery] Re: css :hover problem

2009-03-29 Thread Karl Swedberg
() { $(this).removeClass('some-class'); }, function() { $(this).addClass('some-class'); }); If you're including the javascript file in the head, you'll need to wrap the jQuery bit in a $(document).ready() --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: SildeDown and table rows.

2009-03-28 Thread Karl Swedberg
One workaround is to wrap the contents of each TD in a DIV. Hide those divs and then slide them down. The only other thing I would suggest is to use fadeIn() instead. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Mar 28, 2009, at 7:17 AM, Jsbeginner

[jQuery] Re: cluetip retrieving parts of ajaxfile and noncaching in IE7

2009-03-27 Thread Karl Swedberg
: { cache: false }, ajaxProcess: function(data) { var $div = $('div/div').append(data).find(thisHash); return $div; } }); }); }); Could you try that and see if it works? thanks! --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: no :ge : le filters?

2009-03-26 Thread Karl Swedberg
)).add(div.foo:eq(2)).remove(), but why not just $ (div.foo:gt(1)).remove() ? --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: Beginner Question

2009-03-26 Thread Karl Swedberg
Just use an attribute selector. For example: $('input[name=firstName]') http://docs.jquery.com/Selectors/attributeEquals#attributevalue --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Mar 26, 2009, at 10:04 AM, Flavouski wrote: In JQuery I saw you can

[jQuery] Re: Event Cleanup Slowness in Firefox

2009-03-26 Thread Karl Swedberg
/03/working-with-events-part-1 --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Mar 26, 2009, at 11:45 AM, J K wrote: I have a 65x65 HTML table, giving me 4225 table cells. I am using jQuery to make each cell clickable with the following code: $('td

[jQuery] Re: cluetip plugin issues

2009-03-25 Thread Karl Swedberg
Hi Adam, If you want the content to be ajaxed in, then by default you need to use the rel attribute and set it to the file. you can override that by setting the attribute option to something else, e.g. .cluetip({attribute: 'href'}); hope that helps. --Karl Karl Swedberg

[jQuery] Re: Need some help with a image opacity thingy.

2009-03-25 Thread Karl Swedberg
Hi there, You could use the hoverIntent plugin or update the script with suggestions posted here: http://www.learningjquery.com/2009/01/quick-tip-prevent-animation-queue-buildup --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Mar 25, 2009, at 8:00 AM

[jQuery] Re: Attribute selector

2009-03-25 Thread Karl Swedberg
Hi Lay, You could do it like this: $('table').filter(function() { return this.style.tableLayout == 'fixed'; }); Not sure what happens when you try it in a browser that doesn't support the tableLayout property, though. --Karl Karl Swedberg www.englishrules.com

[jQuery] Re: attr(href) giving full path instead of relative in IE

2009-03-25 Thread Karl Swedberg
? elem.getAttribute( name, 2 ) : elem.getAttribute( name ); I believe that this works in every case except when the href is set via JavaScript. In that case, I'm not sure anything can be done. --Karl Karl Swedberg www.englishrules.com

[jQuery] Re: attr(href) giving full path instead of relative in IE

2009-03-25 Thread Karl Swedberg
this.href is reporting the fully qualified URL. For #3, in which I injected the link with javascript, they're both reporting the fully qualified URL. Which version of IE are you testing in? --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Mar 25, 2009, at 2

[jQuery] Re: attr(href) giving full path instead of relative in IE

2009-03-25 Thread Karl Swedberg
to normalize with a simple regular expression. For example: var noslash = this.pathname.replace(/^\//,''); Or you could do this: var noslash = this.pathname.indexOf('/') === 0 ? this.pathname.slice(1) : this.pathname --Karl Karl Swedberg www.englishrules.com

[jQuery] Re: A question About jQuery

2009-03-24 Thread Karl Swedberg
quoted or accepted as true. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Mar 24, 2009, at 7:35 AM, Alaa wrote: Hi, I am doing a master thesis about Javascript ajax frameworks, and I have a question about jQuery framework, and need your answer please

[jQuery] Re: Changing the ID of a cloned table row

2009-03-24 Thread Karl Swedberg
On Mar 24, 2009, at 11:44 AM, rivkadr wrote: The add table row is being added with: pa href=# onclick=addTableRow('#table-1'); return false;Add New/a/p ok. No, your code does not work for me. It's exactly the same as the code I've been trying since last night, so no offense -- why would

[jQuery] Re: Forced bubbling

2009-03-23 Thread Karl Swedberg
Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: Changing the ID of a cloned table row

2009-03-23 Thread Karl Swedberg
for you? --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Mar 23, 2009, at 10:11 PM, rivkadr wrote: Am getting bloody from beating my head against the wall. I just want to be able to change the id of a table row that is cloned and appended to a table

[jQuery] Re: Keeping jquery codes up to date - best practise?

2009-03-22 Thread Karl Swedberg
Hi there, You can change the url so that it always uses the latest 1.3.x release ... http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js or even the latest 1.x release ... http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js --Karl Karl Swedberg

[jQuery] Re: JQuery selectors and Umlaute

2009-03-20 Thread Karl Swedberg
Which version of jQuery are using? Are you seeing any JavaScript errors? I just tested this and it worked fine: result: http://jsbin.com/otaya/ code: http://jsbin.com/otaya/edit --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Mar 20, 2009, at 5:57 AM

[jQuery] Re: Regex Help for CSS Selector type deal

2009-03-20 Thread Karl Swedberg
Hi Eric, These should work: var classes = 'your .string'.match(/\.[a-zA-Z_-]+/g); var ids = 'your #string'.match(/#[a-zA-Z_-]+/g); var idsAndClasses = '#your .string'.match(/(\.|#)[a-zA-Z_-]+/g); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Mar 20

[jQuery] Re: jquery website broken?

2009-03-18 Thread Karl Swedberg
Looks fine to me, too. Can you be more specific about what looks broken? Or provide a screenshot or something? thanks, --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Mar 18, 2009, at 9:21 AM, MorningZ wrote: What do you see as broken? the page looks

[jQuery] Re: Cluetip, opening tip via code

2009-03-18 Thread Karl Swedberg
') Hope that helps. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Mar 18, 2009, at 7:26 AM, batuj wrote: I couldn't manage to get anything with : hoverClass: 'highlight' option. thanks anyway.. any other ideas? On Mar 18, 12:52 pm, ryan.j ryan.joyce

[jQuery] Re: jquery website broken?

2009-03-18 Thread Karl Swedberg
could do, but I'm sort of stuck unless I can replicate the problem on my machine. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Mar 18, 2009, at 9:36 AM, iain.wa...@googlemail.com wrote: Hmm that is odd...You can see a screenshot of how its appearing

[jQuery] Re: jquery website broken?

2009-03-18 Thread Karl Swedberg
and not for others. If someone who is seeing the page broken can troubleshoot and recommend changes to the CSS, I, or one of the other team members, would be happy to apply them. Thanks, --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Mar 18, 2009

<    1   2   3   4   5   6   7   8   9   10   >