[jQuery] Re: selecting elements containing colons

2007-04-15 Thread Klaus Hartl
Dan G. Switzer, II schrieb: Sean, I know that jQuery made the decision not to allow selection of elements with colons in them, however it is valid XML. Here is an example piece of code I am getting back from an ajax call: Free chicken!news:special> Any ideas how I can select

[jQuery] Re: Q: Is the $.inArray function supported?

2007-04-15 Thread Matt Stith
As to your question, i wouldnt think it would be removed, since i think its used a couple times in the jQuery core, so it should be around for awhile. On 4/15/07, Karl Rudd <[EMAIL PROTECTED]> wrote: For jQuery objects you can also use the "indexOf()" function: http://docs.jquery.com/Core#i

[jQuery] Re: Updated plugin: jqTOC -- table of contents

2007-04-15 Thread Joel Birch
On 16/04/2007, at 1:19 PM, DaveG wrote: I've updated the existing plugin to work with the latest version of jQuery. In addition to being more compact, the code now: - uses fixed positioning - parameterized starting and ending header levels - parameterized TOC container Code and example is

[jQuery] Re: Library showdowns

2007-04-15 Thread BKDesign Solutions
PHAT? Must mean...ummm... Powerful Hot Amazing Tremendous? Bruce P bkdesign solutions - Original Message - From: Ariel Jakobovits To: jquery-en@googlegroups.com Sent: Sunday, April 15, 2007 10:54 PM Subject: [jQuery] Re: Library showdowns JQUERY IS PHAT!!! - Or

[jQuery] Updated plugin: jqTOC -- table of contents

2007-04-15 Thread DaveG
I've updated the existing plugin to work with the latest version of jQuery. In addition to being more compact, the code now: - uses fixed positioning - parameterized starting and ending header levels - parameterized TOC container Code and example is http://solidgone.com/jquery/jqTOC/jqTOC.h

[jQuery] Re: Q: Is the $.inArray function supported?

2007-04-15 Thread Karl Rudd
For jQuery objects you can also use the "indexOf()" function: http://docs.jquery.com/Core#index.28_subject_.29 Karl Rudd On 4/16/07, Dan G. Switzer, II <[EMAIL PROTECTED]> wrote: I was going to write a similar function for some code when I noticed that $.inArray() function already exists.

[jQuery] Re: Library showdowns

2007-04-15 Thread Ariel Jakobovits
JQUERY IS PHAT!!! - Original Message From: Glen Lipka <[EMAIL PROTECTED]> To: jquery-en@googlegroups.com Sent: Sunday, April 15, 2007 5:54:56 PM Subject: [jQuery] Library showdowns I started a site to expand upon the idea of the zerba challenge. http://js.commadot.com (I decided not to

[jQuery] Re: Displaying a rotated image

2007-04-15 Thread Rhapidophyllum
FYI, I just found out how to find correctly-oriented photos in iPhoto to upload. There are a couple of base directories under the directory 'iPhoto Library': 'Originals' and 'Modified'. All original photos are stored under 'Originals'. Vertical photos are also automatically stored with

[jQuery] Re: plugin page organization

2007-04-15 Thread John Resig
You should bring this up for discussion on the web list. We have a new plugin repository that is nearly ready for testing. You can find more information about it on the list, and the thoughts that went into its construction. http://docs.jquery.com/Discussion --John On 4/15/07, Ariel Jakobovits

[jQuery] plugin page organization

2007-04-15 Thread Ariel Jakobovits
can we discuss ways to better organize the plugin page? It's getting difficult to browse, I think. How about subgroups inside the groups?

[jQuery] hiring a developer: need to add next/pre buttons to fading slideshow

2007-04-15 Thread npessoa
Hi, I'm grateful to have found this list. I found the amazing InnerFade script over at http://medienfreunde.com/lab/innerfade/ and made it work for a slideshow of rotating headlines for the front page of a test site I'm working on: http://layer5.medialayer.net/~shaydoro/ It works beautiful

[jQuery] Library showdowns

2007-04-15 Thread Glen Lipka
I started a site to expand upon the idea of the zerba challenge . http://js.commadot.com (I decided not to regsiter jsframeworks.com) *Side note:* *Drupal 5.1 is pretty awesome. I am sure I am not using it's full potential. I haven't even

[jQuery] Re: viewportCenter() plugin now in beta...

2007-04-15 Thread Giant Jam Sandwich
Hi Brian, I don't remember what my initial reasoning was behind that - it was probably one of those coding while watching a movie at the same time moments. I have since changed it to be a local object, with properties attached to that. It seems to work just as well. Giant Jam Sandwich (to avoid

[jQuery] Re: Loading PHP via AJAX

2007-04-15 Thread Richard Thomas
http://projects.cyberlot.net/trac/jqpie Take a look through there, but basically the ajax calls are browser calls so as long as you stay within the same domain anything the page would have access to the php called through ajax has access to. On 4/15/07, Alex Ezell <[EMAIL PROTECTED]> wrote: I

[jQuery] Loading PHP via AJAX

2007-04-15 Thread Alex Ezell
Is it possible to load a PHP page via AJAX such that the PHP page being loaded has access to the session, objects and variables which exist in the calling page? My situation is that I would like to load one of several different forms (written in PHP) based on which link a user clicks. Essentiall

[jQuery] Re: viewportCenter() plugin now in beta...

2007-04-15 Thread Brian Cherne
Hi Brian, Is there a technical reason for creating the jQuery.doc object ? Wouldn't local vars work too? I'm just worried with so common a name as "doc" it seems like there's a good chance for a naming collision. Brian. (I hope people don't think I'm talking to myself...) On 4/15/07, Giant Jam

[jQuery] Re: Showing a bind(click...) as clickable

2007-04-15 Thread Brian Cherne
Good point, Paul. Assuming it's not too much work, changing the IMG to an A tag would take care of most your problems... You wouldn't need ugly js hacks to get IE to understand "hover" and the only thing you'd need to do is $('#prev').click(function(){ /*do something;*/ return false; }); Bri

[jQuery] Re: viewportCenter() plugin now in beta...

2007-04-15 Thread Giant Jam Sandwich
Hey Roman, Thanks for taking a look in Opera. The plugin actually does support percentages. The pixel widths I provided in the demo are just for demonstration purposes. If you do use a percentage though, and the user resizes the viewport, it will not maintain a perfect center. You would have to

[jQuery] Re: Problems with jQuery, ajax & greasemonkey.

2007-04-15 Thread Joan Piedra
I believe you could try window.href instead of document.url. On 4/15/07, Yansky <[EMAIL PROTECTED]> wrote: Sorry disregard my previous post. It seems to be working now, even though I changed nothing! :D On Apr 15, 5:26 pm, "Yansky" <[EMAIL PROTECTED]> wrote: > I'm having some problems figuri

[jQuery] Re: IE will not eval this: eval("function(){alert('iesucks')}")() Any ideas?

2007-04-15 Thread John Resig
I might be missing something, but this seems like a case where you would want to do this: (new Function("alert('iesucks')"))() it's a little cleaner that way too. --John On 4/14/07, Diego A. <[EMAIL PROTECTED]> wrote: And for those who don't get what's going on... eval("function(){alert('i

[jQuery] Re: Showing a bind(click...) as clickable

2007-04-15 Thread Final Coat Design
add $('#prev').css('cursor', 'pointer'); On Apr 15, 2:44 am, "wyo" <[EMAIL PROTECTED]> wrote: > I've bound a click handler to an image and would like to see that this > element is clickable on the page > > $('#prev').bind('click', function() {...} > > > > This doesn't show the click cursor (fi

[jQuery] Re: Showing a bind(click...) as clickable

2007-04-15 Thread Final Coat Design
Hi wyo, If you want to get the pointing finger, use css. The easest way is to put a On Apr 15, 2:44 am, "wyo" <[EMAIL PROTECTED]> wrote: > I've bound a click handler to an image and would like to see that this > element is clickable on the page > > $('#prev').bind('click', function() {...} >

