Re: [jQuery] anyone success to inegrate sortable with mysql/php?

2007-03-20 Thread Gerry Danen

Matt,

If something like AJAX DataGrid (
http://www.phpclasses.org/browse/package/3610.html) can edit using AJAX, I'm
sure some sorting can be done. Would depend on the amount of data, of
course.

I still prefer to use PHP, and not AJAX for sorting, like I've done at
http://www.atasteofdutch.com/catalog.htm

Gerry

On 3/20/07, Matt Kruse [EMAIL PROTECTED] wrote:


 i see the scriptaculs thing that rule on the web...
 maybe its because there are working examples of scriptacouls with
php/mysql
 integration?

How would a client-side sorting plugin interact with php/mysql? Once the
rows
are delivered to the browser (independent of server-side technology) then
it's
all javascript from there, right? What kind of functionality are you
looking
for?

I am almost done with my table sort/filter/page plugin at
http://www.JavascriptToolbox.com/lib/table/ (updated last night to version
.981) and if you have any suggestions about how to improve it to do what
you're
looking for, I'd like to hear it!

Matt Kruse



___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/





--
Gerry Danen
Developer support:
http://dev.danen.org/
http://groups.yahoo.com/group/php_and_mysql/
Lily Register:
http://www.lilyregister.com/
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] anyone success to inegrate sortable with mysql/php?

2007-03-20 Thread Gerry Danen

On 3/20/07, Matt Kruse [EMAIL PROTECTED] wrote:


I still prefer to use PHP, and not AJAX for sorting, like I've done at
http://www.atasteofdutch.com/catalog.htm

If you want to go back to the server and sort using php (why?)



For a different view? Sort by price, or description? Give the customer
options...

then why would

you need a javascript solution at all?



*I* don't... ;-)

Gerry
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


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

2007-02-11 Thread Gerry Danen

I guess I could submit my non-commercial wink blog: http://blog.danen.org/

Gerry

On 2/11/07, Dragan Krstic [EMAIL PROTECTED] wrote:


May I add site of my own?
www.zinba.com

I'm using jquery all over the place. In backoffice (affiliate part) jquery
do more stuff than VBscript.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Is jQuery that dawn slow?

2007-02-05 Thread Gerry Danen

Matt,

What does jQold mean?

Gerry

On 2/5/07, Matt Stith [EMAIL PROTECTED] wrote:


I think theres something wrong with those results :-\

Check this out:
http://john.jquery.com/speed/

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ANNOUNCE: jQuery-Powered Plazes raises $3.5 million

2007-02-05 Thread Gerry Danen

Cool site, now I can find places in Holland... :)

On 2/5/07, Rey Bango [EMAIL PROTECTED] wrote:


I'd like to congratulate the folks at jQuery-Powered Plazes.com and
jQuery team member Klaus Hartl on an initial round of venture funding to
the tune of $3.5 million USD. Its great to see a jQuery site continuing
to flourish and Klaus, undoubtedly has been a major driving force behind
the technology.

Congratulations!


http://www.techcrunch.com/2007/02/05/european-startup-plazes-raises-e27-million/

Rey...


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Animate font weight

2007-02-02 Thread Gerry Danen
Depending on the desired effect, one could animate font size perhaps?

On 2/2/07, Glen Lipka [EMAIL PROTECTED] wrote:
 You could have 1 span with the text bold; display:none, and 1 with the text
 normal.
 Then fade 1 out and fade 1 in at the same time. (Positioned right on top of
 each other)

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Plugins Database: Rating Comments

2007-01-28 Thread Gerry Danen
Excellent idea.

If at all possible, be able to download the source right there,
without the need to go to the author's site. While there is nothing
wrong with a visit to the author's site, it should not be for the
purpose of demos or downloads. Well, demos maybe.

While I don't like the ads and popup windows on PHP Classes -
http://www.phpclasses.org/ - I do like the way the code repository is
organized. Perhaps something to consider?

Gerry

On 1/27/07, Lick [EMAIL PROTECTED] wrote:

 Hello everyone,

 As the plugins page is continuing to grow every day, I thought it might be
 nice to start organizing them in a more comfortable manner. Features that
 should not be delayed any longer are probably a Rating, a Comment-gallery
 and links to Related Plugins. And of course the usual stuff like author,
 homepage, usage details and example/demo.

 Good idea, yes/no?

 - Lick

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] jQuery Tools: API Browser

2007-01-28 Thread Gerry Danen
Excellent tool, Jörn. Downloaded already! :)

The only feedback I have at the moment is the blue flash when I
click an entry. I find that distracting.

Good work!!!

Gerry

On 1/28/07, Jörn Zaefferer [EMAIL PROTECTED] wrote:

  According to the feedback I got via IRC and on this list, there are several
 people using my API browser (so far known as api-draft).


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Flickering when using slideToggle in Firefox

2007-01-28 Thread Gerry Danen
Steve, I use WinXP.

FF2 works great, but IE7 is indeed a bit jerky but it does not flicker
like Tom's. The jerkiness shows especially in the tab how we help,
probably because it is the longest. I don't find it overly annoying.

Gerry

On 1/28/07, Steve Jones [EMAIL PROTECTED] wrote:
 Gerry

 I have been suffering this problem too - specifically using Mac OS X
 and Firefox... it works fine on Safari. What OS are you working on?
 If its Mac, does the sliding menu work in Safari?

 I have the problem here: http://www.g-raff.co.uk/jquery/comchap.html,
 though chances are if you look at it on a PC it will be fine.

 Can anyone using Firefox on a Mac confirm that it flickers ONLY on
 FFox Mac? Then maybe we can get to the bottom of the issue (somehow??)


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] slide functions

2007-01-28 Thread Gerry Danen
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/


Re: [jQuery] Flickering when using slideToggle in Firefox

2007-01-28 Thread Gerry Danen
It appears that the animation speed is equal for all blocks, tabs,
menu items, or whatever you have declared as a group.

For example, Tom, on the line
$(this).next(div.expandedSection).slideToggle(400);
change 400 to 2000 and add two topics, one very long, and one very
short (without a graphic) and see the difference in animation speed.

If you could calculate the number of lines in each section, you could
calculate a speed to pass to slideToggle to make all animations appear
to work at the same speed.

I hope I haven't lost you... :)

Gerry

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] slide functions

2007-01-28 Thread Gerry Danen
Done.

Thanks, Jörn.

Gerry

On 1/28/07, Jörn Zaefferer [EMAIL PROTECTED] wrote:
 Gerry Danen schrieb:
  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. ;-)
 
 Could you please report this as a enhancement?
 http://jquery.com/dev/bugs/new/

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] jQuery Tools: API Browser

2007-01-28 Thread Gerry Danen
A 50ms scroll would not be as distracting, I think.

Not complaining or nit-picking. Just observing. :)

Gerry

On 1/28/07, Joel Birch [EMAIL PROTECTED] wrote:
 On 29/01/2007, at 9:22 AM, Jörn Zaefferer wrote:

  Seems like the flash does not quite achieve the effect that it should.
  I'll try to improve that.

 Maybe animate a scroll to the requested item instead? That would make
 it pretty obvious that you have moved to another item. On the other
 hand, I guess some people may find that equally as distracting as the
 blue flash.

 Love it all by the way.

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Mobile application

2007-01-27 Thread Gerry Danen
Thank you, Blair.

On 1/26/07, Blair McKenzie [EMAIL PROTECTED] wrote:
 http://jquery.com/test/


 On 1/27/07, Gerry Danen [EMAIL PROTECTED] wrote:
 
  I hope I was clear enough that I meant browser apps that go back to a
  php/mysql server for content delivery? The server part is no problem,
  just concerned about the client side and how capable their respective
  browsers are.

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Flickering when using slideToggle in Firefox

2007-01-27 Thread Gerry Danen
Tom,

I don't have an explanation, but I noticed that clicking a link the
second time, makes the content go away in both FF2 and IE7. Perhaps
there's a connection?

