Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: text effect transform

  1. #1
    Join Date
    Jul 2009
    Location
    Binus University
    Posts
    472
    Thanks
    78
    Thanked 21 Times in 21 Posts

    Default text effect transform

    Hi, is it possible to make a text effect transform like we do in photoshop or power point.

    Usually we display text in website like this one:
    just flat, no style or curve.


    i want to make my text display like this, but not image:


    or



    Just tell me your idea,
    Thank in advanced
    _____________________

    David Demetrius // davejob
    _____________________

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    I don't believe there is a way to do that using CSS. You could use CSS and Javascript and/or PHP to generate the text in a complex way so that each letter was offset slightly. This would generate a lot of code (a <p> or <span> for each letter) and it won't not rotate the letters like that, but you could create a curved line on which the text appears to sit.

    You could also use Flash.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. #3
    Join Date
    Jul 2009
    Location
    Binus University
    Posts
    472
    Thanks
    78
    Thanked 21 Times in 21 Posts

    Default

    hehe,
    i'm avoiding flash, because i hope this text can run in iphone too.
    hmm, so there's no other way to do this even with jquery.
    How about HTML5?
    _____________________

    David Demetrius // davejob
    _____________________

  4. #4
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    The only possibility would be something like a canvas element where you can "draw", but I don't know if even that would do it. And in that case, you might as well use an image.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  5. #5
    Join Date
    Jul 2009
    Location
    Binus University
    Posts
    472
    Thanks
    78
    Thanked 21 Times in 21 Posts

    Default

    i hope there's someone here that have a crazy idea like mine, haha. I think like djr said, my last choice is flash / image...
    _____________________

    David Demetrius // davejob
    _____________________

  6. #6
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Yes, I agree with djr33. You could use canvas but that would be just as good as using an image except for the fact that you could change the text.

    If you did want to do this in CSS, though, you would need to use CSS3. Search google for "CSS Rotate"
    Jeremy | jfein.net

  7. #7
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    The problem is that even with CSS3 (or browser-specific CSS properties) you would need to rotate every letter individually. If you just want diagonal text, that's much easier. But from everything I found (I did a quick search when answering earlier), it would mean splitting the letters and rotating individually to get anything resembling that.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  8. #8
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Yeah, mite we(or just I) ask: what do you need this for?
    Jeremy | jfein.net

  9. #9
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    And by the way, it's possible (but very difficult) to generate an image like that using any text you'd like using PHP's GD image function library. It might help if you need to do a lot of those graphics, but it will be slow if you do that every time the page loads. If you must have a solution to this and can't use flash, that's one way to approach it. It would be an image, but not just a static image.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  10. #10
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Here's a script that looks similar to what you want. Remove the animation, and it might be very close:
    http://www.dynamicdrive.com/dynamici...circletext.htm

    It's basically the same as what I described by displaying every letter independently.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •