[jQuery] Re: Best plugin for modal dialogs

2008-02-15 Thread Alexandre Plennevaux
jqModal is definitely the most flexible, but maybe not the easiest for a non developer or if you are wanting to do things different than the demos examples. On Fri, Feb 15, 2008 at 4:41 AM, Sean O [EMAIL PROTECTED] wrote: I switch between jqModal and Thickbox 3.1 for different apps,

[jQuery] Re: kill the cpu

2008-02-15 Thread Karl Rudd
What do you need to access outside the $(function(){})? For the function you can do something like this: var showtime; $(function(){ //... showtime = function() { //... }; }) // You can now do this showtime(); Is that what you're looking for? Karl Rudd On Thu, Feb 14, 2008 at

[jQuery] Re: Code works in Safari ONLY

2008-02-15 Thread Leonardo K
There is a plugin that does what u want. http://www.ndoherty.com/demos/coda-slider/1.1.1/

[jQuery] Re: Best plugin for modal dialogs

2008-02-15 Thread Nazgulled
The examples on jqModal webpage seem to fit almost everything I want to do... However, I took a look at http://trentrichardson.com/Impromptu/ and what I liked about it that I didn't find in jqModal (maybe I'm blind) is those neat effects when showing/hiding the dialog and the possibility to

[jQuery] Fading effects and anti aliasing in IE/Opera

2008-02-15 Thread Nazgulled
Hi Probably, everyone already noticed on this but when you use fade effects in IE/Opera where you change the opacity and stuff like that, the text on these browsers is poorly rendered. By other words, it's not anti-aliased. It only gets anti-aliased when the opacity is 100%. This doesn't happen

[jQuery] div select and change it's css

2008-02-15 Thread yabado
Hey guys, Wondered if anyone could point me i the right direction setting up an effect. Lets say I have many divs all laid out like so... div id=section class=section1 Stuff /div div id=section class=section2 Stuff /div div id=section class=section3 Stuff /div div id=section class=section4

[jQuery] Re: div select and change it's css

2008-02-15 Thread Michael Price
yabado wrote: div id=section class=section1 Stuff /div div id=section class=section2 Stuff /div div id=section class=section3 Stuff /div div id=section class=section4 Stuff /div div id=section class=section5 Stuff /div If this isn't pseudo-code then you've got your IDs and classes the wrong

[jQuery] Re: Code works in Safari ONLY

2008-02-15 Thread LeonL
Thanks Brian! It works great now, the problem was the hyphenated properties, I had no idea that I should have written those in camel case. Thank you very much :handshake: Leon. Brian Cherne wrote: Actually, the += and -= are perfectly legit for the animate method. They allow you to animate

[jQuery] Re: Code works in Safari ONLY

2008-02-15 Thread Halid Said Altuner
thanks :) 2008/2/15, Leonardo K [EMAIL PROTECTED]: There is a plugin that does what u want. http://www.ndoherty.com/demos/coda-slider/1.1.1/

[jQuery] Re: Error when I try to interact with a Java Applet

2008-02-15 Thread Tjasper
I have same problem also with a applet. Introduced in (1.2.3 or 1.2.2) Error in line 674: // Compute a unique ID for the element 673 if ( !id ) 674 id = elem[ expando ] = ++uuid; 675 On Jan 29, 4:05 pm, Alexandre Plennevaux [EMAIL PROTECTED] wrote: can you use the non minifed version of

[jQuery] $('#foo').ready(function() { ... });

2008-02-15 Thread lgr888999
In my current project Im finding my self to a lot of $(document).ready(function() { if($('#foo').size == 1) { ... } }); Now im thinking of a way to extend jquery something like this: $.fn.cready = function(callback) { if($(this).size() == 1) { try { c = this;

[jQuery] Re: sending an array[] with $.ajax post

2008-02-15 Thread hcvitto
thanks anyway i foun a way to do it through this: var myFunction = function() { $(#myButton).click(function() { if (confirm(are you sure?)){ arrayCheckBox = new Array;

[jQuery] Closing a ThickBox modal window.

2008-02-15 Thread Steve Good
If this is the wrong place to ask I apologize. I tried the [EMAIL PROTECTED] list but my email bounced back. I was told, and I also read that to close a modal TB window all I need to do is call the tb_remove() function. Well, I'm new to AJAX as well as JavaScript as a whole. How would I go

[jQuery] id of draggable LI

2008-02-15 Thread jorrit
I have an unorderd list with many items, like this: div class=itemContent ul li class=9 id=2053item 9/li li class=19 id=2044item 19/li /ul /div I want to

[jQuery] Opening a Shadowbox onload?

2008-02-15 Thread [EMAIL PROTECTED]
Does anyone know how to open a shadowbox onload, whithout having to click a link?

[jQuery] Re: a small accessibility rant

2008-02-15 Thread Benjamin Sterling
I totally agree and this was part of the discussion my team had with them. If lowsrc was still supported this may not be a problem, but I am sure their are alternatives. On 2/14/08, Rick Faircloth [EMAIL PROTECTED] wrote: Interesting… I've never thought of specifying image size in em's.

[jQuery] Re: on form submission, how to decide on submit: return true / false

2008-02-15 Thread freech
Hi Andrea, Thank you, you got my flow right and the explanation is very clear, so I should put all the actions rely on those data into the callback function of $.post. for e.g. $.post('check.php', {username: $('#username').val(),password: $ ('#password').val()},

[jQuery] Re: a small accessibility rant

2008-02-15 Thread Gordon
I'm sorry, but your attitude sucks. As a) a jQuery developer and b) a person with serious eyesight problems I always take great care to ensure code I develop doesn't impose accessibility issues. It really isn't that hard and your callous attitude towards doing work that's not only politically

[jQuery] Problem attaching click event to links

2008-02-15 Thread nerohc
Hi, first, i'm sory this problem is probably solved in somewhere in the net, but i don't have much time. Mi problem is this: I have links that it's href is only the hash( href=#id=123). i need to do that because i need a direct acces to some artcles, etc. But when i attach the event click to the

[jQuery] [validate] Determining form state without displaying error messages

2008-02-15 Thread kapowaz
I'm trying to write a custom view for a form which allows the condition of the form to be represented independently of error messages, by updating the class on another element accordingly whenever the form is changed. So, I have the following code: $('#myform').change(function() { switch

[jQuery] Re: what editor do you use?

2008-02-15 Thread NccWarp9
For me its PHPdesigner It has one of the best syntax highlighter that I have seen. If I work with Javascript inside PHP and HTML code it highlights only javascript and it feels as you are writing only JS without the distraction of other markup and code. If you go to PHP part of the code it grays

[jQuery] put the value back in the input (Beginner)

2008-02-15 Thread tlob
Hello I managed to do sucessfully: $(document).ready(function(){ $(#schnellsuche input).focus(function () { $(this).val(); }); }); form action= id=schnellsuche input class=text type=text value=Schnellsuche / /form I'm so proud of me ;-) now I want the

[jQuery] Re: on form submission, how to decide on submit: return true / false

2008-02-15 Thread andrea varnier
On 15 Feb, 06:20, freech [EMAIL PROTECTED] wrote: 1. I handle the check.php file like: ?php if (!isset($_POST['username'])) echo please input a username; ... if $username already exists, echo the name you try to register is already taken; I think you could insert in your document a div with

[jQuery] Re: a small accessibility rant

2008-02-15 Thread [EMAIL PROTECTED]
I like the idea of proportional images. My friend uses IE7, which does attempt to 'inflate' the whole screen. It makes the images look a bit rubbish, but it's better than missing them altogether! Thanks for passing this on, I'll experiment with em-sized images. It'll make setting the gap widths

[jQuery] Re: put the value back in the input (Beginner)

2008-02-15 Thread tlob
works like a charm! but I dont get it... -blur is the opposite of focus, right? -why do you chain it after the focus? -with [0].defaultValue you restore the first value that was stored in an array? -does JS store every changed value of every element in an array? thx a lot! On Feb 15, 3:32 pm,

[jQuery] Re: What's wrong with this conditional?

2008-02-15 Thread [EMAIL PROTECTED]
OMG, I'm an idiot. THANK YOU, Richard!!! :)) On Feb 14, 7:50 pm, Richard D. Worth [EMAIL PROTECTED] wrote: The first part of the ternary is going to evaluate as a boolean (true or false). What you've actually got in there is a jQuery object with a load function, which exists (notice, you're

[jQuery] Re: put the value back in the input (Beginner)

2008-02-15 Thread Michael Price
tlob wrote: works like a charm! Excellent :) but I dont get it... -blur is the opposite of focus, right? Yep - focus is triggered when the user tabs or clicks into the input - blur is triggered when they tab or click out of it so it's no longer the active element. -why do you chain

[jQuery] OT: TinyMCE help

2008-02-15 Thread Gordon
I know this is OT but I couldn't find muchuseful on the TinyMCE home page and there doesn't seem to be a support forum at all. I'm building a CMS and am using jQuery and TinyMCE together for the user interface. I wanted to have an image picker, where you just pick an image from the list of

[jQuery] Event handlers stacking using JQuery

2008-02-15 Thread howa
Currently document ready call at different place can be stacked together and call at once. How about normal events, e.g. window.onload (i.e. runonload.js is quite handy in this area, http://safari.oreilly.com/0596101996/jscript5-CHP-17-SECT-6) Besides, event such as mouse clicks, can we stack

[jQuery] Re: put the value back in the input (Beginner)

2008-02-15 Thread Cloudream
$('#ANinputID').attr('defaultValue') works in my IE :) On Feb 15, 11:09 pm, Michael Price [EMAIL PROTECTED] wrote: tlob wrote: works like a charm! Excellent :) but I dont get it... -blur is the opposite of focus, right? Yep - focus is triggered when the user tabs or clicks into the

[jQuery] Re: Best plugin for modal dialogs

2008-02-15 Thread Richard D. Worth
Also, it has options for different buttons. You simply provide the name of each button and a click callback. See demo: http://ui.jquery.com/1.5a/demos/dialog.html - Richard On Fri, Feb 15, 2008 at 9:28 AM, Scott González [EMAIL PROTECTED] wrote: The Dialog plugin from jQuery UI now supports

[jQuery] Re: Problem attaching click event to links

2008-02-15 Thread Jamie
Maybe I'm missing something, but I don't see any a tags in your example doc.. On Feb 15, 7:05 am, nerohc [EMAIL PROTECTED] wrote: Hi, first, i'm sory this problem is probably solved in somewhere in the net, but i don't have much time. Mi problem is this: I have links that it's href is only

[jQuery] FadeOut and IE 6

2008-02-15 Thread George
I'm attempting to write a new type of interactive widget and have run into a problem. This widget uses various backgrounds for the different states within it and when a user changes from one state to another, the requested interaction should be to fade out the existing background while the new

[jQuery] Re: OT: TinyMCE help

2008-02-15 Thread Diego A.
I don't have any TinyMCE experience, but I do have FCKEditor experience and it offers MANY image selection, upload and manipulation plugins... www.fckeditor.net On Feb 15, 3:34 pm, Gordon [EMAIL PROTECTED] wrote: I know this is OT but I couldn't find muchuseful on the TinyMCE home page and

[jQuery] Re: Dynamic Variables

2008-02-15 Thread rsmolkin
Thanks everyone for great suggestions. I compbined some of these with some coldfusion to really condence down the code. -Roman On Feb 11, 7:32 pm, Karl Swedberg [EMAIL PROTECTED] wrote: Hi there, You could do something like this: $(':checkbox').click(

[jQuery] Re: animation question

2008-02-15 Thread spaceage
One more thing on this--I was thinking about how to make this code less brittle as far as the handling of the spacing. Since the lis in my list contain browser text, the height/spacing of the li can vary depending on a bunch of factors (ie. font size, line-height, etc). Is there a way to have

[jQuery] Re: Code works in Safari ONLY

2008-02-15 Thread LeonL
I wish I new that yesterday.. :confused: Thanks. Leonardo K wrote: There is a plugin that does what u want. http://www.ndoherty.com/demos/coda-slider/1.1.1/ -- View this message in context: http://www.nabble.com/Code-works-in-Safari-ONLY-tp15489385s27240p15502122.html Sent from

[jQuery] Re[jQuery] moving dynamically added elements

2008-02-15 Thread meeboo
Hey all How can I when dynamically adding a new element also bind a click event to another element which removes it? //Here's what I have so far, redundant code is omitted $.fn.addElement = function(options) { //Redundant code omitted this.prepend($elementToAdd); //dynamically create

[jQuery] Re: a small accessibility rant

2008-02-15 Thread Karl Swedberg
In his CSS Mastery book, Andy Budd explains how to create liquid images with a percentage width and a max-width. Something like this: img.liquid { width: 25%; max-width: 300px; float: left; padding: 2%; } This way you can set the img width to be a certain

[jQuery] Suggestions for the validation plugin

2008-02-15 Thread Diego A.
Hi Jorn, (hoping that you will get this) firstly, I'd like to suggest a simple change to the validation plugin that might save everyone a bit of time. Line 413 of the current release goes: 413 var result = jQuery.validator.methods[rule.method].call(... ...which throws an error when you haven't

[jQuery] Re: tabs: possible to save a form when switching tabs?

2008-02-15 Thread [EMAIL PROTECTED]
Yes, the idea of saving the selected tab in a variable will do nicely. Just for posterity, I wanted to include that the line var selected = $tabs.data('selected.ui-tabs'); is causing a JS error, $tabs is not defined. Thanks, - Dave On Feb 15, 1:24 am, Klaus Hartl [EMAIL PROTECTED] wrote: On

[jQuery] Re: searching for an element with particular value

2008-02-15 Thread Jamie
Hey, This should work: myDiv.find(input:hidden[name^='file'][value=' + myVar + ']); - Jamie Goodfellow On Feb 14, 6:33 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, How do I search the DIV, myDiv for a hidden input field whose name begins with the word file and whose value is equal

[jQuery] Quick way to package form elements?

2008-02-15 Thread [EMAIL PROTECTED]
Hi, What's the quickest way you know of to gather parameters and values in a form and put them into a string param1=value1param2=value2 ... and so on. Not sure if this affects the question, but I have radio buttons and checkboxes in my form. Thanks for any insights, - Dave

[jQuery] Re: tabs: possible to save a form when switching tabs?

2008-02-15 Thread Klaus Hartl
On Feb 15, 5:34 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Yes, the idea of saving the selected tab in a variable will do nicely. Just for posterity, I wanted to include that the line var selected = $tabs.data('selected.ui-tabs'); is causing a JS error, $tabs is not defined. Thanks,

[jQuery] Re: Best plugin for modal dialogs

2008-02-15 Thread Richard D. Worth
jQuery UI is quite modular. If you want only the dialog plugin, you only need to include a couple of files: dimensions UI draggable UI resizable UI dialog If you want to get even slimmer and aren't interested in your dialog being draggable or resizable, you can leave either/both of those out

[jQuery] Re: Best plugin for modal dialogs

2008-02-15 Thread Nazgulled
About jQuery UI, I haven't read much about the upcoming 1.5 version but I don't think that their modal dialogs version will be powerful enough to compete with the current plugins available. And besides, I'll have to use a huge library (the whole UI) to just use one feature from it... Or maybe I'm

[jQuery] Re: Best plugin for modal dialogs

2008-02-15 Thread Nazgulled
Your plugin looks cool and very simple... I'll have to take a deeper look though and read the whole documentation to see if it fits my needs (is configurable wnough for what I want to do). One question though... I don't if nay of the modal dialog plugins has this but: Let's say the user is using

[jQuery] Re: Best plugin for modal dialogs

2008-02-15 Thread Eric Martin
Nazgulled, Which one is best kind of questions, usually lead to: it depends. It depends on what you want to use the dialog for and what your requirements are. Back in Nov 2007, I was evaluating modal dialogs for a project I was working on. For various reasons, I ended up writing my own modal

[jQuery] Re: Plugin updated: FCKEditor, Codepress, Multiple File Upload Star Rating

2008-02-15 Thread Diego A.
LOL, I was going to say comnig from you, but I don't know where you went... I should hopefully have sometime to work on the star rating plugin next week... I'll post developments On Jan 14, 10:06 pm, Karl Swedberg [EMAIL PROTECTED] wrote: On Jan 14, 2008, at 4:48 PM, Diego A. wrote: Thanks

[jQuery] Re: a small accessibility rant

2008-02-15 Thread Rick Faircloth
Gordon... How do you propose I handle making my site accessible to those who are blind and deaf? Should all developers be required to code sites that can be printed in Braille by specially designed million dollar systems? The Internet, even as many forms of media as it employs, simply cannot

[jQuery] Re: put the value back in the input (Beginner)

2008-02-15 Thread Jamie
Hey, I extended your example code to add a blur function. You can add an if statement in the blur function if you need to restore the default only in certain cases (like only if $(this).val() == ) $(document).ready(function(){ $(#schnellsuche input) .focus(function () {

[jQuery] Re: a small accessibility rant

2008-02-15 Thread Rick Faircloth
Wouldn't you still be limited to two sizes of image in your scenario? We're not talking about a vector-graphic-type scaling, right? It's a step in the right direction, however. We need some kind of auto-scaling image format. JPEG2000, perhaps? I've never worked with them, but I believe

[jQuery] Re: a small accessibility rant

2008-02-15 Thread Jeffrey Kretz
Gordon, I completely understand your frustration. As a suggestion, I think it's more important to sway people into realizing the importance of accessibility rather than trying to make them wrong for not doing it. JK -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL

[jQuery] Re: [validate] Determining form state without displaying error messages

2008-02-15 Thread Jörn Zaefferer
kapowaz schrieb: So, suggestions? Is this something the Validation plugin supports already? Or will it need to be modified to support it? See http://dev.jquery.com/ticket/2215 and the discussion linked there. Jörn

[jQuery] Help making this code snippet smaller...

2008-02-15 Thread Nazgulled
Hi, I have this code that animates links when you move the mouse over/out using the hover() but the thing is: the page does not have always the same link colors. For instance, some parts of the webpage has links that have color A and B (a:link and a:hover respectively) some other parts have links

[jQuery] Re: Suggestions for the validation plugin

2008-02-15 Thread Jörn Zaefferer
Diego A. schrieb: What do you think? Could you file tickets for those? Just put [validate] into the title, label it as an enhancement and assign it to joern. Thanks! Jörn

[jQuery] Re: (validate) only text rule ??

2008-02-15 Thread Jörn Zaefferer
fab schrieb: Hi, I would like to have a onlytext rule, that is to say no special chars as ' / ; : `$ etc... Or maybe im wrong and it is already done ?? Please excuse my english.. Thanks and kiu :D A custom method should help in this case, together with a regular

[jQuery] Re: [validation] Validating a form with a radio and checkbox buttons - strange behavior

2008-02-15 Thread Jörn Zaefferer
serge.cp schrieb: Hi! One of test from demos named Validating a form with a radio and checkbox buttons behave strange from my point of view. Checkboxes group Spam Spam via E-Mail Spam via Phone Spam via Mail show error message Please select at least two types of spam., if none or only one

[jQuery] How to dynamically load jQuery plugins?

2008-02-15 Thread Nazgulled
Hi, I make good use of various jQuery plugins that are available, however, I don't like the idea of having the head tag of the page filled with script tags for all the plugins I use. Is there way to load jQuery plugins dynamically at run time? Basically, I just want to add 2 script tags to the

[jQuery] Re: [validate] Validation AlphaNumeric?

2008-02-15 Thread Jörn Zaefferer
Yuval schrieb: Hey Jörn, I was wondering if you could add a method in the jquery validation plugin to restrict textboxes to only certain types of characters. For example: a name field cannot contain any numbers, so if it does, throw an error. Another example: last four digits of SS number:

[jQuery] Re: Help making this code snippet smaller...

2008-02-15 Thread Ariel Flesler
function enableFadingLinks() { var linkColors = getColorsFromCSS('links'); if ( !linkColors) return; $('#cpblock-links a').css('color', linkColors[0] ).hover( function(){ $(this).stop().animate({ color: linkColors[1] }, 150); },

[jQuery] Re: Help making this code snippet smaller...

2008-02-15 Thread Ariel Flesler
Also you could add something like: function getFn( color ){ return function(){ $(this).stop().animate({ color:linkColors[color] },150}; }; }; And then: $('#cpblock-links a').css('color', linkColors[0] ).hover( getFn(1), getFn(0) ); Ariel Flesler On 15 feb, 16:32, Ariel Flesler

[jQuery] Re: Re[jQuery] moving dynamically added elements

2008-02-15 Thread Jamie
Hey, This might work for you.. Your div to add would need an ID. If it doesn't have one, perhaps make a way of generating one: $.fn.addElement = function(options) { //Redundant code omitted var removeId = $elementToAdd.attr('id'); this.prepend($elementToAdd); //dynamically

[jQuery] hover + animation problem

2008-02-15 Thread HaTRuM
I have two images operating as buttons with the hoverIntent event and I want to do a fadeOut - src (image attribute) change - and fadeIn with another three images at the same time. These two buttons are together and when I change from one to the other, images don't change or do wrong things. If

[jQuery] Re: How to dynamically load jQuery plugins?

2008-02-15 Thread Jamie
Hey, I do something similar, I move all my includes to my page JS file. I also have a common JS file that all pages include (each page includes the jQuery.js file, my global.js file, and the page's js file in the head). In my global.js, I have the following function: function includeJs(file) {

[jQuery] Re: Quick way to package form elements?

2008-02-15 Thread Jamie
There's a serialize method: $(#yourForm).serialize(); - Jamie Goodfellow On Feb 15, 11:58 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, What's the quickest way you know of to gather parameters and values in a form and put them into a string param1=value1param2=value2 ... and so

[jQuery] Re: Best plugin for modal dialogs

2008-02-15 Thread Eric Martin
If you have a copy of IE6 - take a look at the demos and tests (if not, you could install a href=http://tredosoft.com/ Multiple_IEMultiple IE/a). If you are referring to the opacity of the overlay, that does work in IE6 (through the powers of jQuery). If you are asking about something else, let

[jQuery] Re: Best plugin for modal dialogs

2008-02-15 Thread Nazgulled
I'll have to test that later... I don't have the time right now as I have to study for an exam I'm having Monday which is very important. I'll report back whenever I get the change to install Multiple IE on Virtual XP machine (I'm running Vista and Multiple IE seems to have problems with Vista).

[jQuery] Re: Help making this code snippet smaller...

2008-02-15 Thread Nazgulled
I was looking for something more like this and not like your previous post (remove comments, line-breaks, I know how to do that lol...) On Feb 15, 6:36 pm, Ariel Flesler [EMAIL PROTECTED] wrote: Also you could add something like: function getFn( color ){ return function(){

[jQuery] Re: ajax form plugin question

2008-02-15 Thread Shelane Enos
I would not have been able to post the page since it¹s an internal app. However, I commented out the $('#docform').ajaxForm(); When it submitted the form as normal, I was able to see what the server was returning and there was an error in the JSON. That is now fixed and I¹m working on the next

[jQuery] Re: How to dynamically load jQuery plugins?

2008-02-15 Thread Nazgulled
I thought I had done that (some time ago) and just recently it stopped working. Does that code works cross-browser and cross-os? At least the most common ones... On Feb 15, 5:49 pm, Jamie [EMAIL PROTECTED] wrote: Hey, I do something similar, I move all my includes to my page JS file. I also

[jQuery] ajax form plugin question

2008-02-15 Thread Shelane
When a form is submitted - specifically with a file upload - with the ajax form plugin, firebug doesn't show a submission, nor any return. This is making it difficult to debug, hince the question. I know that my files are being uploaded, but the success function doesn't seem to be running:

[jQuery] Re: ajax form plugin question

2008-02-15 Thread Shelane Enos
The form submits when I click the submit button on the form. But the addDoc function doesn't fire. Not even when I simply reduced it to alert('hello world). What I don't know is what data is coming back from the server and if there's a problem. If there is no problem from the server, why

[jQuery] Re: creating modal layer on the fly?

2008-02-15 Thread Richard D. Worth
Try placing your overlay second to last, and the content last in the body. - Richard On Fri, Feb 15, 2008 at 1:06 PM, alivemedia [EMAIL PROTECTED] wrote: I am trying to write my own little modal popup script and it's working fine in FF but not in IE7. In IE7 the modal layer shows up on top

[jQuery] Re: plugin creation question

2008-02-15 Thread Alexandre Plennevaux
Hi Joel, i followed your advise which is helpful, but still, i get the same error. i don't get it... On Feb 14, 2008 6:24 AM, Joel Birch [EMAIL PROTECTED] wrote: Hi Alexandre, I didn't really look too closely at your code but this might help anyway. Try removing the brackets from the bit

[jQuery] Re: controlling li-items with unique IDs and trigger corresponding DIVs

2008-02-15 Thread schnuck
thanks, klaus and jannik, for your replies. sorry for getting back so late. both suggestions don't work for me at the moment, but i will try a bit harder this weekend and see if it's just me or well.. just me :) thanks again for your help.

[jQuery] Re: fastest way to load both jquery thickbox

2008-02-15 Thread polyrhythmic
Hi Ben, no problem. On Feb 14, 2:39 pm, ben [EMAIL PROTECTED] wrote: Am i supposed to have more the just the minify.php file in my root folder? Yes, you need the 'lib' directory with JSMin.php. See: http://code.google.com/p/minify/wiki/UserGuide I'm not familiar with the output buffer

[jQuery] Re: ajax form plugin question

2008-02-15 Thread Mike Alsup
Shelane, Since it is not possible to upload files via ajax the form plugin manages the process with a hidden iframe technique. So you won't see the get/post trace in Firebug's console. However, callbacks *should* be called as expected. Can you post a link to the page in question? Josh,

[jQuery] Re: syntax question

2008-02-15 Thread Mike Alsup
Hi Alex, Sorry for the short response earlier. Functions have 'apply' and 'call' methods which you can use to control the value of 'this' when the function executes. So in my example, I invoke onIni by calling its apply method, and I pass it 'this' which at the time is a DOM element, so when

[jQuery] Jquery and function(json)

2008-02-15 Thread FrEaKmAn
Hello, so today I started with jquery and wow :D I have one question regarding json. I found this topic (I'm sorry if linking isn't allowed) http://www.designerstalk.com/forums/programming/29651-jquery-ajax-question.html I want something similar: ... success: function(json){ if(

[jQuery] Selecting Parent

2008-02-15 Thread Steve Davis
i have a table of linkedthumbnailed images like this... a href=top_shelf.html title=Top Shelf Cocktail Bar rel=top_shelf.html class=cluetipimg src=images/beverages.jpg width=150 //a i want to dynamically add a text description below each image using the title attribute from the image's parent

[jQuery] Re: syntax question

2008-02-15 Thread Mike Alsup
Alexandre, This is untested, but I think it's closer to what you're looking for: $.fn.myplugin= function(options,callback) { return this.each(function(index) { this.uniq = 'iAmNumber_' + index; options.onIni.apply(this); }); } On Fri, Feb 15, 2008 at 4:00 PM,

[jQuery] Re: ajax form plugin question

2008-02-15 Thread Josh Nathanson
I think you need to use the ajaxSubmit method rather than (or in addition to) the ajaxForm method. ajaxForm just preps the form AFAIK. -- Josh - Original Message - From: Shelane [EMAIL PROTECTED] To: jQuery (English) jquery-en@googlegroups.com Sent: Friday, February 15, 2008 11:17

[jQuery] Re: a small accessibility rant

2008-02-15 Thread Chris
On Feb 15, 11:46 am, Rick Faircloth [EMAIL PROTECTED] wrote: The Internet, even as many forms of media as it employs, simply cannot be for everyone, as the radio cannot accommodate the deaf and TV cannot accommodate the blind. The problem is that because it is at its base a stream of text,

[jQuery] Re: Jquery and function(json)

2008-02-15 Thread Jake McGraw
What are you using to encode your json server side? If you have PHP 5.2 and above, I'd suggest json_encode, which takes a PHP array and converts it into json. To output a 1, you should be able to do the following: echo json_encode(array(error=1)); - jake On Fri, Feb 15, 2008 at 3:48 PM,

[jQuery] Re: searching for an element with particular value

2008-02-15 Thread [EMAIL PROTECTED]
Thanks for trying, but this didn't work either. I think there's a problem with the expression [name^='file'] because if I do this $(#myDiv input:hidden).each(function(index) { alert($(this).attr(name)); }); My

[jQuery] syntax question

2008-02-15 Thread Alexandre Plennevaux
hey mates, I didn't find an answer to my week-old question so i'll rephrase to simplify and focus on just the little bit of knowledge i need from you guys: say i want to create a function that performs some jquery methods on an element. function doThis(){ $(this).text('i've been

[jQuery] Re: hover + animation problem

2008-02-15 Thread Alexandre Plennevaux
404 page not found On Feb 15, 2008 7:32 PM, HaTRuM [EMAIL PROTECTED] wrote: I have two images operating as buttons with the hoverIntent event and I want to do a fadeOut - src (image attribute) change - and fadeIn with another three images at the same time. These two buttons are together

[jQuery] creating modal layer on the fly?

2008-02-15 Thread alivemedia
I am trying to write my own little modal popup script and it's working fine in FF but not in IE7. In IE7 the modal layer shows up on top of the content I want displayed even though I believe I have the Z- Indexes set properly. Anyone run into this an know how to overcome it? I know there are

[jQuery] [validate] Validation AlphaNumeric?

2008-02-15 Thread Yuval
Hey Jörn, I was wondering if you could add a method in the jquery validation plugin to restrict textboxes to only certain types of characters. For example: a name field cannot contain any numbers, so if it does, throw an error. Another example: last four digits of SS number: cannot contain

[jQuery] Re: syntax question

2008-02-15 Thread Alexandre Plennevaux
Well, it's now tested, and it works!! I'm very sorry for this probably stupid question, i'm learning javascript from scratches. Could you explain or point me to the theory behind this? thank you so much alex On Feb 15, 10:14 pm, Mike Alsup [EMAIL PROTECTED] wrote: Alexandre, This is

[jQuery] Re: syntax question

2008-02-15 Thread Alexandre Plennevaux
it does help.and i'll immediatly google up michael geary :) on a side note, i'm thinking about migrating to New Zealand. I read on your blog you spent 2 years there. How was it like? Did you enjoy it? Pros and cons ? feel free to use my email alexandre(AT)lab-au.com... thank you again ! On Feb

[jQuery] Re: How to dynamically load jQuery plugins?

2008-02-15 Thread Iair Salem
I'm not sure, but in some safari versions (maybe v2.0) you have to wait some time before using the code included, because it could not be completely loaded yet. does someone have any better way to acomplish that in a cross-browser fashion? Iair. On Feb 15, 3:49 pm, Jamie [EMAIL PROTECTED]

[jQuery] Re: Choosing an Autocompletion solution

2008-02-15 Thread Jörn Zaefferer
timothytoe schrieb: I'll try Jörn's. The only thing that gave me pause on that one was the number of dependencies. Thats actually not that bad as it looks. The part of dimensions that is actually used - I'd have to actually check it again, so take this with a grain of salt - is now part of

[jQuery] Re: a small accessibility rant

2008-02-15 Thread Chris
On Feb 14, 11:31 pm, Rick Faircloth [EMAIL PROTECTED] wrote: I've never thought of specifying image size in em's. The problem of image degradation would still be an issue, I'm sure, since an image may be specified for display in em's in a browser, but would still start its life in pixels

[jQuery] Re: if (! someThing.fired ) {

2008-02-15 Thread Josh Nathanson
It looks like he is using 'fired' as a property, it's not native to javascript. It's just a way of indicating that an event has occurred. -- Josh - Original Message - From: [EMAIL PROTECTED] To: jQuery (English) jquery-en@googlegroups.com Sent: Friday, February 15, 2008 12:35 PM

[jQuery] tabs: replacing the content without switching the selected tab

2008-02-15 Thread [EMAIL PROTECTED]
Hi, Let's say I have these tabs and code that makes them so ... script type=text/javascript $(function() { var tabSelected = $('#tabcontent ul').tabs() }); /script div id=tabcontent ul lia href=doc_properties.php

[jQuery] Re: [validate] Validation AlphaNumeric?

2008-02-15 Thread Yuval
Awesome! Thanks On Feb 15, 12:50 pm, Jörn Zaefferer [EMAIL PROTECTED] wrote: Yuval schrieb: Hey Jörn, I was wondering if you could add a method in the jquery validation plugin to restrict textboxes to only certain types of characters. For example: a name field cannot contain any numbers,

[jQuery] Re: if (! someThing.fired ) {

2008-02-15 Thread [EMAIL PROTECTED]
Hi, Jorn It appears in Andrea Ercolino's Window Resize plugin. The snippet is: $.fn.wresize = function( f ) { version = '1.1'; wresize = {fired: false, width: 0}; function resizeOnce() { if (

[jQuery] Re: Best plugin for modal dialogs

2008-02-15 Thread Nazgulled
I just tested it under I6 on XP and it worked fine... The problem I was thinking it would exist, it doesn't... That's cool. Now, I only have to tset your plugin in real live examples on my project to see if it really fits my needs. That will take some time though, but thanks... On Feb 15, 12:06 

  1   2   >