Gerry

On 1/27/07, spl1nter [EMAIL PROTECTED] wrote:

 I'm working on a new design that's going to use jQuery for the menu. The link
 is below:

 http://www.gamehideout.co.uk/folio/

 When using the menu I'm using slideDown and slideToggle and it works fine
 mostly. But sometimes (roughly 50% of the time) when using slideToggle to
 close a div and then slideToggle to open a new div there's a brief
 flicker. This flicker contains the contents of the new div but is then
 hidden again when the sliding happens.

 I'm pretty sure that makes about 0% sense but if you check the link out it
 should be clear.

 I'm using the latest jQuery 1.1.1 and my JS can be found here:
 http://www.gamehideout.co.uk/folio/js/show.js It's pretty well commented but
 it's very basic anyway (I'm a novice JS programmer).

 Also, I've only noticed this problem in Firefox (not IE7 or Opera9). Opera
 seems to suffer from a kinda different problem actually but I'll concentrate
 on getting it working in Firefox first.

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Flickering when using slideToggle in Firefox

2007-01-27 Thread Gerry Danen
Hmm... I'm a novice to jQuery also and have just implemented a sliding
menu on my blog, See http://blog.danen.org .

I noticed a difference in behaviour of href=# vs href=

You may want to check that out.

Gerry

On 1/27/07, spl1nter [EMAIL PROTECTED] wrote:

 Hey,

 That's meant to happen. Cheers though :)


 Gerry Danen wrote:
 
  Tom,
 
  I don't have an explanation, but I noticed that clicking a link the
  second time, makes the content go away in both FF2 and IE7. Perhaps
  there's a connection?
 
  Gerry
 

 --
 View this message in context: 
 http://www.nabble.com/Flickering-when-using-slideToggle-in-Firefox-tf3129768.html#a8672355
 Sent from the JQuery mailing list archive at Nabble.com.


 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/



-- 
Gerry Danen
Developer support:
http://dev.danen.org/
http://groups.yahoo.com/group/php_and_mysql/
Lily Register:
http://www.lilyregister.com/

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Sliding menus

2007-01-26 Thread Gerry Danen
Thanks, Sholby. I will play with this.

Gerry

