[jQuery] Re: option to see evidence of jquery binding in the html markup?

2008-08-18 Thread chrismarx
a new attribute to the element, to flag that a particular event has been attached. Karl Rudd On Sat, Aug 16, 2008 at 7:21 AM, chrismarx [EMAIL PROTECTED] wrote: nobody else have this problem (or see it as a problem?)? On Aug 4, 6:03 pm, chrismarx [EMAIL PROTECTED] wrote: It's great

[jQuery] Re: storing jquery object in array

2008-04-04 Thread chrismarx
with dom elements that actually exist, your example works fine. perhaps there is a problem elsewhere... On Apr 3, 8:19 pm, ScottBruin [EMAIL PROTECTED] wrote: Please pardon my poor understanding of javascript basics: I've been using the following method to create an object array of

[jQuery] Re: Help with simple toggle not working in IE

2008-03-30 Thread chrismarx
first, for all ie problems, you need to get debugbar and companion, they're like firebug for IE. what you also get is the ability to see your code as it looks once ie has interpreted it. in this case, it looks like some of your comments !-- , -- are actually commenting out your script. i ran the

[jQuery] Re: clearTimeOut(this.iTimer) is not defined

2008-03-30 Thread chrismarx
well for one, its setTimeout() not setTimeOut() perhaps you can make that change and then get back to us- On Mar 29, 1:43 pm, Cronlajoon [EMAIL PROTECTED] wrote: Hi! I'm currently taking my first steps again my own first plugin. As you probably already figured out, it's not working. It

[jQuery] Re: array problems

2008-03-30 Thread chrismarx
well, could you show us how your multidimensional array is being populated? it looks like there is not object that the position you're looking for- On Mar 29, 1:04 pm, Tadas J [EMAIL PROTECTED] wrote: Hello, I have a problem with arrays. I am getting data from xml and trying to get data to

[jQuery] Re: Off Topic: Earth hour

2008-03-30 Thread chrismarx
i am too, trying to spread the word. I love that google put this on the search page, I wonder how putting out this information to such a large audience will affect participation (hopefully positively!)- On Mar 29, 5:03 pm, [EMAIL PROTECTED] wrote: Anyone participating?

[jQuery] Re: java porting?

2008-03-30 Thread chrismarx
i think you might be looking for something like rhino http://www.mozilla.org/rhino/ or maybe this http://ejohn.org/projects/bringing-the-browser-to-the-server/ On Mar 30, 4:32 pm, ClaudeFr [EMAIL PROTECTED] wrote: Hello! First, thanks for the wonderful validation plugin :-) Then, what

[jQuery] Re: accessing elements with . in their ids without escaping

2008-03-24 Thread chrismarx
this works, but maybe there is also an easier way out there somewhere- $([id='something.somethingelse']) On Mar 24, 2:00 pm, Harald Armin Massa [EMAIL PROTECTED] wrote: hello, I am in the process of moving to jQuery. One challenge is: many of the relevant IDs of Elements have one or more

[jQuery] Re: Element with two classes

2008-03-09 Thread chrismarx
i've used this instead; $('table[class=cl1 cl2]').addClas('abc'); On Mar 9, 12:36 pm, Karl Swedberg [EMAIL PROTECTED] wrote: Jason's suggestion should work for the first table: $('table.cl1.cl2').addClass('abc'); If you want a selector for the second table exclusively, try this:

[jQuery] Re: Execute JavaScript that is added to the page by AJAX?

2008-03-05 Thread chrismarx
if you load the minified or packed version of jquery, and have gzip compression on your server (which everyone should have anyways), jquery is only around 15kb! is that heavy? On Mar 5, 10:51 am, Jonny [EMAIL PROTECTED] wrote: Ok, sorry, never mind, I guess there was just a delay in this post

[jQuery] Re: please, please, please, please, please, help me with this

2008-02-25 Thread chrismarx
a link to your page would be helpful- On Feb 25, 9:37 am, Tal [EMAIL PROTECTED] wrote: Hi all, I mannaged to get the JCarousel working perfectly in IE but in Firefox Mozilla the previous and next arrow buttons dont show. Im using the static_controls.html model from the examples and the

[jQuery] use jquery script from parent of iframe

2008-02-25 Thread chrismarx
Quick question. There is a parent page that uses jquery and iframe in that page, which loads a page that also uses jquery. I would like the child parent to use the parent's instance of jquery. i tried: script type=text/javascriptvar jQuery, $; $ = window.parent.$; jQuery = window.parent.jQuery;

[jQuery] Re: jcarousel - displaying more than 3 images

2008-02-21 Thread chrismarx
check out the configuration section of the jcarousel documentation http://sorgalla.com/projects/jcarousel/ (for you question, use the visible property) On Feb 20, 7:44 pm, Richi3f [EMAIL PROTECTED] wrote: Hi, I'm new here and I'm just a beginner. The jcarousel's great! I loved it since the

[jQuery] Re: Lightbox plugin: click on 1 of the 3 images in FF and IE to see it your self:

2008-02-03 Thread chrismarx
first off, for ie problem, if you havent got it already, check out the ie debugbar and companion js, they come very close to firefox for debugging ie problem. secondly, on loading the page i get errors from one of the packed scripts that uses eval. i have run into trouble with scripts that are

[jQuery] Re: absolute beginner! How to set page width to window width?

2008-01-31 Thread chrismarx
im not sure you really need jquery for this, or at least not much. just set your div width and height to 100% $(yourDiv).css({width:100%,height:100%}); On Jan 31, 3:48 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello :) Thanks for the multitude of helpful threads you people post!

[jQuery] Re: .clone not work in FF or IE, please help

2008-01-29 Thread chrismarx
should clone also work for behaviors that were not added by jquery? (like a google map?) i tried to clone a div with a google map, and although clone successfully copied all the elements, the behaviors were lost. append did the job for a workaround. should clone(true) be able to also grab all the

[jQuery] Re: Google map plugin?

2008-01-29 Thread chrismarx
i agree, i don think any plugin will be able to keep up with all the new developments. unless you want a super simple map. are you interested in a jstl version? On Jan 29, 5:12 am, Bohdan Ganicky [EMAIL PROTECTED] wrote: Hi Chris, Mika is absolutely right. Google Maps API is itself quite

[jQuery] Re: simplier, more unobtrusiv?

2008-01-25 Thread chrismarx
! tom On Jan 25, 1:18 am, chrismarx [EMAIL PROTECTED] wrote: well for starters, i would write your first function like this: $(#logo).click(function() { $(this).fadeOut(slow).animate({opacity: 0.0}, 500 ); $(#content).fadeIn(slow); }); but doesnt fadeOut already set

[jQuery] Re: simplier, more unobtrusiv?

2008-01-24 Thread chrismarx
well for starters, i would write your first function like this: $(#logo).click(function() { $(this).fadeOut(slow).animate({opacity: 0.0}, 500 ); $(#content).fadeIn(slow); }); but doesnt fadeOut already set the opacity to 0? On Jan 24, 3:18 pm, Charles K. Clarkson [EMAIL PROTECTED]

[jQuery] Re: Scrollable image in a div

2008-01-24 Thread chrismarx
maybe you could modify this to listen for mousemoves? http://www.freewebs.com/flesler/jQuery.ScrollTo/ On Jan 24, 10:57 am, Rick Faircloth [EMAIL PROTECTED] wrote: I'd love to see that, too, but with the option to leave off the scrollbars. (Which may be an option already, I didn't take time

[jQuery] Re: Add a callback to any method

2008-01-23 Thread chrismarx
thanks so much for your time investigating this. i too started playing wiih the idea of using a jquery function, but i didnt understand why it worked for otherr jquery methods and not livequery. i learned a lot reading your post! thanks! On Jan 23, 4:32 am, h0tzen [EMAIL PROTECTED] wrote: i

[jQuery] Re: Add a callback to any method

2008-01-22 Thread chrismarx
well, yeah it would be, if i were smart enough to figure out how to actually use in the context of jquery chained functions. the above example is what i want it to do. the closest i got was this: ( $('div[class=rating]').livequery(function(){ var $this = $(this); var opts =

[jQuery] Re: Add a callback to any method

2008-01-22 Thread chrismarx
(){ var $this = $(this); var opts = function(){ g.ratingOpts.self = $this; g.ratingOpts.curvalue = parseInt($this.attr(rate)); return g.ratingOpts; }(); $this.rating(opts); }) }).etc On Jan 22, 12:55 pm, chrismarx [EMAIL

[jQuery] ie7 document not ready for namespace addition

2008-01-21 Thread chrismarx
id like to run this code if ( this.vml_capable ) { document.namespaces.add(v,urn:schemas-microsoft-com:vml); document.createStyleSheet().addRule(v\\:*, behavior:url(#default#VML); position:absolute ); ...etc but i get an error even when running

[jQuery] Re: jquery 1.2.2 and animate()

2008-01-21 Thread chrismarx
yeah, the color plugin, its sweet. http://plugins.jquery.com/project/color On Jan 21, 7:21 am, Stefan Kilp [sk-software] [EMAIL PROTECTED] wrote: hi, what is the best way to animate background-color with jquery. i tried $j(this).animate({backgroundColor:#ff}, 2000) to get a red

[jQuery] Re: .click()

2008-01-21 Thread chrismarx
i believe this is expected behavior, it would be a security risk to allow script access to file inputs- On Jan 20, 7:32 pm, Steffan A. Cline [EMAIL PROTECTED] wrote: on 1/6/08 11:55 PM, chrismarx at [EMAIL PROTECTED] wrote: best to see the live page- On Jan 6, 9:32 pm, Steffan

[jQuery] Add a callback to any method

2008-01-21 Thread chrismarx
I'd like to be able to do something like this //Extend Function for easy callbacks Function.prototype.andThen=function(g) { var f=this; return function() { f();g(); } }; $('div[class=rating]').livequery(function(){ var $this = $(this); var opts = function(){

[jQuery] Re: traversing xml

2008-01-21 Thread chrismarx
this returned a myVal of 2007: $(document).ready(function(){ $.ajax({ type: GET, url:jquery_test.xml, //your xml data: , dataType: xml, success: function(data,textStatus) {

[jQuery] using resizable handles that are not children

2008-01-15 Thread chrismarx
i posted this over at jqueryUI forum, but there doesnt seem to be a whole lot of acitvity over there. the problem is here- http://groups.google.com/group/jquery-ui/browse_thread/thread/653876bcc27ade9b

[jQuery] sort existing li elements

2008-01-10 Thread chrismarx
i'm looking for a plugin or code to sort an existing list of li elements, without going back to the server. anyone seen this already?

[jQuery] Re: sort existing li elements

2008-01-10 Thread chrismarx
([author='backup'])).sort(function(a,b){ return a.getAttribute(rate) b.getAttribute(rate) ? 1 : -1; }).appendTo(#c-rply-to0) } }) } On Jan 9, 11:42 pm, chrismarx [EMAIL

[jQuery] Re: .click()

2008-01-07 Thread chrismarx
best to see the live page- On Jan 6, 9:32 pm, Steffan A. Cline [EMAIL PROTECTED] wrote: on 1/6/08 5:29 PM, chrismarx at [EMAIL PROTECTED] wrote: first, it would be better jquery technique to bind your img outside of the onclick $('#imgID').click(function(){ $('#logo

[jQuery] Re: Working with data from a GoogleMaps InfoWindow

2008-01-07 Thread chrismarx
can u post a link? On Jan 6, 4:52 pm, chrismarx [EMAIL PROTECTED] wrote: if you're using jquery u dont even need a form. but if you do want to serialize your parameters, that's fine. i think the easiest thing to do is to give your form an id, making it easy for jquery to find it. once

[jQuery] Re: append ul (unordered list) ie bug

2008-01-07 Thread chrismarx
+'/ul (that's a single quote followed by a double right after id+ In the second, #('#c-r+id) should be $('#c-r'+id) See if that works Danny On Jan 6, 4:28 pm,chrismarx[EMAIL PROTECTED] wrote: in firefox this works fine var id = 1; $parent.append('div id=c-r'+id+' class=c-replies c-hide

[jQuery] Re: XML Processing

2008-01-06 Thread chrismarx
personally, i love using jquery thusly for parsing xml var xml = data; var path = subscr.SubscribersubscriberId; for (var i=0;i$(path,xml).length;i++){ alert( $(+path+:eq(+i+)).text() ) } On Jan 4, 3:09 pm, Jamie [EMAIL PROTECTED] wrote: Hey, I am attempting to process

[jQuery] append ul (unordered list) ie bug

2008-01-06 Thread chrismarx
in firefox this works fine var id = 1; $parent.append('div id=c-r'+id+' class=c-replies c-hide style=display: none;ul id=c-rply-to'+id+'/ul/div'); but in ie, no ul gets created. next i tried appending the ul to the newly created div (and yes, the div was found) var id = 1; $parent.append('div

[jQuery] Re: Working with data from a GoogleMaps InfoWindow

2008-01-06 Thread chrismarx
if you're using jquery u dont even need a form. but if you do want to serialize your parameters, that's fine. i think the easiest thing to do is to give your form an id, making it easy for jquery to find it. once you've got that, everything else should be easy- On Jan 6, 10:21 am, marcus [EMAIL

[jQuery] Re: .click()

2008-01-06 Thread chrismarx
first, it would be better jquery technique to bind your img outside of the onclick $('#imgID').click(function(){ $('#logo').click(); }); what function is executed when you trigger the click event on the logo input? On Jan 6, 5:46 pm, Steffan A. Cline [EMAIL PROTECTED] wrote: Running

[jQuery] Re: IE bug with child selector for XML

2008-01-04 Thread chrismarx
.: $('commentscomment:eq('+i+')*',xml) That should select all child elements. Karl Rudd On Jan 4, 2008 8:28 AM, chrismarx [EMAIL PROTECTED] wrote: this one's odd. this works: $('commentscomment:eq('+i+')',xml).each(function(){ responses[i][$(this).attr(NAME)] = $(this).text

[jQuery] Re: using animate() with duration/queue object and callback doesn't work

2008-01-04 Thread chrismarx
anyone? On Jan 3, 11:17 am, chrismarx [EMAIL PROTECTED] wrote: hi, this works fine $elem.animate( {opacity:0}, 600, callback) .animate( {height:hide}, 700); but this doesn't $elem.animate( {opacity:0}, {queue:false, duration:600}, callback) .animate( {height:hide

[jQuery] using animate() with duration/queue object and callback doesn't work

2008-01-03 Thread chrismarx
hi, this works fine $elem.animate( {opacity:0}, 600, callback) .animate( {height:hide}, 700); but this doesn't $elem.animate( {opacity:0}, {queue:false, duration:600}, callback) .animate( {height:hide}, 700); nor this $elem.animate( {opacity:0}, {queue:false,

[jQuery] IE bug with child selector for XML

2008-01-03 Thread chrismarx
this one's odd. this works: $('commentscomment:eq('+i+')',xml).each(function(){ responses[i][$(this).attr(NAME)] = $(this).text(); }); but this doesn't: $('commentscomment:eq('+i+')',xml).each(function(){ responses[i][$(this).attr(NAME)] = $(this).text(); }); the

[jQuery] Re: Adding jQuery Libary to JSEclipse

2007-11-28 Thread chrismarx
thanks, ill look in to that, but for the time being, i develop in java with eclipse, and i'd like to just keep using that. any other ideas? On Nov 28, 8:19 am, Giovanni Battista Lenoci [EMAIL PROTECTED] wrote: Hi, I've read this post: http://www.aptana.com/forums/viewtopic.php?t=3362 But

[jQuery] Re: Adding jQuery Libary to JSEclipse

2007-11-28 Thread chrismarx
oh, nice, i just saw the standalone part. im downloading it now, anything ill need to do to get jquery support? On Nov 28, 4:24 pm, Dan G. Switzer, II [EMAIL PROTECTED] wrote: Chris, thanks, ill look in to that, but for the time being, i develop in java with eclipse, and i'd like to just

[jQuery] Adding jQuery Libary to JSEclipse

2007-11-27 Thread chrismarx
JSEclipse has stated that they don't support jQuery, but with the ability to add your own libraries, I was wondering whether anyone has taken the time to put something together, so we could get jQuery code completion in jseclipse!!

[jQuery] Re: replace XPath functions for XML parsing

2007-11-20 Thread chrismarx
sweet!! thanks On Nov 19, 12:21 pm, Karl Swedberg [EMAIL PROTECTED] wrote: On Nov 19, 2007, at 7:23 AM, chrismarx wrote: anybody? On Nov 13, 11:50 pm, chrismarx [EMAIL PROTECTED] wrote: I'd like to keep up with the new jquery release and abandon my xpath code for parsing xml

[jQuery] Re: replace XPath functions for XML parsing

2007-11-19 Thread chrismarx
anybody? On Nov 13, 11:50 pm, chrismarx [EMAIL PROTECTED] wrote: I'd like to keep up with the new jquery release and abandon my xpath code for parsing xml, but I haven't seen anything that will do what i need. Here's an example of what i did with xpath: //xml ?xml version=1.0 encoding=UTF

[jQuery] Re: Selectors in IFrame

2007-11-18 Thread chrismarx
').contents().find('td'); Ariel Flesler On Nov 15, 8:25 am, chrismarx [EMAIL PROTECTED] wrote: What would be a jQuery equivalent for this iFrameTable.document.getElementsByTagName(td) if iFrameTable is the id of the iframe?

[jQuery] Selectors in IFrame

2007-11-15 Thread chrismarx
What would be a jQuery equivalent for this iFrameTable.document.getElementsByTagName(td) if iFrameTable is the id of the iframe?

[jQuery] replace XPath functions for XML parsing

2007-11-13 Thread chrismarx
I'd like to keep up with the new jquery release and abandon my xpath code for parsing xml, but I haven't seen anything that will do what i need. Here's an example of what i did with xpath: //xml ?xml version=1.0 encoding=UTF-8? kml xmlns=http://earth.google.com/kml/2.0; Document