Display textarea with rotation or angular textarea

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Coldfire
    Contributor
    • Nov 2006
    • 289

    Display textarea with rotation or angular textarea

    I was wondering if its possible to get text in the textarea, on some webpage, and show it with some rotation like 45 degree angle, like a signature at the bottom.

    one way is to save the textarea as image and show it with rotation...if there is anyother idea u have than please share

    regards,

    Coldfire
  • drhowarddrfine
    Recognized Expert Expert
    • Sep 2006
    • 7434

    #2
    No. .

    Comment

    • Coldfire
      Contributor
      • Nov 2006
      • 289

      #3
      in html 5, there are tags like

      draggable

      and events like ondrag, ondrop, onresize


      if you drag and drop,,but translate it like

      e.g. your element was on 0,0 and dropped at 0,10, translate it like a 90degree anticlockwise rotation. but for actual rotation of that element, maybe one needs to display the text in a new 2Dcanvas and rotate using its function of

      rotate(angle)// ...which is actually multiplying the canvas2d matrix to the rotation matirx

      FF is still in the process of integrating the html5 standard in the browser which will support all new html5 features (interested people can still use html5 stuff by checking out the firefox source)

      i dont know any scripts presently to play with html5 but things would be more clear after some time....
      :D

      regards,

      Coldfire

      Comment

      • drhowarddrfine
        Recognized Expert Expert
        • Sep 2006
        • 7434

        #4
        Coldfire, are you answering your own question?

        Most of the things you mentioned are CSS3 properties and not HTML5. If you get into <canvas> then you are no longer talking about textarea either and you'll need some javascript to work with that.

        Comment

        • Coldfire
          Contributor
          • Nov 2006
          • 289

          #5
          Originally posted by drhowarddrfine
          Coldfire, are you answering your own question?

          Most of the things you mentioned are CSS3 properties and not HTML5. If you get into <canvas> then you are no longer talking about textarea either and you'll need some javascript to work with that.
          not exactly. I wanted to have some discussion about it and for this i just searched about this question and struck with the HTML5 features....may be they have something to offer...but still if there is something new and interesting which is unimplemented than we should have a healthy discussion about it..
          :D

          and how come these are css3 properties...i looked into the html5 features as the link shows in my above post..still looking for answers/comments !

          Comment

          • drhowarddrfine
            Recognized Expert Expert
            • Sep 2006
            • 7434

            #6
            I saw the rotation stuff, along with your textarea question, and wasn't thinking about HTML5's "events". Some of the things you are looking to do are in CSS3, though.

            Yes, HTML5 is moving right along. My personal page is HTML5 right now. It looks fine in FF3.05+ and Safari but a little screwy in other browsers. I was rewriting one of my ecommerce sites and tried to do the same thing but it's just not ready for that type of production yet.

            Microsoft has already screwed up IE8 by returning incorrect values for some HTML5 events. Their DOM implementation is all screwed up anyway so it doesn't matter. It will never fit in.

            Comment

            Working...