On 1/25/07, sholby [EMAIL PROTECTED] wrote:
 On 26 janv. 07, at 6:14, Gerry Danen wrote:

  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... :(

 Hello Gerry,

 I've implemented something that looks like what you want. I needed a
 basic structure, so used a simple nested list :


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Mobile application

2007-01-26 Thread Gerry Danen
Blair,

Do you have URLs?

Thx

Gerry

On 1/26/07, Blair McKenzie [EMAIL PROTECTED] wrote:
 A very good place to start with this is to browse to the test suite on those
 devices.

 Blair


 On 1/26/07, Gerry Danen  [EMAIL PROTECTED] wrote:
 
  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.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Mobile application

2007-01-26 Thread Gerry Danen
Thank you, Dan.

On 1/26/07, Dan Atkinson [EMAIL PROTECTED] wrote:

 Aye.

 I happen to find the Windows Mobile SDK to be particularly useful. I don't
 know anything about apps for Blackberry's though, although they're slowly
 taking off here in England, I don't think much of them. I myself have a
 Windows Mobile and the Blackberry's just done match up in my opinion.

 Current link for the Windows Mobile 5.0 SDK:
 http://www.microsoft.com/downloads/details.aspx?FamilyID=83a52af2-f524-4ec5-9155-717cbe5d25edDisplayLang=en


 Blair McKenzie-2 wrote:
 
  A very good place to start with this is to browse to the test suite on
  those
  devices.
 
  Blair
 
  On 1/26/07, Gerry Danen [EMAIL PROTECTED] wrote:
 
  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.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Mobile application

2007-01-26 Thread Gerry Danen
I hope I was clear enough that I meant browser apps that go back to a
php/mysql server for content delivery? The server part is no problem,
just concerned about the client side and how capable their respective
browsers are.

gerry

On 1/25/07, Gerry Danen [EMAIL PROTECTED] wrote:
 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/


Re: [jQuery] Changing a browser's starting page

2007-01-26 Thread Gerry Danen
All,

Thanks for all your comments and suggestions. I ended up doing a
registry edit via our login script. Works great.

Gerry

On 1/25/07, Gerry Danen [EMAIL PROTECTED] wrote:
 Found the key, Dan.

 Thanks for your help.

 Gerry

 On 1/25/07, Gerry Danen [EMAIL PROTECTED] wrote:
  On 1/25/07, Dan G. Switzer, II [EMAIL PROTECTED] wrote:
   Gerry,
  
   Probably, but that still does not solve my problem... :(

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Changing a browser's starting page

2007-01-26 Thread Gerry Danen
OK,

This is the WinBatch code - see http://www.winbatch.com/ for product info:

;   - change intranet.something to staff.something for IE users, but
ONLY if it is intranet.something -
;   26 Jan 07
startpage = RegQueryValue(@REGCURRENT,Software\Microsoft\Internet
Explorer\Main[Start Page])
leftsp = strsub(startpage, 1, 27)
if leftsp == http://intranet.something; then
RegKey1=RegOpenKey(@REGCURRENT,Software\Microsoft\Internet 
Explorer\Main)
RegSetValue(RegKey1,[Start Page],http://staff.something;)
endif

The key is [HKEY_CURRENT_USER\Software\Microsoft\Internet
Explorer\Main] and the entry is Start Page.

Gerry

On 1/26/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote:
 Share the key with others, and so it can go down into the archives.
 You can't be the only person who will need this!
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] Changing a browser's starting page

2007-01-25 Thread Gerry Danen
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/


Re: [jQuery] Changing a browser's starting page

2007-01-25 Thread Gerry Danen
Mike,

I know I can do DNS forwarding, or PHP forwarding on the login page. I
just want to blow the old domain away without everybody calling the
help desk. I want to clean house and do for the user what they won't
do themselves.

Gerry

On 1/25/07, Mike Alsup [EMAIL PROTECTED] wrote:
  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,

 You should handle this type of redirect on the server.

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Changing a browser's starting page

2007-01-25 Thread Gerry Danen
On 1/25/07, Olaf Bosch [EMAIL PROTECTED] wrote:

 I would give the old domain a static site, content:

 *Our domain is changed to NEWDOMAIN, please change your bookmarks*

 you will in 20 sec automatic going to the new domain, or click here
 www.newdomain.com

We have done this for 3 months, and people just don't pay attention... :(

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Changing a browser's starting page

2007-01-25 Thread Gerry Danen
On 1/25/07, jgrucza [EMAIL PROTECTED] wrote:

 That would be a nightmare if sites could willy nilly change users' start
 pages.  I'm pretty sure there's no way to do this or all the evil spammers
 in the world would have already done so, right?

Probably, but that still does not solve my problem... :(

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Changing a browser's starting page

2007-01-25 Thread Gerry Danen
On 1/25/07, Andy Matthews [EMAIL PROTECTED] wrote:
 I'm pretty sure this would be a MAJOR security breach and I doubt that it's
 allowed.

Yeah, I should look at a different solution, I guess...

Still, ...

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Changing a browser's starting page

2007-01-25 Thread Gerry Danen
On 1/25/07, Dan G. Switzer, II [EMAIL PROTECTED] wrote:
 Gerry,

 Probably, but that still does not solve my problem... :(

 The default homepage for IE is stored in the registry. Since you have the
 many employees, I suspect you have something in place to manage Windows
 patches/registry changes for all your users.

 I would recommend just pushing out the updated homepage to all your users
 with without tool you use to manage your users PCs. Talk to your IT staff if
 this isn't something your group handles.

Dan, that is useful information. We use a login script (an EXE
generated by WinBatch) that can change registry information.

Would you know the registry key off-hand?

Gerry :)

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Changing a browser's starting page

2007-01-25 Thread Gerry Danen
Found the key, Dan.

Thanks for your help.

Gerry

On 1/25/07, Gerry Danen [EMAIL PROTECTED] wrote:
 On 1/25/07, Dan G. Switzer, II [EMAIL PROTECTED] wrote:
  Gerry,
 
  Probably, but that still does not solve my problem... :(
 
  The default homepage for IE is stored in the registry. Since you have the
  many employees, I suspect you have something in place to manage Windows
  patches/registry changes for all your users.
 
  I would recommend just pushing out the updated homepage to all your users
  with without tool you use to manage your users PCs. Talk to your IT staff if
  this isn't something your group handles.

 Dan, that is useful information. We use a login script (an EXE
 generated by WinBatch) that can change registry information.

 Would you know the registry key off-hand?

 Gerry :)



-- 
Gerry Danen
Developer support:
http://dev.danen.org/
http://groups.yahoo.com/group/php_and_mysql/
Lily Register:
http://www.lilyregister.com/

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] Mobile application

2007-01-25 Thread Gerry Danen
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/


[jQuery] Sliding menus

2007-01-25 Thread Gerry Danen
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/


Re: [jQuery] dropdown sections - code for beginners

2007-01-21 Thread Gerry Danen
Looks very slick, Steve. I'm sure I can use it.

Have you tested on Windows? I noticed the .DS_Store files indicating Mac...

Worthwhile purpose for the site too.!

Gerry
http://blog.danen.org/


On 1/21/07, Steve Jones [EMAIL PROTECTED] wrote:
 JQ Beginners... (like me)

 With lots of superior help from the wizards in this discussion board,
 I have managed to code a simple dropdown section script using
 jQuery that might serve as a starter if you are just getting your
 teeth into jQuery. Its useful for Ajax FAQs and stuff. By no means
 complex, but shows the power of some of the core methods of jQuery...
 elegance unparallelled.

 The code began life as a cumbersome, ugly monster in Dojo, but has
 been refined to 7 lines of code since moving to jQuery 2 days ago.
 Thanks all on the discussion board for generous help.

 View it here: http://www.g-raff.co.uk/jquery/comchap.html

 Grab the source here: http://www.g-raff.co.uk/jquery/dropdown-
 example.zip

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Fwd: google group archive of discuss@jquery.com

2007-01-19 Thread Gerry Danen
Delivery to the following recipient failed permanently:
[EMAIL PROTECTED]

Seems like something is not set up properly...

Gerry

On 1/19/07, TRANS [EMAIL PROTECTED] wrote:
 I haven't gotten a reply to this so just in case I'm putting out an
 A.P.B.  Anyone out there who can help facilitate?

 -- Forwarded message --
 From: TRANS [EMAIL PROTECTED]
 Date: Jan 18, 2007 12:50 PM
 Subject: google group archive of discuss@jquery.com
 To: [EMAIL PROTECTED], [EMAIL PROTECTED]

 Hi--

 I'm setting up a google group archive of the jquery mailing list.
 Could you subscribe this email address to the mailing list:

   [EMAIL PROTECTED]

 I can't do it myself b/c there's no way to confirm the subscription
 from that address.

 Thanks,
 Trans


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] IDs are a crutch for the weak. Classes are for the strong.

2007-01-19 Thread Gerry Danen

Hello Jake,

I'm an IT veteran (36 years) but rather new to JavaScript, AJAX and all
that. You voice rather strong opinions on this particular subject, and I
love to learn. Is there any chance of a tutorial or example page on this?

Or, maybe there is an example already?

Gerry

PS: I love jQuery too...


On 1/19/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote:


As you all know there is no replacement for ids. and 200 classes or ids is
ridiculous! but by using a single id for the div in question and letting the
styles cascade and letting jQuery do what, I feel, it does so well, you can
eliminate the use of 90% of ids.

Since most good xhtml (and html) is hierarchical, css  jquery  deal well
with that hierarchy! I love seeing code like

$(#sPictures img:visible).animate({opacity: 'hide',height: 'hide',left:
window.innerWidth-90,top:window.innerHeight-90
},slow,'',function(){$(this).attr('style','display:none')})

