[jQuery] Re: jQuery 1.1.2 Released: Happy 2nd Birthday!

2008-01-14 Thread Alexandre Plennevaux
YEEH H4PPY B1RTH4Y JQUERY ! I'M FLAT BROKE BUT STILL, TODAY IS DONATION DAY ! -- Original Message -- To: Jquery-en (jquery-en@googlegroups.com) From: John Resig ([EMAIL PROTECTED]) Subject: [jQuery] jQuery 1.1.2 Released: Happy 2nd Birthday! Date: 15/1/2008 7:05:05

[jQuery] Re: jQuery 1.1.2 Released: Happy 2nd Birthday!

2008-01-14 Thread Stefan Petre
Happy Birthday jQuery and congrats to dev team. 2008/1/15, Joel Birch <[EMAIL PROTECTED]>: > > > Waahh, happy birthday jQuery! My, how you have matured! > > Huge thanks to John, Brandon, David (a warm welcome to you), and all > the other cool dudes in the jQuery team. > > Respect and admiratio

[jQuery] Re: jQuery 1.1.2 Released: Happy 2nd Birthday!

2008-01-14 Thread Erik Beeson
I thought I was having a flashback as I swear I remembered 1.1.2 being released a while ago: http://jquery.com/blog/2007/02/27/jquery-112/ Ahh, a typo I see. At least it's right in the blog. Congrats! Keep up the awesome work. --Erik On 1/14/08, John Resig <[EMAIL PROTECTED]> wrote: > > > On t

[jQuery] Re: jQuery 1.1.2 Released: Happy 2nd Birthday!

2008-01-14 Thread Joel Birch
Waahh, happy birthday jQuery! My, how you have matured! Huge thanks to John, Brandon, David (a warm welcome to you), and all the other cool dudes in the jQuery team. Respect and admiration. Joel Birch.

[jQuery] jQuery 1.1.2 Released: Happy 2nd Birthday!

2008-01-14 Thread John Resig
On the 2nd birthday of jQuery we're happy to bring you a new release of jQuery! Here's the announcement: http://jquery.com/blog/2008/01/15/jquery-122-2nd-birthday-present/ and here's the release notes: http://docs.jquery.com/Release:jQuery_1.2.2 Enjoy - and here's looking forward to another yea

[jQuery] Page won't process with mouse in browser window

2008-01-14 Thread steve love
Can anyone think of any reason why a page would completely stop while the mouse is in the browser window, but continue once you move the mouse off the page? As if I had to tell you, this is happening with IE 6. I'm working on a project with a couple other coders, so we're not exactly sure where o

[jQuery] Re: How to create Terms of Service-type message?

2008-01-14 Thread Glen Lipka
Server side is probably safest. To make it interesting to look at try the BlockUI modal. http://www.malsup.com/jquery/block/# Cookie stuff you might find this helpful, http://www.stilbuero.de/2006/09/17/cookie-plugin-for-jquery/ Glen On Jan 14, 2008 12:04 PM, Robert Vidrine <[EMAIL PROTECTED]>

[jQuery] Re: "translating" to jquery

2008-01-14 Thread Glen Lipka
I believe so. The way it's described in the docs is: $("p").unload( function() { alert("Hello"); } ); So I think you are in good shape. Glen On Jan 14, 2008 8:35 AM, marcus <[EMAIL PROTECTED]> wrote: > > hi. > > i have a little question... im not quite sure, because i don't know > how to find

[jQuery] [Update] Announce: jQuery Expander Plugin

2008-01-14 Thread Karl Swedberg
Just a quick note to let you all know that I managed to get the plugin working with nested tags. See it in action in the first example on the demo page. http://plugins.learningjquery.com/expander/demo.html The code is still kind of sloppy; I just wanted to get it to work. I'll revisit it

[jQuery] How to make impromptu popup to popup at the top of the window everytime?

2008-01-14 Thread jqueryfan
All, would appriciate a hint/pointer to do this for jquery impromptu plug-in if it is possible. I am not able to find an option on the plug- in for this. -JQF

[jQuery] Is it possible to collect non-static members in jQuery plugin?

2008-01-14 Thread Evan Moran
Hi all, I'm looking for a way to collect non-static functions under one plugin name, because the non-static members cannot access the "this" value. This is how I would collect static functions in a plugin: $.myplugin= { branch : { sub1: function(){.

[jQuery] instant edit

2008-01-14 Thread Lionel Martelly
hi, Why is the instant edit not editing please? When I click on it it allows me to edit but the text does not update at all. Thanks ---$(function() { $(".click").editable("save.php?do=instant", { id: "head_42

[jQuery] Re: a way to convert jquery object to text for dom injection

2008-01-14 Thread Equand
thanx, i just appended it On Jan 14, 9:32 am, George <[EMAIL PROTECTED]> wrote: > Clone does indeed make a copy of the element(s) but it returns them as > a jQuery array just like most of the other jQuery methods. If it is > the html you want then you counld try something like var hex = $ > ("")

[jQuery] Re: how can a text field be hidden based on condition

2008-01-14 Thread Benjamin Sterling
Something like below should work: if($('select[name=myDropdown] :selected').val() == 'my value'){ $('input[name=inputToBeHidden]').hide(); } On 1/14/08, Bhaarat Sharma <[EMAIL PROTECTED]> wrote: > > > Hello, > > I'm a little new to jQuery. > > Is it possible to hide/disable a text field based on

[jQuery] how can a text field be hidden based on condition

2008-01-14 Thread Bhaarat Sharma
Hello, I'm a little new to jQuery. Is it possible to hide/disable a text field based on a certain value in a drop down box on the same page?? I'd appreciate if someone could either show me a similar example or guide a little. Thanks

[jQuery] Validation Plugin - using required inside of addMethod

2008-01-14 Thread Tristan
Hi, I'm trying to create a new custom validation method similar to the other methods included in 'additional-methods.js'. I've created my method like this: jQuery.validator.addMethod('dateAfter', function(value, element, param) { var dVal = new Date(); var dParam = new Date();

[jQuery] Re: Checking whether a jquery function exists

2008-01-14 Thread Shawn
Can't you just do something like: if ($.fn.datepicker) { //do date picker stuff } (disclaimer - I haven't tried this yet) Shawn Bohdan Ganicky wrote: > > Hi Dan, > > try the http://docs.jquery.com/Utilities/jQuery.isFunction#obj > jQuery.isFunction(); . > > -- > Bohdan Ganicky > > > D

[jQuery] Re: Autocomplete does not trigger onchange javascript code in input element.

2008-01-14 Thread Mark Thompson
Thanks, but that is completely over my head at this point. I am not even perfectly clear on what "X = $(this)" means or why "var x = this" is needed here. Mark Thompson On Jan 14, 1:56 pm, "Diego A." <[EMAIL PROTECTED]> wrote: > I work around the same issues with several other plugins as well...

[jQuery] Re: AJAX and javascript?

2008-01-14 Thread Shawn
what are you returning from your called page? HTML? JSON? If JSON, there's a possibility your JSON is not quite right. I was running into issues where I would get a 200 (OK) status back from the call, but would still trigger the onError handler. It's subtle little things that did it for me.

[jQuery] jmaps - callback function problem

2008-01-14 Thread Duncan
I am trying to make use of the jMaps plugin http://digitalspaghetti.me.uk/2007/11/20/jmap2-beta-release-out to retrieve the lat and long of an address so I can put it into a form element. So far I have the following code, I can stop the plugin putting the pointer on the map (by adding addMarker:fa

[jQuery] Re: Sorting with each()

2008-01-14 Thread Erik Beeson
I seem to be the only person to care about sort in jQuery. This ticket has a sort function that worked with 1.1, though I'm not sure if it still does. Make sure to scroll down to the bottom for the most recent version: http://dev.jquery.com/ticket/255 For example, to sort the children of an eleme

[jQuery] [ANNOUNCE] jQuery.tabindex plugin

2008-01-14 Thread Colin Clark
Hi everyone, Recently I've been working on a plugin for jQuery that will make adding keyboard accessibility to your user interfaces a lot easier. In the process of working on this, I ran into a number of inconsistencies in the way that browsers handle the tabindex attribute. Getting, setting, and

[jQuery] Sorting with each()

2008-01-14 Thread monster79
Hi all, I'm looking for an elegant method to sort elements returned from find() or an each() callback. Currently I'm dumping the elements' text into a Javascript array with push(), then sorting the array with .sort() and printing the results with a for() loop. This works well, but it doesn't seem

[jQuery] Delaying animation effects

2008-01-14 Thread Chris Trygstad
I'm so close to getting this effect, but I just can't get there! I have an unordered list for a navigation menu, withe li's id'd with titles such as "infrastructure". I'm trying to get an effect where I rollover the li with the id of "infrastructure", and the div with the class "infrastructure" f

[jQuery] Re: Sorting with each()

2008-01-14 Thread Karl Rudd
Try this bit of code that was posted by someone else a while back: jQuery.fn.sort = function() { return this.pushStack( jQuery.makeArray( [].sort.apply( this, arguments ) ) ); }; You can then do something like: jqueryObject.sort( function( a, b ) { return a - b; }); Karl Rudd

[jQuery] Can you use jQuery within the MS JScript.VSA framework?

2008-01-14 Thread MikeM
I working on a program which reads in scripts, and uses the MS JScript.Vsa classes to execute those scripts. I would like to use jQuery within those scripts, for its powerful XML-parsing capabilities. However, when I include the contents of jquery-1.2.1.js, and attempt to execute it using the Mi

[jQuery] Re: jScrollPane not working in IE6, but works in Internet Explorer 7 and Firefox

2008-01-14 Thread nic
I figured out the problem. The containing element didn't have overflow: auto, without this set it doesn't work in IE6.

[jQuery] Re: How can I add HTML tag from jQuery?

2008-01-14 Thread [EMAIL PROTECTED]
I don't know if there is any other way, this is not too elegant: $(".data").each(function() { var htmlstr = $(this).html(); $(this).html('' + htmlstr + ''); }); On Jan 4, 12:43 pm, "jQuery(new).to(me)" <[EMAIL PROTECTED]> wrote: > Hi, > > Please give me an idea how to do this: > I want t

[jQuery] progressive enhancement link href hurdle

2008-01-14 Thread toadeny
Hi All, I want to use a whole bunch of jQuery functionality on a website and still have it accessible in its current form. I believe the term for such a process is 'progressive enhancement' Correct me if I'm wrong but I understand about adding enhancements to an existing webapp is that: 1) There

[jQuery] AJAX and javascript?

2008-01-14 Thread hotsauce
Has anyone ever had incompatibility when getting an external file via the simple function function loadContent(id) { $("#ajaxContent").load("externalFile.aspx?program="+id+""); } The external file I'm getting uses the contains multiple Cases which functio

[jQuery] jTagEditor Custom Callback

2008-01-14 Thread bennybobw
I'm trying to extend jTagEditor to add a image dialog with more fields (source, title, height, width, etc.). The only problem is that I don't know how to access any of the jTagEditor functions/properties from within my callback function so that I can insert my string into the textarea when my dial

[jQuery] Re: Method to convert dimenions value to ColdFusion variable?

2008-01-14 Thread Rick Faircloth
Hi, Diego... and thanks for the reply. I know that I can use the Dimensions plug-in to get exactly the data that I need, I'm just not sure how to get it back to the server. Ajax? Or I guess I could set a cookie and ColdFusion read it. An ajax method might seem to be more practical. Thoughts?

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

2008-01-14 Thread Karl Swedberg
On Jan 14, 2008, at 4:48 PM, Diego A. wrote: Thanks Karl, I really appreciate your feedback - specially coming from . Not a problem. I can only guess what you were going to call me, though, since there nothing showed up in that sentence after "from". Hope it was nice. :-D I had pla

[jQuery] Re: Autocomplete does not trigger onchange javascript code in input element.

2008-01-14 Thread Diego A.
I work around the same issues with several other plugins as well... I'll explain how I solve it, maybe that will help others with the same problem. * I add my own 'layer' to the initialization of the plugin. * Instead of... $('input.autocomplete').autocomplete({ /* options */ }); I do this... $

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

2008-01-14 Thread Diego A.
Thanks Karl, I really appreciate your feedback - specially coming from . I had planned (if you don't mind) to use your work on the half- star rating plugin as the basis for the new features... I hope that's OK. PS.: learningjquery.com seems to be down at the moment (just in case you hadn't notice

[jQuery] Re: Method to convert dimenions value to ColdFusion variable?

2008-01-14 Thread Diego A.
There are components you can use, but usually, the only way is to use javascript on the client to calculate the dimensions and then 1. post it back to the server OR 2. set a cookie that can be read by the server-side script On Jan 14, 7:34 pm, "Rick Faircloth" <[EMAIL PROTECTED]> wrote: > Hi, all

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

2008-01-14 Thread Karl Swedberg
Fantastic, Diego! That's really exciting news. I was about to start work on a semantically-correct half-star rating plugin myself, but I'm happy to be able to scratch it off my list now. Actually, I only converted Ritesh's plugin to half-star in the first place because someone asked for t

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

2008-01-14 Thread Diego A.
Hi Karl, I came across the star rating plugin because I needed one myself. There were many variations, but I narrowed the list down to 2. One was the Half-Star rating control and the other was PHPLetter's downgrade- able star rating control. I decided to build upon the 'semantically correct' ver

[jQuery] How to create Terms of Service-type message?

2008-01-14 Thread Robert Vidrine
Greetings, I need a way to display a user agreement when someone visits my site, and require them to click I Agree before they can get in. Best would be to set a cookie showing whether or not they've agreed (so they don't get it every time, if they keep cookies). I think I should be looking

[jQuery] Method to convert dimenions value to ColdFusion variable?

2008-01-14 Thread Rick Faircloth
Hi, all. I guess this would be aimed at those of us who use jQuery and ColdFusion, but. Is there a way to convert the dimensions of the browser window to a variables that ColdFusion can use? I'd like to try to get the browser window size of a user, and create an image on-the-fly using the new im

[jQuery] Re: Autocomplete does not trigger onchange javascript code in input element.

2008-01-14 Thread dustyt
Thanks for the input, Sheldon. What you have said sounds logical, but I think that I may be experiencing a different problem because what I am referring to is when something is selected in the dropdown (which puts the selected value into the input box) and then the input loses focus, onchange app

[jQuery] Jeditable + if error

2008-01-14 Thread frizzle
Hi there, I've recently discovered jQuery and especially Jeditable. It's very good, only i wonder how on earth can i add an error message if PHP has validated the input and doesn't "agree". (E.g. invalid chars). In the best case i could display a message below the text field or change the CSS of

[jQuery] Re: Mixing vanilla Javascript with jQuery

2008-01-14 Thread Michael Geary
> From: Dan Eastwell > I'm also something of a newbie, but you can include normal > javascript in with jquery, as jquery *is* javascript. That is a key point that everyone should memorize. jQuery *is* JavaScript. > The main problem is that jquery functions won't work on > normal DOM objects, t

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

2008-01-14 Thread Karl Swedberg
hey Diego, I love what you've done with the Star Rating Plugin! Excellent work. One question: can it be used with 1/2 star values? If so, I think it would be great for people to see an example of that on the demo page (if there is such an example, please forgive my oversight). thanks, -

[jQuery] Re: Remove filter property to resolve FadeIn issue

2008-01-14 Thread Karl Swedberg
On Jan 14, 2008, at 9:34 AM, caroig wrote: Hi,I'm using FadeIn with transparency and the on IE7 the fonts go fuzzy after fadein completes. Looking at this article: http://mattberseth.com/blog/2007/12/ ie7_cleartype_dximagetransform.html it appears that IE7 does not tidy up the FILTER prope

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

2008-01-14 Thread Mike Alsup
> Quick note to all those using any of my plugins, they've all been > updated this week and had a few (*cough*) bugs fixed. I recommend you > download the latest versions... Cool. Thanks, Diego!

[jQuery] Re: jCarousel: No width/height set for items.

2008-01-14 Thread FernandoPE
i open jquery.jcarousel.pack.js and replace |loop|ol|infinite|an|ul|cause|will|This|items|set|No|jCarousel|alert| by |loop|ol|infinite|an|ul|cause|will|This|items|set|No|jCarousel|isNaN| this is a dirty solution but work On 24 nov 2007, 19:30, sukhminder <[EMAIL PROTECTED]> wrote: > Hi Jan,

[jQuery] Circular wrap with dynamic content?

2008-01-14 Thread [EMAIL PROTECTED]
Hi, I've got jCarousel working on a content management system. It seems to have trouble finding the end of the carousel when you double click next/previous or click when its not finished the slide animation. The carousel can be found here: http://www.lime-blue.co.uk/jewellery/engagement-rings O

[jQuery] "translating" to jquery

2008-01-14 Thread marcus
hi. i have a little question... im not quite sure, because i don't know how to find out if this is working correctly. is this $('body').unload(google.maps.Unload); like the correct "translation" of this?

[jQuery] Re: Date picker

2008-01-14 Thread Lionel Martelly
Thanks. I resolved the issue. There was a conflict with lightbox. I moved the lightbox js last and it worked. It seems that in that link jquery was carrying an old version as per the author (a real nice guy) - Original Message - From: "Kelvin Luck" <[EMAIL PROTECTED]> To: Sent: Monday

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

2008-01-14 Thread Strija
Excellent :) On 14 sij, 15:42, "Diego A." <[EMAIL PROTECTED]> wrote: > Hey everyone, > > Quick note to all those using any of my plugins, they've all been > updated this week and had a few (*cough*) bugs fixed. I recommend you > download the latest versions... > > FCKEditor Plugin:http://www.fyne

[jQuery] resetting target based on responseText

2008-01-14 Thread Lionel Martelly
I am using the code below to check a condition in a php. Is there a way, based on the response to: 1-either change the target 2-or make it return true? I am doing some complex form validation that can only be done in the php, then display the callback errors in a div. Problem is if the php does

[jQuery] Re: Checking whether a jquery function exists

2008-01-14 Thread besh
Hi again, I guess you should try something like this: if (jQuery.isFunction(jQuery.datepicker)) { ... } -- Bohdan Ganicky On Jan 14, 3:14 pm, "Dan Eastwell" <[EMAIL PROTECTED]> wrote: > Thanks Bohdan, > > That sounds like it should work, but > > if(jQuery.isFunction(datepicker())){ >

[jQuery] Re: Checking whether a jquery function exists

2008-01-14 Thread Bohdan Ganicky
Hi again, my last guess (which I actually can't see yet in the thread) wasn't perfectly correct. Try this instead: if (jQuery.isFunction(jQuery.fn.datepicker)) { ... } -- Bohdan Ganicky Dan Eastwell wrote: > > > Thanks Bohdan, > > That sounds like it should work, but > > if(jQuery.is

[jQuery] Re: prob with the jquery selector

2008-01-14 Thread Xinhao Zheng
hi Karl, thanks for your reply. On Jan 14, 2008 10:51 PM, Karl Swedberg <[EMAIL PROTECTED]> wrote: > Hi Xinhao, > If you have special characters in the selector value, you'll need to > escape them with two backslashes: > > > http://docs.jquery.com/Frequently_Asked_Questions#How_do_I_select_a

[jQuery] IE7 show/hide/slide problems with Jquery

2008-01-14 Thread Lewis
Hi all Apologies if this has been covered elsewhere, i had a good look but couldnt find this issue highlighted. The problem I am encountering is with some show/hide commands in IE7. Every other browser, including IE6 performs the required actions correctly - its just IE7!!! if you go to this ad

[jQuery] Re: Checking whether a jquery function exists

2008-01-14 Thread Eric Martin
Try: if(jQuery.isFunction(jQuery.datepicker)){ ... } -Eric On Jan 14, 6:14 am, "Dan Eastwell" <[EMAIL PROTECTED]> wrote: > Thanks Bohdan, > > That sounds like it should work, but > > if(jQuery.isFunction(datepicker())){ > $('.invokeBoth').datepicker({showOn: 'both', buttonImage: > '/ima

[jQuery] IE7 fadeOut table row?

2008-01-14 Thread alivemedia
I am having trouble getting a table row to fade out an dlook good in IE7. It basically doesn't work, the text turns slightly rough looking for a second and then disappears. Works fine in FF though. Has anyone achieved this effect?

[jQuery] Re: trying in a function to change css color on divs

2008-01-14 Thread Eric Martin
How about: $(document).ready(function () { $('input[name$=bgcolor]').change(function(){ $('#'+this.name).css('background-color', this.value); }); }); test test I wasn't exactly clear on what you were trying to do, but hopefully the above should hel

[jQuery] Remove filter property to resolve FadeIn issue

2008-01-14 Thread caroig
Hi,I'm using FadeIn with transparency and the on IE7 the fonts go fuzzy after fadein completes. Looking at this article: http://mattberseth.com/blog/2007/12/ie7_cleartype_dximagetransform.html it appears that IE7 does not tidy up the FILTER property correctly. I've 'resolved' the problem by remov

[jQuery] Re: Checking whether a jquery function exists

2008-01-14 Thread Cloudream
what about $.isFunction($.datepicker) ? On Jan 14, 10:14 pm, "Dan Eastwell" <[EMAIL PROTECTED]> wrote: > Thanks Bohdan, > > That sounds like it should work, but > > if(jQuery.isFunction(datepicker())){ >         $('.invokeBoth').datepicker({showOn: 'both', buttonImage: > '/images/icons/calendar

[jQuery] Re: Announce: jQuery Expander Plugin

2008-01-14 Thread Karl Swedberg
Hi Dan, Thanks for the heads up. That's what I'm working on now -- getting it to play nice with nested tags. --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Jan 14, 2008, at 10:28 AM, Dan G. Switzer, II wrote: Karl, Last week I wrote a blog entr

[jQuery] Re: Announce: jQuery Expander Plugin

2008-01-14 Thread Karl Swedberg
thanks, Brian! I'm relieved to hear that. Working on the nested element thing now. Trickier than I had expected. Regular expressions to the rescue. :) --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Jan 14, 2008, at 10:31 AM, Giant Jam Sandwich wrote

[jQuery] Re: Announce: jQuery Expander Plugin

2008-01-14 Thread Karl Swedberg
On Jan 14, 2008, at 10:51 AM, Su wrote: On Jan 14, 2008 7:58 AM, Karl Swedberg <[EMAIL PROTECTED]> wrote: > How about making it easy to use an expand/collapse icon in place of > the text? Good idea. I'll examine how to do that as elegantly as possible. This was my one request, but I hadn't had

[jQuery] Re: jQuery Form Plugin, and ajax submit without submit button

2008-01-14 Thread Diego A.
Use the ajaxSubmit method: $('#form_id').ajaxSubmit() 1. jQuery ajaxSubmit() be.twixt.us/jquery/formSubmission.php 2. jQuery Form Plugin www.malsup.com/jquery/form/ On Jan 14, 3:58 pm, Giovanni Battista Lenoci <[EMAIL PROTECTED]> wrote: > Hi, I'm using this fantastic plugin but if I try to subm

[jQuery] jQuery Form Plugin, and ajax submit without submit button

2008-01-14 Thread Giovanni Battista Lenoci
Hi, I'm using this fantastic plugin but if I try to submit the form using $('#form_id')[0].submit() the ajaxform it's not fired, it behaves like it's a normal form, and I'm redirected to the ajax page. What I want to do is to submit the form when I check a checkbox. Can you help me? thank you

[jQuery] Re: Announce: jQuery Expander Plugin

2008-01-14 Thread Su
On Jan 14, 2008 7:58 AM, Karl Swedberg <[EMAIL PROTECTED]> wrote: > > How about making it easy to use an expand/collapse icon in place of > > the text? > > Good idea. I'll examine how to do that as elegantly as possible. > This was my one request, but I hadn't had a chance to try and figure out w

[jQuery] flash content inside the Accordion

2008-01-14 Thread Chango
I've got problems with having flash content inside the Accordion Plugin (http://bassistance.de/jquery-plugins/jquery-plugin- accordion/). Basically the problem occurs on Firefox (my Version is 2.0.0.8). The Flash content pops up immediately when activating a corresponding accordion link. Not eve

[jQuery] Re: Announce: jQuery Expander Plugin

2008-01-14 Thread Dan G. Switzer, II
Karl, >Last week I wrote a blog entry about how to hide a portion of an >element's text and display a link that, when clicked on, reveals the >hidden portion. > >http://www.learningjquery.com/2008/01/revealing-details-with-jquery Just looking at the blog example, it would appear when splitting t

[jQuery] Re: Announce: jQuery Expander Plugin

2008-01-14 Thread Giant Jam Sandwich
That's okay Karl -- yours is probably much better :) Actually, the Truncate plugin has a small bug that I have been meaning to fix for quite some time, and I have been lazy about doing so... it's a good thing your plugin came along! As an FYI -- the number one request I received was to be able t

[jQuery] Re: Date picker

2008-01-14 Thread Richard D. Worth
As it's a UI plugin, you may have better luck asking on the UI list: http://groups.google.com/group/jquery-ui/ - Richard On Jan 14, 2008 12:18 AM, Lionel Martelly <[EMAIL PROTECTED]> wrote: > > Does anyone have any issue with date picker not working in IE7.0? > >$('#period').datepicker({dat

[jQuery] Re: prob with the jquery selector

2008-01-14 Thread Karl Swedberg
Hi Xinhao, If you have special characters in the selector value, you'll need to escape them with two backslashes: http://docs.jquery.com/Frequently_Asked_Questions#How_do_I_select_an_element_that_has_weird_characters_in_its_ID.3F If you're storing the id attribute in a variable, you could us

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

2008-01-14 Thread Diego A.
Hey everyone, Quick note to all those using any of my plugins, they've all been updated this week and had a few (*cough*) bugs fixed. I recommend you download the latest versions... FCKEditor Plugin: http://www.fyneworks.com/jquery/FCKEditor/ Codepress Plugin: http://www.fyneworks.com/jquery/Cod

[jQuery] Re: Checking whether a jquery function exists

2008-01-14 Thread Dan Eastwell
Thanks Bohdan, That sounds like it should work, but if(jQuery.isFunction(datepicker())){ $('.invokeBoth').datepicker({showOn: 'both', buttonImage: '/images/icons/calendar.png', buttonImageOnly: true}); } Throws "datepicker is not defined" (so does if(jQuery.isFunction(datepicker

[jQuery] Re: Announce: jQuery Expander Plugin

2008-01-14 Thread Karl Swedberg
On Jan 14, 2008, at 12:13 AM, rolfsf wrote: Very nice Karl, as usual! It's similar in functionality to the http://www.reindel.com/truncate/ truncate plugin that I recently used, but feels more refined. Oh my! You're right. I should have done a more thorough search of existing plugins b

[jQuery] Re: Date picker

2008-01-14 Thread Peter Bengtsson
I know almost nothing about the datepicker from the UI project but I did notice that it was updated in SVN just a few days ago so perhaps worth looking at those changes if that was IE7 related. On 14/01/2008, Lionel Martelly <[EMAIL PROTECTED]> wrote: > > Does anyone have any issue with date pick

[jQuery] Re: Date picker

2008-01-14 Thread Kelvin Luck
I can confirm it's not working for me either on IE7 on that page... You could try my date picker instead: http://www.kelvinluck.com/assets/jquery/datePicker/v2/demo/index.html Cheers, Kelvin :) Lionel Martelly wrote: Does anyone have any issue with date picker not working in IE7.0? $('

[jQuery] Re: re[jQuery] setting form attributes in the jQuery forms plugin

2008-01-14 Thread Mike Alsup
> i just started using the form plugin so i am not sure if i am correct, but > as far as i understand the code, the form plugin doesn't reset the target > attribute of the form if the target attribute is undefined (not present) > and the action attribute is not resetted either, this seems to happe

[jQuery] Re: Checking whether a jquery function exists

2008-01-14 Thread Bohdan Ganicky
Hi Dan, try the http://docs.jquery.com/Utilities/jQuery.isFunction#obj jQuery.isFunction(); . -- Bohdan Ganicky Dan Eastwell wrote: > > > Hi, > > I'm using the datepicker widget on a site, but there may be pages > where the script is not called in the head, where there's no > datepicker n

[jQuery] IE 7 show/hide/slide problems with Jquery

2008-01-14 Thread Lewis
Hi all Apologies if this has been covered elsewhere, i had a good look but couldnt find this issue highlighted. The problem I am encountering is with some show/hide commands in IE7. Every other browser, including IE6 performs the required actions correctly - its just IE7!!! if you go to this ad

[jQuery] onClick submit using jQuery Form Plugin

2008-01-14 Thread Geoff Millikan
May a onClick "document.form_name.submit()" be used with the jQuery Form Plugin or must a submit button be used? http://www.t1shopper.com/voip/

[jQuery] trying in a function to change css color on divs

2008-01-14 Thread hollow
Hi, I'm trying to change color on a div from the change of an input field. what i need is to get the name of the input field that is the same as the div name ( and the value, to be able to do the change). to avoid repeating i'm trying to create one function that can handle all. the html part:

[jQuery] An issue with .clone(true) and IE 6+

2008-01-14 Thread daweb
Hi everybody, I'm sorry for my English... I'm trying to add a new table row () after an ajax call. My code works perfectly with FF or Opera, but not with IE. With the right browsers I can add multiple row, IE instead overwrite my first row (with right content but overwrite the last inserted).

[jQuery] prob with the jquery selector

2008-01-14 Thread Xinhao Zheng
hello everyone, maybe this problem is not a new one,but i want to make sure.when i use $('#'+id) to choose an element in the dom tree to operate on,it failed when the id is in the form of abc[xyz].code like below: html code: js: temp = $('#'+'abc[xyz]').val(); it failed. -- Xinhao Zheng

[jQuery] Re: $(some_form.elements).length==1

2008-01-14 Thread XASD
Thanks a lot,it seems $.each()/map has similar problem with generic js Array. On Jan 11, 7:54 pm, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > XASD schrieb:> It seems "form.elements" is not enumerable in JQuery,why? > > Thats a bug:http://dev.jquery.com/ticket/2114 > > You can work around it by do

[jQuery] Re: jQuery.browser.version doesn't recognise IE7 anymore

2008-01-14 Thread NetHawk
I can confirm the Firefox issue. The userAgent string of my Firefox 2.0 is: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.11) Gecko/ 20071127 Firefox/2.0.0.11 So ist obvious, where the returnes version 1.8.1.11 comes from. Regarding IE7: I have the same incorrect version returned on

[jQuery] .clone issue with IE

2008-01-14 Thread daweb
Hi everybody, I'm sorry for my English... I'm trying to add a new table row () after an ajax call. My code works perfectly with FF or Opera, but not with IE. With the right browsers I can add multiple row, IE instead overwrite my first row (with right content but overwrite the last inserted).

[jQuery] Re: submit via link and redirect dynamically

2008-01-14 Thread antiheld2000
thanks, that's it. On 13 Jan., 23:21, Danny <[EMAIL PROTECTED]> wrote: > I'm not an AJAX guru, but it looks like the pageNumber variable is > local to each of your click functions and won't be seen by the > showResponse function. > Make it global (actually, local to the document.ready function):

[jQuery] Re: Mixing vanilla Javascript with jQuery

2008-01-14 Thread Shawn
Mix and match at will. But just like traditionaly JavaScript, you'll need to take care to be dealing with the right objects, and that those objects exist when you reference them. One way to mix in jQuery is the use of it's array of matched elements. When you do $("#myelement"), you get an arr

[jQuery] Re: a way to animate to auto?

2008-01-14 Thread Alexey Blinov
Maybe calc current pixels for 100%, animate to that width and than set width to 100% (w/o animate)? And vice versa to animate form "100%" to 29px? Just an idea... jQuery is powerful and you can create custom animate function that will calc all you need. On Jan 12, 2008 5:44 AM, Equand <[EMAIL PRO

[jQuery] re[jQuery] setting form attributes in the jQuery forms plugin

2008-01-14 Thread mwohlf
hi devs, i just started using the form plugin so i am not sure if i am correct, but as far as i understand the code, the form plugin doesn't reset the target attribute of the form if the target attribute is undefined (not present) and the action attribute is not resetted either, this seems to hap

[jQuery] Date picker

2008-01-14 Thread Lionel Martelly
Does anyone have any issue with date picker not working in IE7.0? $('#period').datepicker({dateFormat: 'MM d, yy', rangeSelect: true, firstDay: 1}); http://docs.jquery.com/UI/Datepicker Looks like we have same issue on that page

[jQuery] Re: Going thrue all form elements

2008-01-14 Thread Ariel Flesler
Oh, I just learnt something new :) Ariel Flesler On 14 ene, 10:35, "Mike Alsup" <[EMAIL PROTECTED]> wrote: > > :input will do what you need, but it's slow it's like a $('*') that > > you then apply a complex filter. > > > You can use forms' attribute 'elements' to make it work faster. $ > > ('fo

[jQuery] Re: Going thrue all form elements

2008-01-14 Thread Mike Alsup
> :input will do what you need, but it's slow it's like a $('*') that > you then apply a complex filter. > > You can use forms' attribute 'elements' to make it work faster. $ > ('form').map(function(){ return $.makeArray(this.elements); }); ... unless your form contains elements. For some reaso

[jQuery] Re: Going thrue all form elements

2008-01-14 Thread Ariel Flesler
:input will do what you need, but it's slow it's like a $('*') that you then apply a complex filter. You can use forms' attribute 'elements' to make it work faster. $ ('form').map(function(){ return $.makeArray(this.elements); }); Ariel Flesler On Jan 13, 6:51 pm, "Mike Alsup" <[EMAIL PROTECTED

[jQuery] Re: Announce: jQuery Expander Plugin

2008-01-14 Thread Dan Eastwell
Great plugin - I'll very likely be using that, it's so often required. On 1/13/08, Karl Swedberg <[EMAIL PROTECTED]> wrote: > > Hey everyone, > > Last week I wrote a blog entry about how to hide a portion of an > element's text and display a link that, when clicked on, reveals the > hidden portio

[jQuery] Re: Mixing vanilla Javascript with jQuery

2008-01-14 Thread Dan Eastwell
Hi Jon, I'm also something of a newbie, but you can include normal javascript in with jquery, as jquery *is* javascript. The main problem is that jquery functions won't work on normal DOM objects, they have to be selected using the $ function first e.g. $(#myObject).show(); The $ function also

[jQuery] Checking whether a jquery function exists

2008-01-14 Thread Dan Eastwell
Hi, I'm using the datepicker widget on a site, but there may be pages where the script is not called in the head, where there's no datepicker needed on the page. (To save download time and to reduce execution time) the $(document).ready function will include a $('.invokeBoth').datepicker( ... )

[jQuery] Re: Space gallery

2008-01-14 Thread George
Well done Stefan, that's great fun and well implemented. A couple of "nice to have's"... - To my eyes the images seem to be shown in reverse order, not as they are in the source. - Allow for broken image urls by catching onerror as well as onload (Currently if one of the images does not load the

[jQuery] Re: a way to convert jquery object to text for dom injection

2008-01-14 Thread George
Clone does indeed make a copy of the element(s) but it returns them as a jQuery array just like most of the other jQuery methods. If it is the html you want then you counld try something like var hex = $ ("").append( $("#d").clone() ).html() That copies your #d element into a new element then re

  1   2   >