On 3/3/06, Kevin Dangoor <[EMAIL PROTECTED]> wrote: > Opinions? Did a pass over the code and it looks good. It does require styles to be in the stylesheet (which is the correct way to do this sort of thing, IMO) so it's not self contained, but that's the only thing to be aware of when using this.
I'd recommend not using the page onload event for this (and any other javascript that makes serious page modifications), but rather to call tabberAutomatic() from a script tag located at the end of the body. If your page has a number of images, it can take a while for the onload event to fire, which causes the page to jump around after it's been loaded for a while. Putting your page altering javascript calls at the end of the body ensures all the necessary page elements are there but the scripts will run as the page is loading, which gives you a better user experience. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears -~----------~----~----~----~------~----~------~--~---