with 1 id  on a div ,instead of searching or remembering for ids and which
was hidden!

jquery gives me that power!

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] IDs are a crutch for the weak. Classes are for the strong.

2007-01-19 Thread Gerry Danen
On 1/19/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote:
 Gerry,
 I'm an old IT guy too... I was educated in computer science, learned
 lisp, taught Snobol, apl, and Algol, among others... few languages
 have excited me as much as javascript+jQuery!

You're right that jQuery is exciting. It would not have caught my eye
otherwise. Stuff is not nearly as exciting as it used to be. Having
gone through cancer and heart issues, one learns what is important.
And I see jQuery as important.

 I tend to read this list as as testament to John's work. Some ideas
 are creative, some are utilitarian and others are less exciting. When
 I read about people having trouble with IDs I cringe. I know that all
 those IDs are not really needed. So much is 'relative',with beautiful
 jQuery commands like each and children and prev and next, it's hard to
 justify the use of IDs!

Indeed, John's work deserves praise. I hope that I can further enhance
it from my old-fashioned environment/perspective (Fortran, RPG II,
Cobol, etc). Old ideas are never dumb ideas, they just show a
different angle on the same problem.

 Well, I just felt like venting... I guess it's the old teacher in me!

Teachers vent? ;-)
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] PDFs of JQuery docs

