Thanks for the advice, I will attempt the changes and write back. Awesome! :)
On Sep 15, 5:18 am, "Vision Jinx (Guru)" <[EMAIL PROTECTED]> wrote: > Hi, > > You can check out this link >>http://tuckey.org/textareasizer/ > > If you add the dynamic height feature lib in your gadget it will also > adjust the gadgets height if you call it in that function. (add > _IG_AdjustIFrameHeight();) > > There is also a textarea wrap attribute to control the wrapping of the > text (wrap="virtual") > > There is also an IE only attribute and property for something similar > > >>http://msdn.microsoft.com/en-us/library/ms537837(VS.85).aspx > > This only works with IE but allows other elements to be "editable" > like a div tag that auto sizes itself if it does not have a fixed > height. > > <div contenteditable onkeyup="alert(this.innerText)">TESTING</div> > > Tip! If using the script from the first link, remove the // from the > end of the scripts //--> as this use to cause issues with gadgets a > while back. I am not sure if it was fixed but to help prevent a > possible issue with its use in gadget form I would remove it. > > Hope that helps :-) > > Cheers! > Vision Jinx > > On Sep 14, 10:43 pm, Ivan Stegic <[EMAIL PROTECTED]> wrote: > > > There are a number of Javascript frameworks out there, and a few of > > them have a lib that automatically increases the size of the textarea/ > > textbox as you type and get to the last line, a la Facebook. jQuery > > and dojo have two implementations that I would consider implementing, > > Yahoo! UI has one as well. Here are two links as examples, in case you > > don't know what I'm talking about: > > >http://dojotoolkit.org/book/dojo-book-0-9/part-2-dijit/form-validatio... > > > I'd like to implement an expanding textarea in my google gadget. > > Unfortunately, there is no-one out there that has already done this > > (that I can find) and published information on how to do it again. I'd > > gladly do that if I can figure it out myself. > > > It's not as easy as including the jQuery or dojo libraries and using > > them in the gadget: this proves almost impossible. > > > My questions: > > > 1. Is this at all possible? > > 2. Has anyone done it? Where? > > 3. Shouldn't I really just leverage the iGoogle framework to do this? > > 4. Can someone point me to more info? My searches all come up junk. > > > Thanks for any insight, > > Ivan. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "iGoogle Developer Forum" 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/Google-Gadgets-API?hl=en -~----------~----~----~----~------~----~------~--~---
