thanks. i'm looking to update all textual content on the page at once. if i have the font resizer buttons in my layout file, what would be the best way of targetting the dynamically generated content from my cms/ blog / etc?
obviously, i would want to avoid having to manually script every html element on every page. Wouls this be a case for helpers? On 26 Jan, 04:58, "Jonathon Davis" <[EMAIL PROTECTED]> wrote: > You should be able to do this with just prototype.js unless you want it > to have an effect on it while it is resizing the font. > > http://www.prototypejs.org/api/element/methods/ > > getStyle and setStyle are the ones you should concern yourself with. > > <script> > $('element').setStyle({ > 'font-size': getStyle('font-size') + 4 > }); > </script> > > Or something to that effect. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
