[jQuery] Re: Passing variable to simple show/hide function

2007-06-21 Thread Ganeshji Marwaha
I am not familiar with wordpress... So, it will be helpful if you could post the HTML structure that you have and also the details of what should happen on click of what.. -GTG On 6/21/07, alistair <[EMAIL PROTECTED]> wrote: I'm a jQuery newb and I'm playing with a wordpress theme. What I'd

[jQuery] Re: [Slightly OT] What's your setup?

2007-06-21 Thread Sean Catchpole
OS: XP or Ubuntu Editor: gVim Frontend: XML/XSL Backend: PHP/MySQL ~Sean

[jQuery] Re: jEdible in place editor plugin

2007-06-21 Thread Josh Nathanson
Well, it's kind of a lot of code...the main thing is that it will return whatever is output from your cf page into the div, so wrap only what you want returned into the div in your tags. -- Josh - Original Message - From: "cfdvlpr" <[EMAIL PROTECTED]> To: "jQuery (English)" Sent:

[jQuery] Re: jquery editor?

2007-06-21 Thread Olivier Percebois-Garve
The code you shown look like the one produced by Zend Studio Alexandre Plennevaux wrote: This may be slightly off-topic, yet i would like to know which piece of software you like best to write jquery code? So far i use (windows) dreamweaver / phpedit / crimson editor / programmer's notepad

[jQuery] Re: Simple plugin to rollove an image

2007-06-21 Thread Jean
tks for the tip about the preload ;D On 6/21/07, howard chen <[EMAIL PROTECTED]> wrote: As discussed previously in the group, I make a very simple plugin to rollover an image.. Codes: jQuery.fn.swapimage = function() { $(this).hover(function() { currentImage = $(this).attr('src');

[jQuery] Re: Easing rocks

2007-06-21 Thread Jean
greate plugin the designers are thankful! On 6/21/07, Glen Lipka <[EMAIL PROTECTED]> wrote: GianCarlo, That kicks ass. If ThickBox could do that to transition between a series of pics, it would WOW alot of people. I have to respond to Rob though, who only advocates show() and hide(). If that

[jQuery] Re: [Slightly OT] What's your setup?

2007-06-21 Thread Byron
> > What OS? Ubuntu > > What IDE or editor? gedit > > What backend language, if any (php, asp, cf, ruby, java, etc)? > > What framework, if any (cake, symfony, rails, struts, etc)? SilverStripe on PHP Byron

[jQuery] Simple plugin to rollove an image

2007-06-21 Thread howard chen
As discussed previously in the group, I make a very simple plugin to rollover an image.. Codes: jQuery.fn.swapimage = function() { $(this).hover(function() { currentImage = $(this).attr('src'); $(this).attr('src',$(this).attr('rel'))}, function(){ $(this).attr('sr

[jQuery] Re: Digg now uses jQuery

2007-06-21 Thread Rey Bango
Yes sir. Brandon just pointed that out to me. I spy: via this link: http://digg.com/tech_news/Facebook_and_MySpace_are_like_chalk_n_cheese Brandon says that Digg's new comment system is based on jQuery. w00t! Rey... barophobia wrote: Pretty big deal! http://www.joestump.net/2007/06

[jQuery] Digg now uses jQuery

2007-06-21 Thread barophobia
Pretty big deal! http://www.joestump.net/2007/06/technical-background-of-diggs-new-comment-system.html

[jQuery] Re: jquery editor?

2007-06-21 Thread Mike Alsup
This may be slightly off-topic, yet i would like to know which piece of software you like best to write jquery code? Hi Alexandre, I use Programmer's Notepad 2 for HTML/CSS/JS/PHP/JSP coding and Eclipse for Java coding. I like Komoda Edit a lot too but wish that it was a bit quicker. Mike

[jQuery] Passing variable to simple show/hide function

2007-06-21 Thread alistair
I'm a jQuery newb and I'm playing with a wordpress theme. What I'd like to do is show/hide the categories that are associated with each post. I have attached an ID to each list of categories that corresponds to the pageID that WordPress gives me. ie: {categories here} Each category group has a

[jQuery] Re: [Slightly OT] What's your setup?

2007-06-21 Thread barophobia
On 6/21/07, Erik Beeson <[EMAIL PROTECTED]> wrote: > About your development environment: > What OS? What IDE or editor? Development through HTML-Kit on Windows through FTP to Linux. > About your server: > What backend language, if any (php, asp, cf, ruby, java, etc)? > What framework, if any (ca

[jQuery] passing parameter from ajax loaded list to ajax loaded form

2007-06-21 Thread Erick
I'm "extremely" new to Jquery and I'm trying super hard to learn it. I've hit many obstacles and this one is killing me: here is what i want to do: 1 load a result list in my main page with ajax. (succeeded) 2 load a form in my main page with ajax. (succeeded) 3 load the form through ajax and p

[jQuery] Passing variable to simple show/hide function

2007-06-21 Thread alistair
I'm a jQuery newb and I'm playing with a wordpress theme. What I'd like to do is show/hide the categories that are associated with each post. I have attached an ID to each list of categories that corresponds to the pageID that WordPress gives me. ie: {categories here} Each category group has a

[jQuery] Masked Input Plugin RC1

2007-06-21 Thread Josh Bush
I'm getting there. I've released another revision to my Masked Input Plugin for jQuery. I'm calling this release candidate 1 because this is the feature set I wish to implement for v1.0 and I don't anticipate any breaking API changes. The following is a list of changes for this release. * Fi

[jQuery] Re: [Slightly OT] What's your setup?

2007-06-21 Thread Karl Rudd
Answers inline: What OS? WinXP and MacOS X. What IDE or editor? jEdit for most things. Some WebObjects Builder for merging in static content into backend code. What backend language, if any (php, asp, cf, ruby, java, etc)? What framework, if any (cake, symfony, rails, struts, etc)? Mo

[jQuery] Re: [Slightly OT] What's your setup?

2007-06-21 Thread clodelio . delfino
@Work/Home: About your development environment: What OS? - WinXP SP2, Whitebox Linux, Slackware12 What IDE or editor? Notepad++, VIM, Zend Studio About your server: What backend language, if any (php, asp, cf, ruby, java, etc)? PERL/PHP What framework, if any (cake, symfony, rails, struts, etc)?

[jQuery] [Slightly OT] What's your setup?

2007-06-21 Thread Erik Beeson
Hi all, With jQuery being a front-end library, there's lots of possible configurations for the backend and development environment. I thought it would be fun if we shared what we use alongside jQuery. Any or all of the following... About your development environment: What OS? What IDE or editor?

[jQuery] Re: jquery editor?

2007-06-21 Thread Aaron Heimlich
On 6/21/07, Chris W. Parker <[EMAIL PROTECTED]> wrote: See: http://en.wikipedia.org/wiki/Javadoc It can also be used in PHP with http://www.phpdoc.org/. While the style may be similar, the tags themselves are specific to jQuery (probably adapted from ScriptDoc[1] and/or JSDoc[2]). Unfortunat

[jQuery] Re: jQuery home page...

2007-06-21 Thread jason
Yes, that would be useful, next to the download links, as in: Download jQuery (current version 1.1.3 | other versions) ...where "other versions" is a link to the main Downloads page here: http://docs.jquery.com/Downloading_jQuery Even there, I'm just assuming that the current version is 1.1.3.

[jQuery] Re: [Slightly OT] What's your setup?

2007-06-21 Thread Erik Beeson
What OS? OS X with WinXP in Parallels. Looking to install Linux (in Parallels) at some point. Probably Ubuntu. What IDE or editor? IntelliJ IDEA and gvim What backend language, if any (php, asp, cf, ruby, java, etc)? Java! What framework, if any (cake, symfony, rails, struts, etc)?

[jQuery] Re: jquery editor?

2007-06-21 Thread Karl Swedberg
I use TextMate (http://www.macromates.com/) on the Mac. Aptana (http://www.aptana.com/) is also really nice. If you run Windows, the E Text Editor is an attempt to port TextMate to Windows (http://www.e-texteditor.com/). With it, you can use all of TextMate's bundles as well, including the

[jQuery] Re: jquery editor?

2007-06-21 Thread Chris W. Parker
On Thursday, June 21, 2007 5:23 PM Alexandre Plennevaux said: > This may be slightly off-topic, yet i would like to know which piece > of software you like best to write jquery code? I use HTML-Kit but will be moving to Aptana once they build in better support for PHP. > /** > * > * @name fl

[jQuery] Re: jEdible in place editor plugin

2007-06-21 Thread cfdvlpr
Josh, can I see what your coldfusion page looks like? That might help a lot.

[jQuery] jquery editor?

2007-06-21 Thread Alexandre Plennevaux
This may be slightly off-topic, yet i would like to know which piece of software you like best to write jquery code? So far i use (windows) dreamweaver / phpedit / crimson editor / programmer's notepad 2, depending on what's opened when i'm about to jquerify life. When i dive into others' p

[jQuery] Re: jEdible in place editor plugin

2007-06-21 Thread cfdvlpr
I've got one more question for you. Let's say that want to call a function instead of using update.cfm as suggested above. How could I write a function in JS that would do the equivalent of the Coldfusion code that's in my update.cfm file currently which is this: #value#

[jQuery] jquery flash plugin bug

2007-06-21 Thread Alexandre Plennevaux
The jquery Flash plugin (HYPERLINK "http://jquery.lukelutman.com/plugins/flash"http://jquery.lukelutman.com/plugins/flash ) has a bug: it does not work when used as a subtitution for an element. If anybody has an idea why... I'm all ears. Thanks, Alexandre Alexandre Plennevaux - LAb[au] a

[jQuery] Re: jEdible in place editor plugin

2007-06-21 Thread cfdvlpr
And, I'm using firebug(I love firebug so much), by the way. But, it's not showing anything. OH WAIT - it is showing me an error - I just have to scroll way down to see it. Thanks! It's working now.

[jQuery] Re: jEdible in place editor plugin

2007-06-21 Thread Josh Nathanson
There is probably a CF error happening. If this happens, the ajax post does not complete. If you have firebug, you can check the ajax response to see what the CF error is. -- Josh - Original Message - From: "cfdvlpr" <[EMAIL PROTECTED]> To: "jQuery (English)" Sent: Thursday, Jun

[jQuery] Re: slideToggling a in firefox

2007-06-21 Thread DXCJames
For some reason the heiarchy for firefox is different from IE and Safari... wierd I changed a few things around to this for the function $("dl").find("dl").click(function(){ if($.browser.mozilla) $(this).parent().children("dd").slideToggl

[jQuery] Toggle not working correctly

2007-06-21 Thread Farkit
Hi, On a click event I want to slideToggle and show and alert for open and close states. But the alert shows different behavior in IE & FireFox; neither in correct order. HTML: The Office The best show on US networks The Of

[jQuery] Re: Ajax call -> lost event handlers

2007-06-21 Thread AJ
> Bind the change event again in the Ajax callback, like this: Klaus, I ended up using a modified version of your suggestion and it worked great. Thanks! AJ

[jQuery] Re: jEdible in place editor plugin

2007-06-21 Thread cfdvlpr
Thanks very much for that explanation. I had this in update.cfm: And, I have an application.cfc file that calls my template. I now have this in my update.cfm file so that the template is not shoved into that div anymore: #value# However, instead of the new #value# showing up in the div, I

[jQuery] Re: Detecting bound events

2007-06-21 Thread Glen Lipka
it sounds like you are saying to bind on every keypress. What is the kind of event you are looking to bind? Does it make sense to wait until you blur from the textbox to bind? It might create alot of browser churn otherwise. Glen On 6/21/07, Christopher Jordan <[EMAIL PROTECTED]> wrote: Hi

[jQuery] Re: Detecting bound events

2007-06-21 Thread Jörn Zaefferer
I appreciate any help I can get. It sounds like what you need is Brandon's behaviour plugin: http://jquery.com/plugins/project/Behavior -- Jörn Zaefferer http://bassistance.de

[jQuery] Re: jEdible in place editor plugin

2007-06-21 Thread Erik Beeson
Everything returned from calling /update.cfm will be inserted into the div. That's by design so you can properly format input before displaying it. If you don't like that, you can pass a function into editable() as the first parameter (instead of '/update.cfm') and do the ajax stuff yourself insi

[jQuery] Re: jEdible in place editor plugin

2007-06-21 Thread cfdvlpr
After the OK button is clicked the session variable is set like it should, but instead of just updating the div to show the changed textarea, it tries to insert a whole page inside the div with class editable_textarea.

[jQuery] Detecting bound events

2007-06-21 Thread Christopher Jordan
Hi folks, I've got the need to bind a function to the keyDown for some specific elements. The problem I think I have is that those elements don't start off on the page. The elements get added as the user types, so I need to bind the event to the element when it's put on screen. What I *though

[jQuery] Re: alert and jquery?

2007-06-21 Thread Angelo Zanetti
strange because I know the jQuery stuff works but its not allowing the alert?? I'm using this in thickbox popup perhaps that has got something to do with it? thanks for the reply Andy Matthews wrote: That's the right way. If it's not working then that means that jQuery is not available for

[jQuery] Re: jQuery("form") returns what if no element found?

2007-06-21 Thread Alexandre Plennevaux
thank you Aaron. In fact, what i'm trying to do, is to create a variable in case an element exists. "undefined" will do :) _ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Heimlich Sent: jeudi 21 juin 2007 23:03 To: jquery-en@googlegroups.com Subject: [jQ

[jQuery] Re: jQuery("form") returns what if no element found?

2007-06-21 Thread Aaron Heimlich
According to Firebug typeof $('form').attr('action'); is "undefined" in both cases. FYI: jQuery() returns and empty jQuery object when no elements match the selector. If you try to call a method on an empty jQuery object, then nothing will happen (because there is noting for jQuery to work with

[jQuery] jQuery("form") returns what if no element found?

2007-06-21 Thread Alexandre Plennevaux
a quick question: what does $("form").attr("action") returns if there is no form , or if the form has no action attribute ? null ? undefined? thank you Alexandre Ce message Envoi est certifié sans virus connu. Analyse effectuée par AVG. Version: 7.5.472 / Base de données virus: 269.9.1

[jQuery] Re: alert and jquery?

2007-06-21 Thread Andy Matthews
That's the right way. If it's not working then that means that jQuery is not available for that page. Check to make sure the path to jQuery is correct and go from there. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Angelo Zanetti Sent: Thurs

[jQuery] Thickbox, JQuery and editInPlace

2007-06-21 Thread Angelo Zanetti
hi all, i have used jQuery with thickbox and editInPlace (http://15daysofjquery.com/edit-in-place-with-ajax-using-jquery-javascript-library/15/) successfully in Firefox. However doesnt seem to work at all in IE. Basically its meant to work like if there is a section of text, click on it and

[jQuery] Re: jEdible in place editor plugin

2007-06-21 Thread Josh Nathanson
I'm using it, also in conjunction with ColdFusion, with good success...nothing jumps out of your code...what exactly is the "doing something funny" that you reference? -- Josh - Original Message - From: "cfdvlpr" <[EMAIL PROTECTED]> To: "jQuery (English)" Sent: Thursday, June 21,

[jQuery] Re: jEdible in place editor plugin

2007-06-21 Thread Erik Beeson
The official site has quite a few examples: http://www.appelsiini.net/~tuupola/jquery/jeditable/ What problems are you having? Note that if your quantity variable is blank, the containing div won't have any height and you won't be able to trigger the editing. --Erik On 6/21/07, cfdvlpr <[EMAIL

[jQuery] alert and jquery?

2007-06-21 Thread Angelo Zanetti
Hi guys, This might be a stupid question but in order to make use of the alert popup with jQuery, how do I go about it? $(document).ready(function(){ alert ("helloworld"); }); Doesn't seem to work for me but I couldnt find the result of

[jQuery] Re: jquick speed

2007-06-21 Thread Dan G. Switzer, II
Jack, Where are you seeing the speed issues? On page start? The following code could be sped up a bunch. It's the code that runs on the $().ready() to initialize all the method. Hard coding the string to an array and getting rid of the eval() would speed things up. -Dan (function() { var t

[jQuery] jEdible in place editor plugin

2007-06-21 Thread cfdvlpr
Has anyone here used this plugin? Where can I find some good examples on how to use this? Right now, I've almost got it working, but for some reason is is doing something funny that I can't seem to figure out. Anyone see a problem with the code that I have below: $(document).ready(function() {

[jQuery] Re: jquick speed

2007-06-21 Thread Rey Bango
Hi Jack, I've never used it but my suggestion is to take a small section of your code that is noticeably slower, create a test file, & drop the slow code in there. Then create a second file and use straight jQuery core functions or DOM code to do the same thing. Leverage FireBug's profiler

[jQuery] Re: problem using jquery.flash plugin in my plugin

2007-06-21 Thread Alexandre Plennevaux
ok, i've found out taht in fact, the flash plugin does not accept to replace input fields. Does any jqGenius have an idea why ? _ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alexandre Plennevaux Sent: jeudi 21 juin 2007 21:41 To: jquery-en@googlegroups.com S

[jQuery] jquick speed

2007-06-21 Thread Jack Killpatrick
Earlier today I converted some string concat js stuff (for creating HTML) to use the jquick plugin instead: http://jquick.sullof.com/jquick/ Things now seem noticably slower, but I also changed a bunch of other stuff in the code I'm working on. I haven't dug in deeper to see where the spee

[jQuery] Re: adding a callback to thickbox

2007-06-21 Thread Angelo Zanetti
try using thickbox as an iFrame. MathiasBank wrote: Hallo, is it possible to add a callback to thickbox? I'm loading a form via ajax and I want to handle this form with ajax again. But I cannot find a possibility to register a callback function to use the form plugin. There should be a way l

[jQuery] Re: problem using jquery.flash plugin in my plugin

2007-06-21 Thread Alexandre Plennevaux
i even tried removing everything in my plugin, still no go. Yet, just calling it in the main $(document).ready loop works. It seems the plugin does not accept to be wrapped by another function, is this possible? _ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

[jQuery] Re: BlockUI - changing messages in a dialog

2007-06-21 Thread rolfsf
makes complete sense now - thanks! malsup wrote: > > > rolfsf, > > The purpose of the caching is because when you invoke unblock() or > unblockUI the blocking elements are removed from the DOM. That means > you can't find them again with a jQuery selector, so they need to be > cached or th

[jQuery] Re: BlockUI - changing messages in a dialog

2007-06-21 Thread Mike Alsup
rolfsf, The purpose of the caching is because when you invoke unblock() or unblockUI the blocking elements are removed from the DOM. That means you can't find them again with a jQuery selector, so they need to be cached or they won't be reusable. The difference between using an existing DOM el

[jQuery] Re: Release: Validation plugin 1.1

2007-06-21 Thread Jörn Zaefferer
How will that work? Are you going to write the library yourself? Will it be language independent? If not, what language? Basically the plugin will provide the necessary protocol for client-server communication and display messages accordingly. The acutal validation is then done on the se

[jQuery] Re: Validation Element ID differ from Element name

2007-06-21 Thread Terak
Thanks Jörn, In case anyone else is using CAKEPHP here's my code: Send a message to project team Please enter a message Please select a developers Select developers. Person1 Person2 var container = $("#errorMessageBox"); $("#sendmessage").validate({ errorContainer: container,

[jQuery] Re: Release: Validation plugin 1.1

2007-06-21 Thread Chris W. Parker
On Thursday, June 21, 2007 12:04 PM Jörn Zaefferer said: > Hooray! Version 1.1 of the validation plugin ( > http://bassistance.de/jquery-plugins/jquery-plugin-validation/ ) > brings, along a few bufixes, sophisticated validation on blur, keyup > and click events. They are designed to help the use

[jQuery] Re: BlockUI - changing messages in a dialog

2007-06-21 Thread rolfsf
Cool - thanks Mike. I guess I don't understand the purpose of the cacheing in this case (my javascript knowledge is limited). When I've got my proof-of-concept working correctly and pass it on to the engineers to implement, I'll know better whether the div or the simple static message works bette

[jQuery] Re: BlockUI - changing messages in a dialog

2007-06-21 Thread Mike Alsup
rolfsf, You need to take the same approach with the 2nd message as you did with the first - cache it: var question = $('#question')[0]; var wait = $('#wait')[0]; Then in your "yes" handler do this: $('#myDiv').unblock().block(wait, {width: '275px'}); But if you're just displaying a simple st

[jQuery] problem using jquery.flash plugin in my plugin

2007-06-21 Thread Alexandre Plennevaux
Hello! i'm trying to switch the dependency of my plugin to a proper jquery plugin dedicated to flash embedding instead of swfobject. Yet i cannot seem to make it work: no error thrown but the element is not replaced by the flash file. here is the schematics of what i do: jQuery.fn.jqUploade

[jQuery] BlockUI - changing messages in a dialog

2007-06-21 Thread rolfsf
I'm using the blockUI plugin to block a div, and display a small confirmation dialog, which is based on a hidden div (#question) on the page. That all works. If the user confirms the action by clicking a button, I want to display a second div with a "data loading" sort of message & loading gif

[jQuery] Re: Validation Element ID differ from Element name

2007-06-21 Thread Jörn Zaefferer
Terak wrote: I'm using cakephp framework and I'm running into problem if the element name if different from the element ID. Currently the form is getting submitted w/o being validated, but if I change the textarea name to "contact_description" then it will validate it. Also I would like to mak

[jQuery] finding dd in firefox will not work..

2007-06-21 Thread DXCJames
[code] http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en"> @import "styles.css"; @import "tabs.css"; @import "content.css"; http://jquery.com/src/jquery.js";> $(document).ready(function(){ $("dt dl").click(function(

[jQuery] slideToggling a in firefox

2007-06-21 Thread DXCJames
I have been trying to get firefox to slide this all day.. when you click on the that encapsulates the Calendar text it is suppose to slide the under it (where the calendar is held) up. It works in IE but not in firefox.. if i alert a .html() instead of doing a .slideToggle() in IE it will give

[jQuery] Release: Validation plugin 1.1

2007-06-21 Thread Jörn Zaefferer
Hooray! Version 1.1 of the validation plugin ( http://bassistance.de/jquery-plugins/jquery-plugin-validation/ ) brings, along a few bufixes, sophisticated validation on blur, keyup and click events. They are designed to help the user where appropiate, without interrupting when he hadn't even

[jQuery] Validation Element ID differ from Element name

2007-06-21 Thread Terak
I'm using cakephp framework and I'm running into problem if the element name if different from the element ID. Currently the form is getting submitted w/o being validated, but if I change the textarea name to "contact_description" then it will validate it. Also I would like to make sure that atl

[jQuery] Re: Table cell navigation

2007-06-21 Thread Brad Perkins
On Jun 21, 11:29 am, "Rob Desbois" <[EMAIL PROTECTED]> wrote: > Brad, > > Glad to help, I had to solve a similar problem a few months back. > > Regarding the use of the already-present names instead of duplicating them > to IDs, it may be worth the duplication for speed of selectors if that is a >

[jQuery] Re: Ajax call -> lost event handlers

2007-06-21 Thread Karl Swedberg
This issue comes up repeatedly, and I keep posting this link: http://docs.jquery.com/Tutorials:AJAX_and_Events If you read it all the way through, I think you'll get a good understanding of event binding and a few ways to bind events at the right time. Also, a quick search in this

[jQuery] Re: Radio button

2007-06-21 Thread rayfidelity
Nope. Eh too much. I'll stick to marking just the radio button. I've already taken too much of your time. Thank you very much! On Jun 21, 7:53 pm, Klaus Hartl <[EMAIL PROTECTED]> wrote: > rayfidelity wrote: > > Hmm the removeclass part doesn't seem to work, when i click on the > > other radio b

[jQuery] Re: Could anyone send me a copy of Catfish Advert Plugin 1.3.

2007-06-21 Thread Su
The plugin works(or worked) fine. I've used it. But there's been at least one release of jQuery since then, which might've introduced an incompatibility. On 6/21/07, Logan Cai <[EMAIL PROTECTED]> wrote: thanks Michael, I got it, but it has javascript errors when running it with FF & IE7.0 so

[jQuery] Re: Could anyone send me a copy of Catfish Advert Plugin 1.3.

2007-06-21 Thread Logan Cai
thanks Michael, I got it, but it has javascript errors when running it with FF & IE7.0 so I am assuming it is not the lastest version, still is a biggy version. Logan Cai >From http://www.phpletter.com Michael Price-10 wrote: > > > Su wrote: >> When you go 24hours without reposting this que

[jQuery] Slide-in/out: Toggle right panel example?

2007-06-21 Thread Pete
It seemed like forever when I was searching for anything jQuery, I kept coming up with a very nice example where a form button would toggle a dark gray panel to slide in from the right and then slide out on toggle. The panel takes up 100% of the page. I can't seem to find it now that I would act

[jQuery] Re: Radio button

2007-06-21 Thread Klaus Hartl
rayfidelity wrote: Hmm the removeclass part doesn't seem to work, when i click on the other radio button the previous stays red... On Jun 21, 7:27 pm, Klaus Hartl <[EMAIL PROTECTED]> wrote: rayfidelity wrote: Klaus thanks it works! Since you made a great suggestion, here's the thing it's like

[jQuery] Re: Radio button

2007-06-21 Thread rayfidelity
Thanks Klaus! I owe you a beer ;) On Jun 21, 7:27 pm, Klaus Hartl <[EMAIL PROTECTED]> wrote: > rayfidelity wrote: > > Klaus thanks it works! > > > Since you made a great suggestion, here's the thing > > > it's like this > > > > >bla bla > >bla bla 2 > > > > > i'd actually like

[jQuery] Re: Radio button

2007-06-21 Thread rayfidelity
Hmm the removeclass part doesn't seem to work, when i click on the other radio button the previous stays red... On Jun 21, 7:27 pm, Klaus Hartl <[EMAIL PROTECTED]> wrote: > rayfidelity wrote: > > Klaus thanks it works! > > > Since you made a great suggestion, here's the thing > > > it's like this

[jQuery] Re: Radio button

2007-06-21 Thread Jörn Zaefferer
Chris W. Parker wrote: On Thursday, June 21, 2007 9:48 AM Klaus Hartl said: $(document).ready(function() { $("[EMAIL PROTECTED]'section']").click(function(){ $(this)[this.checked ? 'addClass' : 'removeClass']('checked'); }); }); What kind of syntax is that third line? (I don't mea

[jQuery] Re: Radio button

2007-06-21 Thread Klaus Hartl
Chris W. Parker wrote: On Thursday, June 21, 2007 9:48 AM Klaus Hartl said: $(document).ready(function() { $("[EMAIL PROTECTED]'section']").click(function(){ $(this)[this.checked ? 'addClass' : 'removeClass']('checked'); }); }); What kind of syntax is that third line? (I don't mean the te

[jQuery] Re: Table cell navigation

2007-06-21 Thread Rob Desbois
Brad, Glad to help, I had to solve a similar problem a few months back. Regarding the use of the already-present names instead of duplicating them to IDs, it may be worth the duplication for speed of selectors if that is a concern. It wholly depends on how many elements there are in the page - w

[jQuery] Re: Radio button

2007-06-21 Thread Klaus Hartl
rayfidelity wrote: Klaus thanks it works! Since you made a great suggestion, here's the thing it's like this bla bla bla bla 2 i'd actually like to change the background of the list item, so how do i append the class to the appropriate list item? Try this: $(document).read

[jQuery] Re: Radio button

2007-06-21 Thread Klaus Hartl
rayfidelity wrote: Thanks but it doesn't work. On Jun 21, 6:39 pm, "Mike Alsup" <[EMAIL PROTECTED]> wrote: This should work: $(document).ready(function() { $("[EMAIL PROTECTED]'section']").click(function(){ $(this).css('background', this.checked ? 'red' : ''); }) }); Here's

[jQuery] Re: Radio button

2007-06-21 Thread Chris W. Parker
On Thursday, June 21, 2007 9:48 AM Klaus Hartl said: > $(document).ready(function() { > $("[EMAIL PROTECTED]'section']").click(function(){ > $(this)[this.checked ? 'addClass' : 'removeClass']('checked'); }); > }); What kind of syntax is that third line? (I don't mean the ternary operator.)

[jQuery] Re: Radio button

2007-06-21 Thread rayfidelity
Klaus thanks it works! Since you made a great suggestion, here's the thing it's like this bla bla bla bla 2 i'd actually like to change the background of the list item, so how do i append the class to the appropriate list item? On Jun 21, 6:47 pm, Klaus Hartl <[EMAIL PROTECTED

[jQuery] Re: Radio button

2007-06-21 Thread rayfidelity
Thanks but it doesn't work. On Jun 21, 6:39 pm, "Mike Alsup" <[EMAIL PROTECTED]> wrote: > This should work: > > $(document).ready(function() { > $("[EMAIL PROTECTED]'section']").click(function(){ > $(this).css('background', this.checked ? 'red' : ''); > }) > > }); > > Here's what

[jQuery] Re: Could anyone send me a copy of Catfish Advert Plugin 1.3.

2007-06-21 Thread Karl Swedberg
I emailed Logan off-list with a couple suggestions for how he could contact the plugin author. Michael, I'd be happy to host the plugin on learningjquery.com somewhere if you send me a copy. Of course, I'm not agreeing to maintain the plugin or provide support. ;) --Karl

[jQuery] Re: Radio button

2007-06-21 Thread Klaus Hartl
Mike Alsup wrote: This should work: $(document).ready(function() { $("[EMAIL PROTECTED]'section']").click(function(){ $(this).css('background', this.checked ? 'red' : ''); }) }); On top of that I'd like to suggest a better separation of the presentational aspect. It's the resp

[jQuery] Re: Table cell navigation

2007-06-21 Thread Brad Perkins
Rob, That is an excellent suggestion. I didn't give actual source in the example, but it turns out that each of the selects and inputs have unique numbered "name" attributes already, e.g., name="serial-304". The numeric part correspond to keys in the db backend. So I can either add a redundant id

[jQuery] Re: encodeURIComponent localized for custom encoding

2007-06-21 Thread Ⓙⓐⓚⓔ
do a diff -u between the 2 versions is there anything more than a slight change in param: ? On 6/21/07, oscar esp <[EMAIL PROTECTED]> wrote: I have some issues with jquery . When I use the jquery from your branch I get some error in code that works fine with official 1.2 version. I have

[jQuery] Re: Radio button

2007-06-21 Thread Mike Alsup
This should work: $(document).ready(function() { $("[EMAIL PROTECTED]'section']").click(function(){ $(this).css('background', this.checked ? 'red' : ''); }) }); Here's what i came up with, but it doesn't work. $(document).ready(function() { $("[EMAIL PROTECTED]'section']").click

[jQuery] Radio button

2007-06-21 Thread rayfidelity
Hi, I have a problem, i'd like to mark the radio button that's checked. Here's what i came up with, but it doesn't work. $(document).ready(function() { $("[EMAIL PROTECTED]'section']").click(function(){ $("[EMAIL PROTECTED]'section']:checked").val() == 1 ? $ ("[EMAIL PROTECTED]'section']:checked

[jQuery] Re: Ajax call -> lost event handlers

2007-06-21 Thread Aaron Heimlich
If you need something that works *right now* with 1.1.2, I suggest you take a look at event delegation[1]. [1] http://icant.co.uk/sandbox/eventdelegation/ On 6/21/07, Klaus Hartl <[EMAIL PROTECTED]> wrote: AJ wrote: > >> It is true and it will be officially released once jQuery 1.1.3 is relea

[jQuery] Re: Interface: Slider, fractions, onSlide reporting incorrect fractions?

2007-06-21 Thread Gordon
I have been having some trouble with the interface sliders as well, it has been suggested to me when I posted about it that the sliders code simply needs a rework as it stands, and that certain things just don't work very well currently. Sorry I can't be mroe help than that, it's pretty much all

[jQuery] Re: ANNOUCE: slideView plugin released

2007-06-21 Thread Rey Bango
Ok. Its working now. The image stacking issue I reported earlier is there but the slider now renders correctly. In terms of the images displaying first, I'm wondering if you could initially place the images within a hidden div and then load them into the slider. There was also discussion on

[jQuery] Re: jQuery on freesoftwaremagazine.com

2007-06-21 Thread Jake McGraw
Thanks! - jake On 6/21/07, Rey Bango <[EMAIL PROTECTED]> wrote: Excellent work Jake!! Jake McGraw wrote: > > Hey guys, just wanted to let you know, I helped develop the JavaScript > for the Drupal Simple Karma Module using jQuery > ajax/selectors/modifiers: > > Drupal project page: > http://d

[jQuery] Re: jQuery on freesoftwaremagazine.com

2007-06-21 Thread Rey Bango
Excellent work Jake!! Jake McGraw wrote: Hey guys, just wanted to let you know, I helped develop the JavaScript for the Drupal Simple Karma Module using jQuery ajax/selectors/modifiers: Drupal project page: http://drupal.org/project/simple_karma JS Dev Test Bed: http://dev.jakemcgraw.com/kar

[jQuery] Re: Easing rocks

2007-06-21 Thread Glen Lipka
GianCarlo, That kicks ass. If ThickBox could do that to transition between a series of pics, it would WOW alot of people. I have to respond to Rob though, who only advocates show() and hide(). If that were the case, I doubt I would have ever picked up jQuery in the first place. I hardly ever u

[jQuery] Re: ANNOUCE: slideView plugin released

2007-06-21 Thread Rey Bango
I did. I even cleared FF's cache. No dice. It is working, though, in IE7. Rey GianCarlo Mingati wrote: Rey, r u sure?? Hit F5. GC On Jun 21, 5:03 pm, Rey Bango <[EMAIL PROTECTED]> wrote: Its not working any longer. When I hit the page, it just displays all of the images. I don't see any JS e

[jQuery] Re: superfish variable width

2007-06-21 Thread Olivier Percebois-Garve
thx. I'll look into that that some times. My co-worker went with : http://www.cssplay.co.uk/menus/variable_dl.html But its not a satisfiying code. Since I'm trying to push suckerfish (superfish) as our default menu system, I'd love to get around that issue. On 6/21/07, Joel Birch <[EMAIL PROTECTE

  1   2   >