Re: [jQuery] New plugin: jQuick Tag Creator

2007-02-18 Thread Andreas Wahlin
absolutely, count in another switcher :D is it possible to redefine the $.TAG to something arbitrary, i've used dom.TAG in the past, or is the $. part dependant on the overall jQuery assignment? So jQuery.TAG would work? Andreas On Feb 17, 2007, at 21:27, Benjamin Sterling wrote:

Re: [jQuery] Loop Checkbox Action Question

2007-02-18 Thread Andreas Wahlin
Isn't IE6 sensitive about the change event? I've only managed to get it to fire on the click event. http://forums.devshed.com/javascript-development-115/check-box-alert- fail-in-ie6t-385756.html#post1612993 andreas ___ jQuery mailing list

Re: [jQuery] creating and inserting a form on-the-fly

2007-02-18 Thread Andreas Wahlin
I may go out on a limb here, but isn't it also so that you should wrap forms in some sort of block element, preferably a fieldset, to validate the stricter doctypes? andreas ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Loop Checkbox Action Question

2007-02-18 Thread [EMAIL PROTECTED]
Made a reply before, but I think I've messed with my subscription so it never came up. Here it goes again, first alot of code: html head script type=text/javascript src=js/jquery.js/script script type=text/javascript $(document).ready(function(){ $([EMAIL

Re: [jQuery] creating and inserting a form on-the-fly

2007-02-18 Thread Aaron Heimlich
On 2/18/07, Andreas Wahlin [EMAIL PROTECTED] wrote: I may go out on a limb here, but isn't it also so that you should wrap forms in some sort of block element, preferably a fieldset, to validate the stricter doctypes? Form *controls* (inputs, textareas, selects, labels, and buttons) have to

[jQuery] Jquery Login box woes.......

2007-02-18 Thread Meilad
Hi there. I'm trying to use Jquery (And jqmodal to do the popup box) to create a php login box. so far I have the following: html head title/title script type=text/javascript src=jquery.js/script script type=text/javascript src=jqModal.js/script script type=text/javascript

[jQuery] Plugin Development Process

2007-02-18 Thread Mattias Hising
Hi all, I have been thinking about the plugin development process for jquery. As it is today we have a wide variety of plugins and some of them are officially supported. The problem as I see it today are the following: - Version management, some plugins that are official do not change in the

Re: [jQuery] Creating an empty jQuery object

2007-02-18 Thread Sam Collett
On 18/02/07, Danny Wachsstock [EMAIL PROTECTED] wrote: Yehuda: I do know about $('..html/'), but my mother always said Don't hang with those innerHTML kids, you'll learn bad habits. Seriously, I find it very hard to debug the assemble-a-string-and-have-the-interpreter-figure-it-out sort of

Re: [jQuery] Google's Summer of Code

2007-02-18 Thread Sam Collett
On 16/02/07, Sam Collett [EMAIL PROTECTED] wrote: On 16/02/07, John Resig [EMAIL PROTECTED] wrote: Hey Everyone - Google's Summer of Code has just opened up for 2007, and I'd love to have jQuery be a part of it: http://code.google.com/soc/ If you're not familiar with how SoC works,

Re: [jQuery] New plugin: jQuick Tag Creator

2007-02-18 Thread Francesco Sullo
If you want, you can add TAG to the tag's string. It works, F Andreas Wahlin ha scritto: absolutely, count in another switcher :D is it possible to redefine the $.TAG to something arbitrary, i've used dom.TAG in the past, or is the $. part dependant on the overall jQuery assignment? So

[jQuery] Plugin Authoring : How to keep plugin state?

