Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: Flying Text Modification

  1. #11
    Join Date
    Dec 2006
    Posts
    27
    Thanks
    1
    Thanked 1 Time in 1 Post

    Default

    I nestled it into the 'then' part of an if-then-else just after the variable is defined so it should be ok... shouldn't it?

    I've tried a few different JS and seem to always have the same problem. The text to be typed out is always defined by <div id=trigger>Text to type</div> where "trigger" is the identifier to the JS. I just assumed that I could modify that to read <div id=trigger><script>functionXYZ();</script></div>. But I can't get that to work either... whether the output of the function is a document.write or just returning the value of the variable.

  2. #12
    Join Date
    Sep 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Cool

    Hello!
    It work:

    <h2 id="fly">Thanks for visiting$Dynamic Drive!</h2>
    <script type="text/javascript" src="Fly.js"></script>

    But it does not work:
    <h2 id="fly">Thanks for visiting$Dynamic Drive!</h2>
    <script type="text/javascript" src="Fly.js"></script>
    <script type="text/javascript" src="Fly.js"></script>

    Why?

    I want to use "Flying Letters" in different places on page.
    Last edited by Bin_; 09-23-2008 at 09:10 AM.

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
  •