A suggestion for documentation enhancement... I have been trying to figure out what the speed parameter can be, besides "slow" and "fast". slideUp, slideDown, slideToggle all accept a string or number, and pass that on to .animate. Digging in the jquery.js source, I found "slow: 600, fast: 200 }[opt.duration]) || 400;". Would it be useful to document this such as the API browser? I had no clue that this referred to milliseconds... While a good exercise getting into the code, I was not planning to do that today. ;-) Gerry _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
I like http://www.g-raff.co.uk/jquery/basic.html for its simplicity. I have seen something like it for menus but I can't remember where. Looked at the tabbed menus but that's not what I'm looking for. I like a vertical set of menus, that when clicked, shows sub-menus. I've seen it, want it, but can't find it again... :( Any help? Thx Gerry _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
I have been asked to put certain database apps online for Blackberry and Windows Mobile devices. These are typically a lookup/edit or table/browse protocol. Some tech questions I need to consider: 1. The OS on these devices is different, will that make a difference on the browsing to an app? 2. Is jQuery appropriate for mobile devices? WinMobile probably does JavaScript but how well implemented? And how does RIM fare? Note to above: I am new to both programming mobile devices and jQuery, so please indulge my ignorance. 3. What other questions should I ask? Is it as simple as detecting the browser/platform and coding from there? 4. Any sites, mailing lists, I should visit? Thank you all, Gerry _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Looking through the docs, I'm not sure that jQuery can do this, but perhaps someone can point me in the right direction? I administer an intranet and we recently changed from intranet.something.com to staff.something.com. Getting 300 users to change their browser's start page to point to the new domain is a chore that will likely not get done for some time. So I thought, JavaScript or jQuery might be of help. If I detect the old domain name, use jQuery to force a change. We mainly use FF2, IE6, and IE7. Any help or suggestions are most welcome. Gerry Danen _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
In this piece of code (common to a number of pages) I want to set focus to a second input field if there is one. $(function() { $("#first_field_to_enter")[0].focus(); $("#second_field_to_enter")[0].focus(); }); If the second input field is present, focus is on the second field. If not present, focus goes to the first field. All good, except that an error is generated in FF2 error console when the second field is not present. See http://test.danen.org/secure/register.htm and http://test.danen.org/secure/ for an example of each case. html is: <input id="first_field_to_enter" type="text" name="form_id" size="26"> <input id="second_field_to_enter" type=text name=rf_namef size="50" maxlength="50"> Both fields are in different <form>s. Is there a way to test for the presence of the second field? Please excuse my ignorance if the answer is obvious, but I'm a JavaScript newbie, and I just found jQuery today. John Resig and the jQuery team, hats off to your excellent work. Thanks for your help. Gerry _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/