2007-02-18 Thread howard chen
e.g. jQuery.fn.debug = function() { // i want to save the current time into a global variable? return this.each(function(){ alert(this); }); }; I want save the time of the last plugin being executed for later use, any recommened method? thanks.

Re: [jQuery] Smooth Scrolling for same-page links

2007-02-18 Thread Sam Collett
On 17/02/07, Karl Swedberg [EMAIL PROTECTED] wrote: On Feb 17, 2007, at 4:36 PM, Joel Birch wrote: On 18/02/2007, at 6:13 AM, Karl Swedberg wrote: ok, now that the smooth scrolling has Klaus's blessing :) ... I thought I'd share some code I wrote to make it happen for all same- page

Re: [jQuery] Bug in Interface Autocomplete SVN

2007-02-18 Thread Sam Collett
On 18/02/07, Peter Vulgaris [EMAIL PROTECTED] wrote: Around line 310 of iautocompleter.js there is a line like this: if (/13|27|35|36|38|40|9/.test(pressedKey) jQuery.iAuto.items) { While keycode 9 is the enter key, the regex there also matches for any other keycode with a 9 in it. I know

Re: [jQuery] Plugin Authoring : How to keep plugin state?

2007-02-18 Thread Blair Mitchelmore
If you only want the last time the function was called: jQuery.debug; // Stores last called date for jQuery.fn.debug jQuery.fn.debug = function() { jQuery.debug = new Date(); return this.each(function() { alert(this); }); }; Other things like recording all previous calls and

Re: [jQuery] How do I get the XML of an ajax request?

2007-02-18 Thread Blair Mitchelmore
Looks like your request worked and you got XML back. You can try inspecting the XML response to see what was return to extract the data manually or if you could also try wrapping the XML document in a jQuery Object and calling the .html() method to get the value of your xml response without

[jQuery] Display hidden elements in print layout

2007-02-18 Thread Bernd Matzner
Hi, I'm using a JQuery-based script which displays a number of elements of a slideshow (namely, dd tags containing images). The script then shows them. Now, while it looks nice when printing with JS turned off, I can't get the hidden images to display when printing. Unfortunately, no such thing

[jQuery] innerfade and images with image maps

2007-02-18 Thread john smith
Hi all, I'm a newcomer to jquery. Its great and I plan on utilizing the library in our website. Currently we have an old flash rotator and im thinking about replacing it with a javascript/css rotator. I was looking at the innerfade plugin as a potential replacement. I like it because unlike

Re: [jQuery] Creating an empty jQuery object

2007-02-18 Thread Danny Wachsstock
This may be hijacking the thread, so I'll keep it brief. i agree that innerHTML is useful, and it is a de-facto standard (like AJAX). I also agree that whatwg's work is much closer to reality than w3g's, and like I said, I'm not a fanatic standardista. My point is that it's harder to debug

Re: [jQuery] Plugin Development Process

2007-02-18 Thread John Resig
You should post this to the development mailing list: http://jquery.com/mailman/listinfo/dev_jquery.com We've been discussing plugin-related issues over there. Along with drafting up the new plugin requirements and spec. --John On 2/18/07, Mattias Hising [EMAIL PROTECTED] wrote: Hi all, I

Re: [jQuery] jQuery Powered Sites - Keep the Links Coming

2007-02-18 Thread Toby
Aw, well spotted, that’s quite a setback indeed :¬) I had totally forgotten that’s why you have the blur in the first place. I guess in that respect its quite a good that it blinks for a second so I personally have reverted to $(a).click(function(){this.blur();}); Cheers for the heads

Re: [jQuery] Smooth Scrolling for same-page links

2007-02-18 Thread Klaus Hartl
Are you aware of the pathname and host properties? If you use it, you can cut down the code further: $('[EMAIL PROTECTED]#]').click(function() { if (location.pathname == this.pathname location.host == this.host) { if ($(this.hash).length 0 ) { $(this.hash).ScrollTo(400);

Re: [jQuery] Smooth Scrolling for same-page links

2007-02-18 Thread Karl Swedberg
On Feb 18, 2007, at 5:51 AM, Sam Collett wrote: Are you aware of the pathname and host properties? If you use it, you can cut down the code further: $('[EMAIL PROTECTED]#]').click(function() { if (location.pathname == this.pathname location.host == this.host) { if ($(this.hash).length

Re: [jQuery] Smooth Scrolling for same-page links

2007-02-18 Thread Karl Swedberg
Even better! Thanks, Klaus! --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Feb 18, 2007, at 10:05 AM, Klaus Hartl wrote: Are you aware of the pathname and host properties? If you use it, you can cut down the code further: $('[EMAIL

Re: [jQuery] Bug in Interface Autocomplete SVN

2007-02-18 Thread Peter Vulgaris
Nope, didn't work, I get a syntax error in Firefox 2.0. Peter On 2/18/07, Sam Collett [EMAIL PROTECTED] wrote: On 18/02/07, Peter Vulgaris [EMAIL PROTECTED] wrote: Around line 310 of iautocompleter.js there is a line like this: if (/13|27|35|36|38|40|9/.test(pressedKey)

Re: [jQuery] Display hidden elements in print layout

2007-02-18 Thread Brandon Aaron
What is happening is that .hide() and even .fadeOut() set an inline style to display: none;. Inline styles overwrite styles found in the style sheet. You need to set your display property for the images to none in the screen style sheet. Then in your JavaScript you need to do a .show() to show

[jQuery] How to use cookies?..

2007-02-18 Thread Mikael Noone
Hi there, I used the interface plugin to make a window be draggable, now i found a good cookie plugin: http://www.stilbuero.de/2006/09/17/cookie-plugin-for-jquery/ How do i use them to make it remember the position?... Ive tried alot of examples of ordinary javascript + cookie but i cant get it

[jQuery] Id of a textarea element

2007-02-18 Thread Peter Bengtsson
From the Firebug console... document.getElementById('id_descriptions.sv'); textarea id=id_descriptions.sv cols=40 rows=3 name=descriptions.sv:latin1:utext:record $('#id_descriptions.sv'); [] $('#id_descriptions.sv').size(); 0 The XHTML validates so I don't see what's wrong with the ID value.

[jQuery] Figure out which img in a div was clicked?

2007-02-18 Thread Kim Johnson
I have a series of divs, each has a dropdown type div that remains hidden, until you click an image in another div (these buttons are for things like screenshots, info, etc). Here's the page I'm working on: http://www.anime-planet.com/newsite/anirec/45.html By default, these dropdown divs

[jQuery] Why do these two behave like this?

2007-02-18 Thread Rick Faircloth
Hi, all. I'm experimenting with how to make a Details Slidedown for a calendar. In the examples below, I work with dl's, dd's, and dt's. Provides smooth show/hide. If I try to use two different classes of table rows, they jerk open and closed. See the examples. I'm new to jQuery and to JS in

Re: [jQuery] Figure out which img in a div was clicked?

2007-02-18 Thread Matt Stith
in .click, this refers to the clicked element, so try this: $('div.anirec_buttons img').click(function() { $(this).parent('div').children('img').slideToggle(400); }); that should toggle all of the images inside of the div that contains the clicked image. Thats untested, but you get the

Re: [jQuery] Why do these two behave like this?

2007-02-18 Thread Matt Stith
well, i dont have an answer to your problem, but you could just use $(this).next().slideToggle(); as long as you have a recent version of jQuery. On 2/18/07, Rick Faircloth [EMAIL PROTECTED] wrote: Hi, all… I'm experimenting with how to make a Details Slidedown for a calendar. In the

Re: [jQuery] Figure out which img in a div was clicked?

2007-02-18 Thread Glen Lipka
Mirroring back the desired effect: 1. Start with all DIVS hidden. 2. Click a button, and that *related* DIV opens and all other open DIVs close. You might want to use the each function for this. Untested code: $(div.anirec_buttons img).each(function(i){ $(.anirec_more).slideUp(slow); //move

Re: [jQuery] Figure out which img in a div was clicked?

2007-02-18 Thread Glen Lipka
Little more followup... The reason to use each is so you can do: var theParticularButton = $(this).attr(someAttrbuteOfTheButton); That would allow you to open up a div with the screenshots and close the one with the reviews in the same area. ___ jQuery

Re: [jQuery] Id of a textarea element

2007-02-18 Thread Klaus Hartl
Klaus Hartl schrieb: Peter Bengtsson schrieb: From the Firebug console... document.getElementById('id_descriptions.sv'); textarea id=id_descriptions.sv cols=40 rows=3 name=descriptions.sv:latin1:utext:record $('#id_descriptions.sv'); [] $('#id_descriptions.sv').size(); 0 The XHTML

[jQuery] div slider

2007-02-18 Thread schnuck
hi guys, i am trying to do the following: imagine you have a jquery powered slider as in here (look at the top horizontal slider please): http://interface.eyecon.ro/demos/slider.html how can it be accomplished that when moving the slider in a horizontal direction (right or left), in a another

Re: [jQuery] Id of a textarea element

2007-02-18 Thread Klaus Hartl
Peter Bengtsson schrieb: From the Firebug console... document.getElementById('id_descriptions.sv'); textarea id=id_descriptions.sv cols=40 rows=3 name=descriptions.sv:latin1:utext:record $('#id_descriptions.sv'); [] $('#id_descriptions.sv').size(); 0 The XHTML validates so I don't see

Re: [jQuery] Display hidden elements in print layout

2007-02-18 Thread Klaus Hartl
Brandon Aaron schrieb: What is happening is that .hide() and even .fadeOut() set an inline style to display: none;. Inline styles overwrite styles found in the style sheet. Using !important in a print style sheet will overrule inline styles in modern browsers (not in IE of course). -- Klaus

Re: [jQuery] How to use cookies?..

2007-02-18 Thread Klaus Hartl
Mikael Noone schrieb: Hi there, I used the interface plugin to make a window be draggable, now i found a good cookie plugin: http://www.stilbuero.de/2006/09/17/cookie-plugin-for-jquery/ http://www.stilbuero.de/2006/09/17/cookie-plugin-for-jquery/ How do i use them to make it remember

[jQuery] jQuick Tag Creator 1.1 released

2007-02-18 Thread Francesco Sullo
Hi all. Today I improved jQuick. The new version 1.1 supports events if passed as attributes, even with IE. For example, instead of $.FORM({}, $.LABEL({'for':'one'},Digit ), $.INPUT({id:'one'}).click(setValues) ).submit(function(){return false;}); you could write: $.FORM({onsubmit:'return

[jQuery] jqUploader development: conception question

2007-02-18 Thread Alexandre Plennevaux
hello, i'm (still) working on my plugin that is meant to replace a given file input field by a richer flash upload dialog. you can view it here: HYPERLINK http://www.pixeline.be/test/jquery/jqUploader/index.htmlhttp://www.pixeline.be/test/jquery/jqUploader/index.html what has changed:

Re: [jQuery] jQuick Tag Creator 1.1 released

2007-02-18 Thread Francesco Sullo
Suppose you want to add content to themyDiv div, you could write: $('#myDiv').append( $.DIV({'class':'big'}, $.SPAN({id:'one','class':'ps'}, 'Hello Joe', $.I({},'!') ) ) ); PS. I changed the 1.1 version some minutes ago in order to optimize it. Instead of use

Re: [jQuery] Display hidden elements in print layout

2007-02-18 Thread [EMAIL PROTECTED]
How about a print link on the page? Or a prepare for print where you display them again? //kristinn On Feb 18, 10:59 pm, Klaus Hartl [EMAIL PROTECTED] wrote: Brandon Aaron schrieb: What is happening is that .hide() and even .fadeOut() set an inline style to display: none;. Inline styles

Re: [jQuery] jQuick Tag Creator 1.1 released

2007-02-18 Thread Rey Bango
Francesco, This is a really nice plugin. Excellent work. I missed your original announcements so I had a quick question. If I wanted to inject a DIV into a specific section of my page (perhaps another DIV) using this code from your site: $.DIV({'class':'big'},

Re: [jQuery] jQuick Tag Creator 1.1 released

2007-02-18 Thread Benjamin Sterling
Good stuff francesco. On 2/18/07, Francesco Sullo [EMAIL PROTECTED] wrote: Suppose you want to add content to themyDiv div, you could write: $('#myDiv').append( $.DIV({'class':'big'}, $.SPAN({id:'one','class':'ps'}, 'Hello Joe', $.I({},'!') ) ) ); PS.

Re: [jQuery] jQuick Tag Creator 1.1 released

2007-02-18 Thread Rey Bango
Very nice! Thanks for the explanation. I'll redownload the code. Rey Francesco Sullo wrote: Suppose you want to add content to themyDiv div, you could write: $('#myDiv').append( $.DIV({'class':'big'}, $.SPAN({id:'one','class':'ps'}, 'Hello Joe', $.I({},'!')

[jQuery] automatic presentation

2007-02-18 Thread Olaf Bosch
Hi all, i would develop a Plugin for slides presentation. The slides self works fine. Now i have try a PAUSE/PLAY/NEXT/BACK funktion insert, now my problems began. See you a way to go to do this? Here are the DEMO: http://olaf-bosch.de/bugs/jquery/presenter/ All Code is in HTML, comments also.

[jQuery] How would I change this?

2007-02-18 Thread Rick Faircloth
How would I change this code so that only the details immediately after the line that is clicked toggles, instead of the details after every line? i.e.. Line one has: Event DateTime Line two (which is hidden until the event is clicked) has: Details Once the Event is

Re: [jQuery] How would I change this?

2007-02-18 Thread Ⓙⓐⓚⓔ
Rick, You posted no html or jquery code! in general the clickable tag has to know which details it is supposed to show. you can find it in several ways, 1) a similar, and derivable id control-one would show detail-one 2) proximity, where you can just show the next div or a class. 3) consistent

Re: [jQuery] How would I change this?

2007-02-18 Thread Rick Faircloth
Oops! Sorry! (Getting a little sleepy!) Here's the code I'm using: $(document).ready(function() { $('.calendar').find('div.info').hide().end().find('div.title').click(function() { $('div.time').next().slideToggle(); }); }); -Original Message- From: [EMAIL

Re: [jQuery] jqModal: closeClass and href?

2007-02-18 Thread fatjoez
Hi there. I've actually had a similar problem today. I'm creating a login box overlay with jqModal on successfull login I wanted to close the login box remove the gray overlay background. My problem was that in the documentation for JqModal all I could find for closing jq windows was the

Re: [jQuery] jqModal: closeClass and href?

2007-02-18 Thread Kristinn Sigmundsson
You could do a $(.jqmClose).click(), only thing I could come up with without having spend much time with jqModal //Kristinn On 2/19/07, fatjoez [EMAIL PROTECTED] wrote: Hi there. I've actually had a similar problem today. I'm creating a login box overlay with jqModal on successfull login I

Re: [jQuery] How would I change this?

2007-02-18 Thread Joan Piedra
If the div.time is inside the title you could try in your object. .click(function() { $(this).find(' div.time').next().slideToggle(); }); On 2/18/07, Rick Faircloth [EMAIL PROTECTED] wrote: Oops! Sorry! (Getting a little sleepy!) Here's the code I'm using: $(document).ready(function()

Re: [jQuery] jqModal: closeClass and href?

2007-02-18 Thread fatjoez
brilliant. seems to work fine. Only problem is, how do I delay this action for about 2 seconds? ie. I don't want it to occur immediately, but after a 2 second delay rather Kristinn Sigmundsson wrote: You could do a $(.jqmClose).click(), only thing I could come up with without having spend

Re: [jQuery] jqModal: closeClass and href?

2007-02-18 Thread Aaron Heimlich
On 2/19/07, fatjoez [EMAIL PROTECTED] wrote: how do I delay this action for about 2 seconds? function jQModalClose() { $(.jqmClose).click(); } setTimeout(jQModalClose, 2000); -- Aaron Heimlich Web Developer [EMAIL PROTECTED] http://aheimlich.freepgs.com

Re: [jQuery] Including a file based on Form Select

2007-02-18 Thread Alex Ezell
Thanks Ben! I am working on implementing this now. I will post again, once I have it. Perhaps my blunders can help you to know what not to do :) /alex On 2/17/07, Benjamin Sterling [EMAIL PROTECTED] wrote: Alex, I would do something like: var optionstoform = { roadtrip :