2007-01-18 Thread Gerry Danen
Thank you, Dotan.

I will study it when I get home.

Gerry

On 1/18/07, Dotan Dimet [EMAIL PROTECTED] wrote:
 Gerry,

 I explain how I did that in this blog posting:

 http://corky.net/dotan/log/2007/01/jquery-documentation-in-pdf.html

 I leveraged JQuery's build scripts (written in Javascript) and a free
 Java library.

 - Dotan


 Gerry Danen wrote:

  Nice. How did you do that?
 



-- 
Gerry Danen
Developer support:
http://dev.danen.org/
http://groups.yahoo.com/group/php_and_mysql/
Lily Register:
http://www.lilyregister.com/

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] PRESS: jQuery Gets Mentioned at Read/Write Web

2007-01-18 Thread Gerry Danen
On 1/18/07, Rey Bango [EMAIL PROTECTED] wrote:

 Alex reasoned that it's because we are seeing the rise of libraries
 like jQuery that hide Ajax and take it to a whole new level. So the new
 trend we can perhaps call MetaAjax.

Metajax? ;-)

Gerry

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] jQuery Easing plugin

2007-01-17 Thread Gerry Danen
I get a blank page, George.

Gerry

On 1/17/07, George Smith [EMAIL PROTECTED] wrote:

 This has now been updated for jQuery 1.1

 Thanks to new functionality within 1.1 this is now pretty much just a list
 of functions for easing. Thanks jQuery team for doing what I was doing, only
 better, and with less code. Saves a great deal of maintenance for me.

 Anyway, grab it here:
 http://gsgd.co.uk/sandbox/jquery.easing.php

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Testing for presence of ID

2007-01-16 Thread Gerry Danen
Absolutely correct, Sam.

I was going insane, I thought... :)

Gerry

On 1/15/07, Sam Collett [EMAIL PROTECTED] wrote:

  http://blog.danen.org/
 
  Gerry

 In answer to the question on your blog, I think the fields are like
 that because of the Google Toolbar form filling feature.

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] THE List of Sites Using jQuery

2007-01-16 Thread Gerry Danen
Same here:

MediaWiki internal error.

Original exception: exception 'DBQueryError' with message 'A database
error has occurred
Query: DELETE FROM `objectcache` WHERE exptime  '20070117044210'
Function: MediaWikiBagOStuff::_doquery
Error: 1053 Server shutdown in progress (localhost)
' in /home/jqdocs/public_html/includes/Database.php:694


On 1/16/07, Stephen Woodbridge [EMAIL PROTECTED] wrote:
 Just tried it for the first time, and still has the DB error


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] jQuery 1.1, Site, Docs, Surprise