[jQuery] Re: Selector to find previous element of a kind - sibling or otherwise

2007-04-15 Thread Karl Swedberg
On Apr 15, 2007, at 8:10 AM, boermans wrote: Hi all, I'm attempting to write a script which makes changes to image positioning depending on attributes of previous images within a portion of a document. To do so I'm looking for a way to select the previous image relative to each image in the ord

[jQuery] Re: Table of Contents (TOC) plugin

2007-04-15 Thread DaveG
Thanks for the code links. I didn't work on the positioning yet, but your samples will help. I did take a quick look, and the current absolute positioning is complicated here because the position of the TOC is dynamic based on the parameter'ed width. I'm not sure fixed positioning will be pos

[jQuery] Re: Selector to find previous element of a kind - sibling or otherwise

2007-04-15 Thread Glen Lipka
On 4/15/07, boermans <[EMAIL PROTECTED]> wrote: Hi all, I'm attempting to write a script which makes changes to image positioning depending on attributes of previous images within a portion of a document. To do so I'm looking for a way to select the previous image relative to each image in the

[jQuery] Re: Showing a bind(click...) as clickable

2007-04-15 Thread Brian Cherne
You could chain this on the end of $('#prev') .hover( function(){ $(this).addClass('isOver'); }, // don't forget the comma function(){ $(this).removeClass('isOver'); } ); And then update your CSS. img.isOver { cursor:pointer; border:solid 1px blue; } Brian. On 4/15/07, wyo <[EMAIL PROTE

[jQuery] Re: Showing a bind(click...) as clickable

2007-04-15 Thread wyo
On 15 Apr., 14:28, "boermans" <[EMAIL PROTECTED]> wrote: > > Adding a class may be preferable if you wish to provide further visual > cues (such as a border) to your clickable images. > > $('#prev').addClass('clickable').bind('click', function() {...} > Nice. > And then in your css: > > .clic

[jQuery] Q: Is the $.inArray function supported?

2007-04-15 Thread Dan G. Switzer, II
I was going to write a similar function for some code when I noticed that $.inArray() function already exists. This appears to be undocumented, but before relying on it for my plug-in, I want to make sure it is actually "supported". Are there plans to remove this method? -Dan

[jQuery] Re: Showing a bind(click...) as clickable

2007-04-15 Thread Klaus Hartl
Diego A. schrieb: in IE: .hover{ cursor:hand; } This is only required for IE 5. IE 6 supports cursor: pointer. -- Klaus

[jQuery] Re: Round corners and jQ conversion help

2007-04-15 Thread DaveG
boermans wrote: Yeah, without digging into the complexity of the applied CSS that markup seems a little heavy handed. Of course the original code may have been tested in a greater range of quirky browsers than you have at hand :) I think that's why it's so complex. I hope so anyway! :) I pre

[jQuery] Re: looping effects in jQuery

2007-04-15 Thread Dan G. Switzer, II
Sapphire, >Is there a jQuery equivalent of Prototype's PeriodicalUpdater? That is, >something that will allow me to take a chain and loop it forever. I'm not Prototype expert, but the PeriodicalUpdater appears to be just for running an AJAX request on set interval--not for taking a chain and rep

[jQuery] Re: custom selecters

2007-04-15 Thread Mike Alsup
Tom, You can select all divs with an id that starts with 'divname' like this: $('[EMAIL PROTECTED]"divname"]') Mike Hi, i need to be able to find all elements with a div id of something like divname plus some randmom number, each div id will be like this, so something like divname324 or divn

[jQuery] Re: Round corners and jQ conversion help

2007-04-15 Thread boermans
Yeah, without digging into the complexity of the applied CSS that markup seems a little heavy handed. Of course the original code may have been tested in a greater range of quirky browsers than you have at hand :) I presume the class of the outer-most div in your example structure is supposed to

[jQuery] Re: Showing a bind(click...) as clickable

2007-04-15 Thread boermans
Crudely, something like this: $('#prev').css('cursor','pointer').bind('click', function() {...} Adding a class may be preferable if you wish to provide further visual cues (such as a border) to your clickable images. $('#prev').addClass('clickable').bind('click', function() {...} And t

[jQuery] Re: Showing a bind(click...) as clickable

2007-04-15 Thread Diego A.
Only anchor elements (..) with the href property show the hand by default. As Jorn suggested, you need to add a class to your element, eg.: 'hover' and use the following CSS: in IE: .hover{ cursor:hand; } Others: .hover{ cursor:pointer; } On Apr 15, 8:44 am, "wyo" <[EMAIL PROTECTED]> wrote: > I'

[jQuery] I *believe I have found a bug with interface plugin / jquery - please look.

2007-04-15 Thread [EMAIL PROTECTED]
I believe I have found a bug, unless it is my implementation, but I have tried in various ways, and still have the same result the setup: http://pastebin.us/24297 Here the second div box to the right, has an absolute position / can be relative and is cropped off. However whilst it is dragged, it

[jQuery] Selector to find previous element of a kind - sibling or otherwise

2007-04-15 Thread boermans
Hi all, I'm attempting to write a script which makes changes to image positioning depending on attributes of previous images within a portion of a document. To do so I'm looking for a way to select the previous image relative to each image in the order in which they appear in the document. Using

[jQuery] Re: Autocomplete plugin status2

2007-04-15 Thread Jörn Zaefferer
amircx schrieb: will it support mysql fetching db values? The plugin provides only the client-side code, the serverside is up to you. I see no reason why it shouldn't work with mysql. when it will release aprox? I want to finish a release by the mid of next week. That won't solve all ou

[jQuery] Re: Autocomplete plugin status2

2007-04-15 Thread amircx
will it support mysql fetching db values? when it will release aprox? Dylan Verheul wrote: > > > I love the fact that you still use my birds example :-) > > (I wrote autocomplete for the form on www.waarneming.nl, a Dutch site > for nature sightings, and I used a dump of our English and Lati

[jQuery] Re: Autocomplete plugin status2

2007-04-15 Thread Jörn Zaefferer
Dan G. Switzer, II schrieb: Jörn, for anyone interested in the progess of the autocomplete plugin I've uploaded the current demo: http://jquery.bassistance.de/autocomplete/ Two quick things I noticed (both of which you may be aware of.) 1) If you type in "Spp" in the any of the

[jQuery] Re: Showing a bind(click...) as clickable

2007-04-15 Thread Jörn Zaefferer
wyo schrieb: I've bound a click handler to an image and would like to see that this element is clickable on the page $('#prev').bind('click', function() {...} This doesn't show the click cursor (finger pointing to) when the cursor hovers over the element. Do I have to change this to a '

[jQuery] Re: Why this code is so slow?

2007-04-15 Thread Jörn Zaefferer
Web Specialist schrieb: Hi all. I have a form with more than 50 fields using tabs, form validate and highlight plugins with dependent fields inside. After click in Save button, all validation routine occurs after 10 seconds. For me this is very slow. What do you think about? It's possible to

[jQuery] Showing a bind(click...) as clickable

2007-04-15 Thread wyo
I've bound a click handler to an image and would like to see that this element is clickable on the page $('#prev').bind('click', function() {...} This doesn't show the click cursor (finger pointing to) when the cursor hovers over the element. Do I have to change this to a '

[jQuery] Re: Problems with jQuery, ajax & greasemonkey.

2007-04-15 Thread Yansky
Sorry disregard my previous post. It seems to be working now, even though I changed nothing! :D On Apr 15, 5:26 pm, "Yansky" <[EMAIL PROTECTED]> wrote: > I'm having some problems figuring out why this greasemonkey script I'm > writing for the webshots.com site isn't working > properly.http://pas

[jQuery] Problems with jQuery, ajax & greasemonkey.

2007-04-15 Thread Yansky
I'm having some problems figuring out why this greasemonkey script I'm writing for the webshots.com site isn't working properly. http://pastebin.ca/raw/440726 The problem seems to be the ajax response isn't being assigned to the "data" variable. At least, I think that's where the problem is. Fire