[jQuery] Re: Autocomplete.js not runs on PHP Version 5.0.2

2007-07-24 Thread Dylan Verheul
On 7/21/07, Stephan Beal [EMAIL PROTECTED] wrote: On Jul 21, 3:26 pm, navi [EMAIL PROTECTED] wrote: I found that autocomplete runs only on PHP 5.2 and higher version, Any solution in this regard. Unfortunately, the author of autocomplete fails to document which PHP version it needs. About

[jQuery] selecting next/prev element in a table

2007-07-24 Thread Mohsen Saboorian
Hi list, I have a number of checkboxes, each inside a table cell. I want to let user navigate through these checkboxes using arrow keys. To do so I start with a code like this: $(input:checkbox).bind(keydown, function(e) { // Here I want to find previous or next checkbox element if (e.keyCode

[jQuery] Re: Autocomplete.js not runs on PHP Version 5.0.2

2007-07-24 Thread Stephan Beal
On Jul 23, 4:27 pm, Giovanni Battista Lenoci [EMAIL PROTECTED] wrote: In short: any PHP version under 5.2 won't be supported much longer by many leading PHP applications/frameworks. This is not the truth, this site suggest to make the transition to php5 as soon as possible cause php4

[jQuery] Re: Toggling an objects visiblty without show and hide

2007-07-24 Thread Rob Desbois
For information, the reason that works is that setting {visibility:hidden} hides the element but the element's box still affects layout. Setting {display:none} suppresses box generation altogether. (From http://www.w3.org/TR/REC-CSS2/visufx.html#visibility) --rob On 7/24/07, Aaron Heimlich

[jQuery] Re: Possible to retrieve image data via AJAX for display?

2007-07-24 Thread Rob Desbois
JK, Thanks but no - that's my alternative. Dan, Absolutely, please do tell me if I am! I have a server-side script which generates a graph image given a set of dataset identifiers. Additional datasets are implicitly added server-side too. Currently the image contains the legend, but I'd like to

[jQuery] Re: Opening external links in a new window

2007-07-24 Thread Rob Desbois
Matt, The point of writing code that conforms with specifications isn't to satisfy the validator. The point of satisfying the validator is so that you know that your code will work as expected in all conforming browsers. --rob On 7/24/07, Matt Stith [EMAIL PROTECTED] wrote: Im not really

[jQuery] UPDATED: jQuery moreSelectors plugin adds :color() :colIndex() :hover and more

2007-07-24 Thread George Adamson
The jQuery moreSelectors plugin has been updated for jQuery v1.1.3.1. For example: DIV:color(red) to match DIVs with red text. Also matches #rrggbb and rgb(r,g,b). TD:colIndex(1) to match table cells in column 1 (allowing for colSpans too). SELECT:modified to match SELECTs that have been

[jQuery] Re: JQuery plugins won't work in IE on this page only

2007-07-24 Thread Stephan Beal
On Jul 23, 9:07 pm, textdriven [EMAIL PROTECTED] wrote: If you look at the following page you'll see that the photonews letter works fine in IE (loads newsletters in Thickbox) and also work for all the other pages that use it... http://kadampa.org/en/centers/kmc-france/ Except for this

[jQuery] [To Klaus] tabs plugin suggestion

2007-07-24 Thread Rob Desbois
Klaus, I've got a page which has two parts, a side bar, and a main content container. The main container is tabbed with your excellent plugin, but the contents of the sidebar must also vary in-line with the tabs. What I've done is given the tab li elements IDs like 'action-tab', and the div

[jQuery] Re: UPDATED: jQuery moreSelectors plugin adds :color() :colIndex() :hover and more

2007-07-24 Thread Su
On 7/24/07, George Adamson [EMAIL PROTECTED] wrote: DIV:color(red) to match DIVs with red text. Also matches #rrggbb and rgb(r,g,b). This is weird. (and really cool *grin)

[jQuery] IE memory problem (still)

2007-07-24 Thread Michael Schwarz [MVP]
Hi, I added some months ago a ticket for memory problems, and as I found it should be fixed already, but I'm still not sure if it is correctly fixed or if there is maybe a different way of doing the same. I have following JavaScript: var h = []; for(var i=0; i20; i++) { h.push(button

[jQuery] problem opening carousel items when page loads :)

2007-07-24 Thread bobo
hi to all! I have been a special easing script and I have added a onclick event on the images, and now when the page is still loading the images if I click on link inside the carousel it will do what the onclick event is doing, but if I wait for the page to load all the images it won't... my

[jQuery] Re: What am I missing from this plugin?

2007-07-24 Thread barophobia
On 7/23/07, Dan G. Switzer, II [EMAIL PROTECTED] wrote: Making it be unobtrusive would be up the developer. The easy way to do this would be for the user to hide the button via CSS and show it after attach your plug-in. The developer could also make their button be able to automatically

[jQuery] Figuring Type of Selected Element

2007-07-24 Thread G[N]Urpreet Singh
Hi, I am running an each loop on a group of child elements and then doing something to them. Only, I want to treat tables differently. How can I find out that what type the selected element is? Type as in, is it a table or a div or a span... Thanks, Gurpreet

[jQuery] Re: Figuring Type of Selected Element

2007-07-24 Thread Erik Beeson
Maybe: $(this).is('table') Although, you might want to just use different selectors for the different elements: $(...).find('table').each(...); $(...).find('div').each(...); --Erik On 7/24/07, G[N]Urpreet Singh [EMAIL PROTECTED] wrote: Hi, I am running an each loop on a group of child

[jQuery] Re: Figuring Type of Selected Element

2007-07-24 Thread Mike Alsup
Use the tagName property on the element. For example: $('.myClass').each(function() { var tag = this.tagName.toLowerCase(); alert(tag); }); Mike On 7/24/07, G[N]Urpreet Singh [EMAIL PROTECTED] wrote: Hi, I am running an each loop on a group of child elements and then doing something

[jQuery] Re: [Announce] jQuery Reference Guide available for pre-order

2007-07-24 Thread Su
Is there to be a PDF version of this? There's no mention on the page at all, which is odd. I'd like the information itself, but I'm not sure this type of book is the kind of thing I'd want eating up shelfspace(I have too many books as it is *grin*).

[jQuery] Re: UPDATED: jQuery moreSelectors plugin adds :color() :colIndex() :hover and more

2007-07-24 Thread Benjamin Sterling
George, Those new selectors are great! On 7/24/07, Su [EMAIL PROTECTED] wrote: On 7/24/07, George Adamson [EMAIL PROTECTED] wrote: DIV:color(red) to match DIVs with red text. Also matches #rrggbb and rgb(r,g,b). This is weird. (and really cool *grin) -- Benjamin Sterling

[jQuery] Re: Sortables (interface plugin)

2007-07-24 Thread Richard D. Worth
It's not going to be super easy as there's no built-in support for nested sortables in Interface. The accept option may help. I haven't tested it, but even if it worked, I'm guessing it would require a unique class name on all LIs of each sortable UL. One work-around I've used before: Call

[jQuery] Moving Plugins to new repository

2007-07-24 Thread Yehuda Katz
I'm not sure how many folks have noticed, but an excellent new plugin repository was activated with little fanfare a few weeks ago at http://jquery.com/plugins. At the moment, we've had a plugin list at http://docs.jquery.com/Plugins, which is where the main plugin link points to. Because of the

[jQuery] [Announce] Confirmer plugin update

2007-07-24 Thread Stephan Beal
Hi, all! There's a new release of the Confirmer plugin: Plugin description: Confirmer implements a novel approach to the process of confirming an action. Normally this is achieved via a yes/no dialog box or a button with a confirm checkbox next to it. The Confirmer plugin instead sets up a

[jQuery] Toggle state

2007-07-24 Thread Adrian Lynch
Hello all, first post to this group. I have an element that I'm toggling, is there a way to determine what state it is in? Thanks. Adrian

[jQuery] Form plugin returned data

2007-07-24 Thread x0nix
Hi, is there a way how to access XMLHttpRequest (it's headers) returned after submiting ajaxForm? Now it only returns responseXML/responseText ... Thanks

[jQuery] Form plugin returned XMLHttpRequest

2007-07-24 Thread x0nix
Hi, is there a way how to access XMLHttpRequest (it's headers) returned after submiting ajaxForm? Thanks

[jQuery] BlockUI: Odd behaviour in Internet Explorer

2007-07-24 Thread Gordon
I have been attempting to build functionality into my AJAX app that blocks the UI while the XML is loading. At first I thought I could do this quite simply with a DIV over the top of the content, but as it became increasingly aparent that IE 6 wouldn't work with this approach I went with the

[jQuery] IE6 Show/Hide List Height Issue

2007-07-24 Thread Scott Moore
I have a div that holds two additional divs that each contain a list you can show and hide. When you show the second list (All link), IE6 cuts the list in half and adds a substantial amount of white space. Any thoughts on why this is happening? And yes, the DOCTYPE needs to be HTML 4.01 Strict.

[jQuery] Re: Moving Plugins to new repository

2007-07-24 Thread Sam Collett
Is the old list still going to be archived (incase some plugins are not updated by the original author and someone takes it over)? On Jul 24, 3:30 pm, Yehuda Katz [EMAIL PROTECTED] wrote: I'm not sure how many folks have noticed, but an excellent new plugin repository was activated with little

[jQuery] retrieving the width of an element??

2007-07-24 Thread GianCarlo Mingati
.width() is not enough ;-) I have a div with overflow: hidden and it's width is, suppose, 100px; Inside i have a very long P div style=width: 100px; overflow:hidden p style=white-space:nowrap;my v-e-r-y long text, repeated...my v-e- r-y long text, repeated...100 times/p /div the NOWRAP keep my

[jQuery] Re: Moving Plugins to new repository

2007-07-24 Thread george.gsgd
Have all the bugs been fixed? Plugin repository seems to have major feature creep, so much stuff that doesn't seem necessary. On Jul 24, 3:30 pm, Yehuda Katz [EMAIL PROTECTED] wrote: I'm not sure how many folks have noticed, but an excellent new plugin repository was activated with little

[jQuery] Re: retrieving the width of an element??

2007-07-24 Thread Brandon Aaron
Is this happening in all the browsers or just a specific browser? -- Brandon Aaron On 7/24/07, GianCarlo Mingati [EMAIL PROTECTED] wrote: .width() is not enough ;-) I have a div with overflow: hidden and it's width is, suppose, 100px; Inside i have a very long P div style=width: 100px;

[jQuery] Re: Toggle state

2007-07-24 Thread Glen Lipka
First thing that comes to mind is to set a variable inside the two sides of the toggle. $(p).toggle(function(){ $(this).addClass(selected); someVar = true; },function(){ $(this).removeClass(selected); someVar = false; }); Glen On 7/24/07, Adrian Lynch [EMAIL PROTECTED] wrote: Hello

[jQuery] noob question - load function - dynamic content to slide in place

2007-07-24 Thread tonywhite
I'm new to jQuery and can't figure this one out. Instead of using an ajax get and innerHTML to load in external html, I can just use jQuery's load function: $(emptyDiv).load(externalHTMLFile); which I like! I would like to do is make better use of the graceful animations that jQuery has. I

[jQuery] AJAX success callback fail, with jquery.form.js

2007-07-24 Thread can xiang
Hi, Dear group user I'm tring to build a ajax paginator, here is my code: $(document).ready( function(){ var opts = { target : '#id-search-result', url : '/query/', success : paginator_hook, }; var form_id = '#id-search-form'; function paginator_hook(){ $('div.paginator

[jQuery] Validation Plugin: Validating newly added dom objects

2007-07-24 Thread n0ah
I have a form which will allow users to duplicate sections of the form at will. For example there is a traveler section; to add a new traveler you click a button which duplicates (it really just appends) that section to the previous section. The problem I am having is that the plguin does not

[jQuery] Re: noob question - load function - dynamic content to slide in place

2007-07-24 Thread Benjamin Sterling
Tony, try: (for an ID) $('#emptyDiv').load(externalHTML, function(){ $(this).slideDown('slow'); }); (for a class) $('.emptyDiv').load(externalHTML, function(){ $(this).slideDown('slow'); }); On 7/24/07, tonywhite [EMAIL PROTECTED] wrote: I'm new to jQuery and can't figure this one out.

[jQuery] Re: [To Klaus] tabs plugin suggestion

2007-07-24 Thread Sean Catchpole
Rob, If I understood you correctly, then idTabs does exactly what your asking for. http://www.sunsean.com/idTabs/ If I misunderstood, can you clarify? ~Sean

[jQuery] Re: Toggling an objects visiblty without show and hide

2007-07-24 Thread Mitchell Waite
I get everything but this // This return statement is used for two reasons // 1. To make sure we hit every HTML element in the jQuery object // 2. To make sure that this method doesn't break the chain What does hit mean and what is the chain? I don't want everything to

[jQuery] Re: retrieving the width of an element??

2007-07-24 Thread Terry B
parseInt($t(#divID).css(width) ) should work On Jul 24, 11:25 am, Brandon Aaron [EMAIL PROTECTED] wrote: Is this happening in all the browsers or just a specific browser? -- Brandon Aaron On 7/24/07, GianCarlo Mingati [EMAIL PROTECTED] wrote: .width() is not enough ;-) I have a div

[jQuery] jcarousel Ajax txt file with Thickbox

2007-07-24 Thread Manel
Hi, I'm trying to have the new version of jcarousel load dynamically by a txt file in addition to having the loading pictures to open in thickbox. There are examples for 1 or the other and I've been trying for that last day to merge the 2 somehow. The past version had an example of how to

[jQuery] Re: [To Klaus] tabs plugin suggestion

2007-07-24 Thread voltron
Whoa! Just what I was looking for, can one dynamically assign content to the tabs using Ajax? Great plugin On Jul 24, 6:08 pm, Sean Catchpole [EMAIL PROTECTED] wrote: Rob, If I understood you correctly, then idTabs does exactly what your asking for.http://www.sunsean.com/idTabs/ If I

[jQuery] Re: TreeView with Checkbox Tree

2007-07-24 Thread abba bryant
There is more to it than just a checkbox. The checking / unchecking behaviors clears or checks the child boxes. MARIO MOURA wrote: Other good example http://www.scbr.com/docs/products/dhtmlxTree/ Regards 2007/6/26, Jörn Zaefferer [EMAIL PROTECTED]: Mario Moura wrote: Yes,

[jQuery] Re: retrieving the width of an element??

2007-07-24 Thread Brandon Aaron
Calling .width() will return the same value but as a Number and not a String. That takes away the need to do a parseInt on the result. :) -- Brandon Aaron On 7/24/07, Terry B [EMAIL PROTECTED] wrote: parseInt($t(#divID).css(width) ) should work On Jul 24, 11:25 am, Brandon Aaron [EMAIL

[jQuery] Re: tabs plugin suggestion

2007-07-24 Thread Stephan Beal
On Jul 24, 12:02 pm, Rob Desbois [EMAIL PROTECTED] wrote: The one problem with this is that these handlers are not fired for any of the tabs when they are initially setup with .tabs(), so I would suggest that this be done once they are setup - call onHide for the inactive tabs and onShow for

[jQuery] Re: Moving Plugins to new repository

2007-07-24 Thread Stephan Beal
On Jul 24, 5:23 pm, Dan G. Switzer, II [EMAIL PROTECTED] wrote: However, plug-ins that don't need to return a specific value should be returning a jQuery reference so the chain doesn't break. The plug-ins that *do* break the chain should be clearly stated as doing such. That's a question of

[jQuery] Re: retrieving the width of an element??

2007-07-24 Thread GianCarlo Mingati
Hi. The problem is with this newsticker i'm building for an intranet app @work: http://www.gcmingati.net/wordpress/wp-content/lab/jquery/newsticker/beta/ticker-absolute.html This ticker works, but i have to make two prototypes: one with fading . done one with continuous scrolling from right to

[jQuery] Re: retrieving the width of an element??

2007-07-24 Thread GianCarlo Mingati
EVERYWHERE :-( On Jul 24, 5:25 pm, Brandon Aaron [EMAIL PROTECTED] wrote: Is this happening in all the browsers or just a specific browser?

[jQuery] Re: Toggling an objects visiblty without show and hide

2007-07-24 Thread Aaron Heimlich
On 7/24/07, Mitchell Waite [EMAIL PROTECTED] wrote: What does hit mean A jQuery object is an pseudo-array[1] that contains all of the HTML elements selected by a give selector. So $(div.foo); is a pseudo-array of all of the div elements on the page that have the class foo. By hit, I mean

[jQuery] Re: Toggling an objects visiblty without show and hide

2007-07-24 Thread Mitchell Waite
I don't think you understand my question. I have a link called 'Change the cats visibility'. I have a div with a cat image inside it. I would like that particular link to change the visibility of that particular image inside a div. I want to be able to give the link an ID and the routine

[jQuery] Re: Toggling an objects visiblty without show and hide

2007-07-24 Thread Aaron Heimlich
Well you should have mentioned that in the beginning. But, that doesn't mean that my plugin isn't usable. On 7/24/07, Mitchell Waite [EMAIL PROTECTED] wrote: I have a link called 'Change the cats visibility'. I have a div with a cat image inside it. I would like that particular link to change

[jQuery] Re: Possible to retrieve image data via AJAX for display?

2007-07-24 Thread traunic
how does raw image data get you anything? Seems you want the data and the image URL via XHR and then dynamically insert your DOM bits (img tag w/ URL from response with some sort of wrapper containing your legend)... I mean, what you are talking about is technically doable (not in all browsers)

[jQuery] Re: Possible to retrieve image data via AJAX for display?

2007-07-24 Thread traunic
a more recent post about this topic http://rifers.org/blogs/gbevin/2005/4/11/embedding_images_inside_html and make sure to check out the link to http://neil.fraser.name/software/img2html/ because that is just sick! Taking your idea to the next demented level -w On Jul 24, 2:20 pm, traunic

[jQuery] Re: Possible to retrieve image data via AJAX for display?

2007-07-24 Thread Christof Donat
Hi, I have a server-side script which generates a graph image given a set of dataset identifiers. Additional datasets are implicitly added server-side too. Currently the image contains the legend, but I'd like to generate the legend in HTML as it'll be more consistent with legends used for

[jQuery] Re: Moving Plugins to new repository

2007-07-24 Thread John Resig
Is the old list still going to be archived (incase some plugins are not updated by the original author and someone takes it over)? Yeah, we'll make a copy of the old plugin list. Plugin authors should try and prune plugins that they have already moved over, or are dead and they are no longer

[jQuery] Re: [To Klaus] tabs plugin suggestion

2007-07-24 Thread Sean Catchpole
On 7/24/07, voltron [EMAIL PROTECTED] wrote: Whoa! Just what I was looking for, can one dynamically assign content to the tabs using Ajax? Great plugin Sure you bet. Passing a click function can allow for many possibilities to idTabs, including things entirely different from tabs. I suppose

[jQuery] Re: retrieving the width of an element??

2007-07-24 Thread Dan G. Switzer, II
GianCarlo, Hi. The problem is with this newsticker i'm building for an intranet app @work: http://www.gcmingati.net/wordpress/wp- content/lab/jquery/newsticker/beta/ticker-absolute.html This ticker works, but i have to make two prototypes: one with fading . done one with continuous scrolling

[jQuery] Problems with tablesorter

2007-07-24 Thread Jean
I have a little problem with tablesorter plugin node has no properties [Break on this error] return node.innerHTML; line 147 Because mi table is inside another table (old layout) and this error aoccours but in other page when i load by ajax and set the tablesorter this works and the both have

[jQuery] Re: Toggling an objects visiblty without show and hide

2007-07-24 Thread Mitchell Waite
My apology for the confusion. I should have just posted the darn code. I'll remember this in the future. I had one typo, left out the # for the container, then it worked fine. I think it's a good demo but I still don't think I need all the for 'each' stuff however. !DOCTYPE html

[jQuery] Re: retrieving the width of an element??

2007-07-24 Thread GianCarlo Mingati
hi Dan thanks it seems a 'fundamental' tip. i'll try that tomorrow. i've noticed tho that jquery applies an inline style of display:block to elements phaded or moved with the .animate method. am i right? could be a 'problem?' gc. On Jul 24, 9:22 pm, Dan G. Switzer, II [EMAIL PROTECTED] wrote:

[jQuery] Re: select all unchecked checkboxes

2007-07-24 Thread George Adamson
I've just updated the jQuery moreSelectors plugin which includes an :unchecked selector. Might be what you're after. See http://jquery.com/plugins/project/moreSelectors George Rob Desbois-2 wrote: I think $(#myform input:checkbox).not(:checked) should do what you want, but I've not

[jQuery] Re: retrieving the width of an element??

2007-07-24 Thread Dan G. Switzer, II
GianCarlo, hi Dan thanks it seems a 'fundamental' tip. i'll try that tomorrow. i've noticed tho that jquery applies an inline style of display:block to elements phaded or moved with the .animate method. am i right? could be a 'problem?' gc. Some effects do change the display to block. However,

[jQuery] Re: Problems with tablesorter

2007-07-24 Thread Jeff L
Hi everyone, I'm trying to bind a custom event and then use trigger() to trigger it, but it's not working for me. Here's my code, does anyone see any issues? Currently it's logging 'mouseout' but not 'my Event' as I mouse over my table cells. $(o).mouseout( function(event) {

[jQuery] Re: Problems with tablesorter

2007-07-24 Thread Jeff L
sorry didn't mean to hijack this email - i'll send a different one! On 7/24/07, Jeff L [EMAIL PROTECTED] wrote: Hi everyone, I'm trying to bind a custom event and then use trigger() to trigger it, but it's not working for me. Here's my code, does anyone see any issues? Currently it's logging

[jQuery] Re: retrieving the width of an element??

2007-07-24 Thread Brandon Aaron
Be sure to grab jQuery 1.1.3.1 which only adds display: block when absolutely necessary for animations. -- Brandon Aaron On 7/24/07, GianCarlo Mingati [EMAIL PROTECTED] wrote: hi Dan thanks it seems a 'fundamental' tip. i'll try that tomorrow. i've noticed tho that jquery applies an inline

[jQuery] triggering a custom event is not working

2007-07-24 Thread Jeff L
Hi everyone, I'm trying to bind a custom event and then use trigger() to trigger it, but it's not working for me. Here's my code, does anyone see any issues? Currently it's logging 'mouseout' but not 'my Event' as I mouse over my table cells. $(o).mouseout( function(event) {

[jQuery] jQuery Live Search - where?

2007-07-24 Thread Web Specialist
I'm looking for any example about jQuery Live Search. Google gives me this example: http://www.steintafel.ch/blog/2006-10/jquery-visitenkarte-mit-ajax-laden/ but in german(help Klaus and Karl)! ;P Do you know any more example? Cheers

[jQuery] Re: jQuery Live Search - where?

2007-07-24 Thread Sebastián V. Würtz
Web Specialist escribi: I'm looking for any example about jQuery Live Search. Google gives me this example: http://www.steintafel.ch/blog/2006-10/jquery-visitenkarte-mit-ajax-laden/ but in german(help Klaus and Karl)! ;P Do you know any more example? Cheers this website is

[jQuery] Re: jQuery Live Search - where?

2007-07-24 Thread Rey Bango
It looks from the demo on that site that you're looking for an AutoComplete. Is that correct? If so, check out this one by jQuery team member Joern: http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ I've used that one extensively. Rey... Web Specialist wrote: I'm looking

[jQuery] Re: Sortables (interface plugin)

2007-07-24 Thread rayfidelity
So what would be an alternative (if there is one)? Any suggestions on how to easily implement this feature? On Jul 24, 4:26 pm, Richard D. Worth [EMAIL PROTECTED] wrote: It's not going to be super easy as there's no built-in support for nested sortables in Interface. The accept option may

[jQuery] Re: Form plugin returned XMLHttpRequest

2007-07-24 Thread Mike Alsup
You can defined a complete handler. This handler is passed the XHR and status. For example: $('form').ajaxForm({ complete: function(xhr, status) { var ct = xhr.getResponseHeader(Content-Type)); alert(content type is: + ct); } }); Note that this is possible because the

[jQuery] Re: 3 state buttons - is there a best way

2007-07-24 Thread John Resig
$(div.buttons).mousedown(function(){ $(this).addClass(down); }).mouseup(function(){ $(this).removeClass(down); }).hover(function(){ $(this).addClass(hover); },function(){ $(this).removeClass(hover); }); Then in your CSS you would have this: div.buttons { .. } /* Up state */

[jQuery] Re: 3 state buttons - is there a best way

2007-07-24 Thread Glen Lipka
Is there a reason why not to use pure CSS for this? http://www.commadot.com/jquery/buttons/ I use this method for buttons alot. No flicker. Tested in IE6/7, FF, Safari. John, in your example you can't have div.buttons.hover. That doesn't work in IE6 unfortunately. I WISH it did.

[jQuery] Re: Toggling an objects visiblty without show and hide

2007-07-24 Thread Mitchell Waite
I know this is trivial but what it turned out I needed was something this simple jQuery.fn.toggleVis = function() { if(chesireCat.style.visibility == 'hidden') { chesireCat.style.visibility = 'visible'; } else { chesireCat.style.visibility = 'hidden';

[jQuery] 3 state buttons - is there a best way

2007-07-24 Thread Mitchell Waite
Can anyone point me in the best direction for setting up a three state button using images (up, down and hover). I can imagine a lot of different ways to do it. Each button should be unique (have its own ID).

[jQuery] Re: 3 state buttons - is there a best way

2007-07-24 Thread Ganeshji Marwaha
The best CSS technique i have found so far for these kinda buttons is http://members.chello.nl/o.karadeniz/sndbx/even_more_sexy_button/index.html Enjoy... -GTG On 7/24/07, Glen Lipka [EMAIL PROTECTED] wrote: Is there a reason why not to use pure CSS for this?

[jQuery] Re: 3 state buttons - is there a best way

2007-07-24 Thread John Resig
John, in your example you can't have div.buttons.hover. That doesn't work in IE6 unfortunately. I WISH it did. (http://commadot.com/?p=528) I'm not sure how you're testing this, but it worked wonderfully for me (You even made me load up Parallels :-P). You need to be careful to make the

[jQuery] Re: Toggling an objects visiblty without show and hide

2007-07-24 Thread Aaron Heimlich
On 7/24/07, Mitchell Waite [EMAIL PROTECTED] wrote: jQuery.fn.toggleVis = function() { if(chesireCat.style.visibility == 'hidden') { chesireCat.style.visibility = 'visible'; } else { chesireCat.style.visibility = 'hidden'; } }; That works

[jQuery] Re: AJAX success callback fail, with jquery.form.js

2007-07-24 Thread Mike Alsup
success: function(data){ $(this).parents('div.paginator').html(data); }, } Can, you cannot use this within the callback. But you could rewrite your method like this: function paginator_hook(){ $('div.paginator a.ajaxpage').click( function(e) { var a = this; // store ref to

[jQuery] Re: 3 state buttons - is there a best way

2007-07-24 Thread Glen Lipka
Demo: http://commadot.com/jquery/buttons/cssAND.htm In IE7 and FF, the last one is green. In IE6, the 2nd and 3rd are green. Its a false positive. Ill elaborate the example with other IE6 weirdness. Ganeshji, The technique there is similar to what I am doing, but I am combining the right cap

[jQuery] Re: which autocomplete plugin ...?

2007-07-24 Thread vulgarisoverip
You can also try my custom amalgamation of two popular autocompleters here: http://www.vulgarisoip.com/2007/06/29/jquerysuggest-an-alternative-jquery-based-autocomplete-library/ On Jul 23, 2:57 am, mit [EMAIL PROTECTED] wrote: I'm looking for a stable autocomplete plugin. Of the various

[jQuery] Re: Toggle state

2007-07-24 Thread Ganeshji Marwaha
a simple solution that i could think of is $(mySelector).is(:visible); This should return true if your element is visible and false otherwise. Untested though -GTG On 7/24/07, Glen Lipka [EMAIL PROTECTED] wrote: First thing that comes to mind is to set a variable inside the two sides of

[jQuery] Re: 3 state buttons - is there a best way

2007-07-24 Thread Ganeshji Marwaha
Cool... Let us know... We are always looking for simple elegant solutions. arent we? -GTG On 7/24/07, Glen Lipka [EMAIL PROTECTED] wrote: Demo: http://commadot.com/jquery/buttons/cssAND.htm In IE7 and FF, the last one is green. In IE6, the 2nd and 3rd are green. Its a false positive. Ill

[jQuery] Re: Toggle state

2007-07-24 Thread Glen Lipka
I thought of something similar, but I wasn't sure if the toggle is hiding anything. The question didnt specify. Glen On 7/24/07, Ganeshji Marwaha [EMAIL PROTECTED] wrote: a simple solution that i could think of is $(mySelector).is(:visible); This should return true if your element is

[jQuery] Re: 3 state buttons - is there a best way

2007-07-24 Thread Mitchell Waite
Yuk that is nasty. First it limits the artwork in a major way. You want to be able to create an image for each state. And it is far more work to make the graphic on that site then it is to make nice arty images of the 3 state buttons. You can find free button graphics all over the net.

[jQuery] How to call many ajax functions?

2007-07-24 Thread tuliopaiva
Hi! I have 3 buttons (id's bt1, bt2 and bt3), and each one has a onclick funcion that is a ajax function. I want to execute this code: 1 $(#bt1).click() 2 $(#bt2).click() 3 $(#bt3).click() but to execute the line 2, the line 1 must have finished the execution, and the line 3 shoud

[jQuery] Re: BlockUI: Odd behaviour in Internet Explorer

2007-07-24 Thread Mike Alsup
Gordon, I really like this idea so I added it as the default behavior to blockUI. Unblocking is now done as a fade operation in the lastest version (http://jqueryjs.googlecode.com/svn/trunk/plugins/blockUI/jquery.blockUI.js). This can be overridden for anyone that doesn't like it. I'm not

[jQuery] innerFade or jQuery Cycle Plugin feature addition will pay $$$

2007-07-24 Thread juliandormon
The innerFade plug-in and the Cycle plug-in both take a group of divs or images in a class and cross fade them to a set speed and time. Both of these play a sequence and the repeat. Anybody interested in re-programming either Plugin above so the fading can stop once the all the slides have been

[jQuery] Re: 3 state buttons - is there a best way

2007-07-24 Thread Glen Lipka
What is nasty? The sprite technique is pretty popular specifically because it eliminates flicker and doesnt require javascript. Im not sure what you mean by limits the artwork either. Seems pretty easy to make anything. Normally, I am all for the jQuery method, but this one seems off. Glen On

[jQuery] Re: innerFade or jQuery Cycle Plugin feature addition will pay $$$

2007-07-24 Thread Mike Alsup
I'll add this to the cycle plugin. Mike Anybody interested in re-programming either Plugin above so the fading can stop once the all the slides have been shown. In other words, the animation stops on the last slide.

[jQuery] Formatting External Links

2007-07-24 Thread [EMAIL PROTECTED]
Hello, I was hoping someone could help me out with a little issue im having. I want jquery to convert the target of any link that isn't within my internal site. i tried it one way, in which i added a class to each link that was to go outside. that worked and turned the links from... a

[jQuery] Re: 3 state buttons - is there a best way

2007-07-24 Thread Mitchell Waite
Limits the artwork in the sense the middle portion of all you images must be a stretched background slice, so you can't reproduce all the subtle affects of switching images. You have to produce the end caps from a sliced piece of artwork so this sort of tosses out a lot of high quality graphics.

[jQuery] Re: innerFade or jQuery Cycle Plugin feature addition will pay $$$

2007-07-24 Thread juliandormon
Hi Mike, Awesome. I would like to pay you for this. You turned me down once before for some form plug-in help. Please let me know your paypal email if you've got one. malsup wrote: I'll add this to the cycle plugin. Mike Anybody interested in re-programming either Plugin above so

[jQuery] Re: innerFade or jQuery Cycle Plugin feature addition will pay $$$

2007-07-24 Thread Mike Alsup
Ok, these change are now available: http://www.malsup.com/jquery/cycle/ Let me know if this is what you had in mind. (The docs are updated too). Mike On 7/24/07, juliandormon [EMAIL PROTECTED] wrote: Hi Mike, Awesome. I would like to pay you for this. You turned me down once before for

[jQuery] Re: innerFade or jQuery Cycle Plugin feature addition will pay $$$

2007-07-24 Thread Matt Stith
Ill take the payment if he wont :DI know i didnt help at all but i could always use some extra money xD On 7/24/07, juliandormon [EMAIL PROTECTED] wrote: Hi Mike, Awesome. I would like to pay you for this. You turned me down once before for some form plug-in help. Please let me know your

[jQuery] Re: Formatting External Links

2007-07-24 Thread [EMAIL PROTECTED]
Gday Justin, From an earlier question I wanted to see how that was done also so created a little sample page. http://www.subtledifference.com.au/jquery/linkout/ Thought of 3 ways, its fairly basic and not a plugin just some code. Essentially: $(document).ready(function(){

[jQuery] Re: Formatting External Links

2007-07-24 Thread Karl Swedberg
Hi Justin, Instead of using $('a.redir'), try using $('[EMAIL PROTECTED]') That will select all links with mysite.com anywhere in the href --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Jul 24, 2007, at 10:47 PM, [EMAIL PROTECTED] wrote: Hello, I

[jQuery] Re: 3 state buttons - is there a best way

2007-07-24 Thread Mitchell Waite
This almost works http://www.whatbird.com/wwwroot/3Statebutton_2.html !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html xmlns=http://www.w3.org/1999/xhtml; head meta http-equiv=Content-Type content=text/html;

[jQuery] Is it possible so scroll all the way to the end a div overflow: scroll; ?

2007-07-24 Thread [EMAIL PROTECTED]
I have a div that its overflow attribute is set scroll (or auto), basically, I need to make sure it's always at the bottom. How do I do that? Thanks, Sam

[jQuery] Re: noob question - load function - dynamic content to slide in place

2007-07-24 Thread tonywhite
Cool - I get it now. I found that my problem was really that the target div for inserting my HTML wasn't set to display:none; to begin with, so animating it to a block state was just not happening. Thanks for your response - I appreciate the group. On Jul 24, 11:08 am, Benjamin Sterling [EMAIL

[jQuery] Re: Validation Plugin: Validating newly added dom objects

2007-07-24 Thread n0ah
I solved this issue by using the refresh and reset methods from within the duplicator sections. I create the object as the last item on the page to load (i know its cheesy) because setting a var from ready() caused to many issues. On Jul 24, 10:53 am, n0ah [EMAIL PROTECTED] wrote: I have a

[jQuery] Re: Formatting External Links

2007-07-24 Thread [EMAIL PROTECTED]
Karl, I want to reformat all the links that DONT point to my site. On Jul 24, 11:19 pm, Karl Swedberg [EMAIL PROTECTED] wrote: Hi Justin, Instead of using $('a.redir'), try using $('[EMAIL PROTECTED]') That will select all links with mysite.com anywhere in the href --Karl

  1   2   >