2007-01-16 Thread Gerry Danen
You mean hitting Ctrl+ freezes things? Not for me in FF2. Are you
using specific functions/methods that cause things to break?

On 1/16/07, abba bryant [EMAIL PROTECTED] wrote:

 Also, in FF1.5 / FF2 the layout dies after a single text size increase.

 I would like to voice the opinion that this library of all of them should
 advocate and design with standards and useability in mind. It wouldn't have
 been ( won't be ) that hard to design so that I can increase my font size
 2-3 times, much less once.

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] Testing for presence of ID

2007-01-15 Thread Gerry Danen
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 forms.

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/


Re: [jQuery] Testing for presence of ID

2007-01-15 Thread Gerry Danen
Thank you, Erik.

Works great, and no more errors!

There may be a better way (seems like there are several ways to do the
same thing, from what I've seen so far), but I'll stick with this
until something slick comes along.

Gerry

On 1/15/07, Erik Beeson [EMAIL PROTECTED] wrote:
 Try:

 if($(#second_field_to_enter).size()  0) {
   $(#second_field_to_enter)[0].focus();
 }

 I'd be interested to hear if there's a better way.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Testing for presence of ID

2007-01-15 Thread Gerry Danen
That works too, Karl.

Can you explain how it works?

An interesting thing I just noticed in IE7 is that on
http://test.danen.org/secure/register.htm the first, second, and
fourth fields are yellow. Bizarre. If this list allows attachments, I
can share a partial screenshot. Otherwise check the url.

IE drives me to drinking. :(

Gerry

On 1/15/07, Karl Rudd [EMAIL PROTECTED] wrote:
 Or try

 $(function() {
 $('#second_field_to_enter,#first_field_to_enter')[0].focus();
 });

 Karl Rudd

 On 1/16/07, Gerry Danen [EMAIL PROTECTED] wrote:
  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 forms.
 
  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.
 

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Testing for presence of ID

2007-01-15 Thread Gerry Danen
Thank you, Karl.

As I learn, I'm sure this will make perfect sense. Actually, the logic
does make sense, just got to figure out where DOM fits in.

Just posted a rant about IE7. I think it's broken...

http://blog.danen.org/

Gerry

On 1/15/07, Karl Rudd [EMAIL PROTECTED] wrote:
 A jQuery object is an array of 1 or more objects. I'm going to
 simplify things down a little.

 $('#B, #A')[0].focus();

 The selector #B, #A tries to find objects with ids of B and A
 (in that order). If B is not present in the document then it's just
 not in the list, so A is the first element in the array. If B is
 present in the document then it is the first element in the array.

 The [0] is just a shortcut to get the first element in the array.
 Note that you get back a DOM object, not a jQuery object. If you want
 a jQuery object then use $(...).eq(0).

 You then call the DOM object's focus() function.

 Hope that makes things clear.

 Karl Rudd

 On 1/16/07, Gerry Danen [EMAIL PROTECTED] wrote:
  That works too, Karl.
 
  Can you explain how it works?
 
  An interesting thing I just noticed in IE7 is that on
  http://test.danen.org/secure/register.htm the first, second, and
  fourth fields are yellow. Bizarre. If this list allows attachments, I
  can share a partial screenshot. Otherwise check the url.
 
  IE drives me to drinking. :(
 
  Gerry
 
  On 1/15/07, Karl Rudd [EMAIL PROTECTED] wrote:
   Or try
  
   $(function() {
   $('#second_field_to_enter,#first_field_to_enter')[0].focus();
   });
  
   Karl Rudd
  
   On 1/16/07, Gerry Danen [EMAIL PROTECTED] wrote:
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 forms.
   
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.
   
 
  ___
  jQuery mailing list
  discuss@jquery.com
  http://jquery.com/discuss/
 

 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/



-- 
Gerry Danen
Developer support:
http://dev.danen.org/
http://groups.yahoo.com/group/php_and_mysql/
Lily Register:
http://www.lilyregister.com/

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/