-
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.
-
-
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.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks