Notices

Go Back   Dynamic Drive Forums > DD Scripts > Dynamic Drive scripts help > Submit a DHTML or CSS code
Search Dynamic Drive Forums:

Reply
 
Thread Tools Search this Thread
  #1  
Old 09-19-2008, 05:31 PM
jscheuer1's Avatar
jscheuer1 jscheuer1 is offline
No Kidding?
 
Join Date: Mar 2005
Location: SE PA USA
Posts: 18,997
Thanks: 19
Thanked 1,133 Times in 1,119 Posts
Blog Entries: 3
Default [DHTML] Circling text trail UPDATE

1) CODE TITLE: Circling text trail

2) AUTHOR NAME/NOTES: Tim Tilton - updated by jscheuer1

3) DESCRIPTION: Just an update to Tilton's outdated script. It uses the original's math for the trail, more or less, but is updated:

It's more configurable, now uses DOM level 2 to make the trail, exposes no global variables, follows the cursor even on wide pages, and works in modern browsers with or without a valid URL DOCTYPE.

4) URL TO CODE: http://home.comcast.net/~jscheuer1/s...ext_update.htm

or, ATTACHED BELOW (see #3 in guidelines below):
__________________
WWWWWWWWWWWW
- John
________________________

Really Show Your Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
Reply With Quote
  #2  
Old 09-19-2008, 08:22 PM
ddadmin's Avatar
ddadmin ddadmin is offline
Administrator
 
Join Date: Aug 2004
Posts: 7,626
Thanks: 2
Thanked 639 Times in 629 Posts
Blog Entries: 13
Default

Nice update! It even works in IE8 beta2 btw, which I've found trips up quite a few scripts that deal with CSS positioning. I've gone ahead and updated the script on DD to match: http://www.dynamicdrive.com/dynamici...circletext.htm

p.s: I never realized this until now, but orientation wise the script has always shown the circling message in a "mirror writing" way whenever the text comes into the foreground. Probably an error in the Math the original author either didn't realize, or realized too late into writing the script. lol
__________________
DD Admin
Reply With Quote
  #3  
Old 09-20-2008, 02:55 AM
jscheuer1's Avatar
jscheuer1 jscheuer1 is offline
No Kidding?
 
Join Date: Mar 2005
Location: SE PA USA
Posts: 18,997
Thanks: 19
Thanked 1,133 Times in 1,119 Posts
Blog Entries: 3
Default

Quote:
Originally Posted by ddadmin View Post
Nice update!
Thanks!

Quote:
Originally Posted by ddadmin View Post
I never realized this until now, but orientation wise the script has always shown the circling message in a "mirror writing" way whenever the text comes into the foreground. Probably an error in the Math the original author either didn't realize, or realized too late into writing the script. lol
Well, if I understand what you are saying, yes and no. I think Tim just liked the way it looked with the upper portion of the circle/oval being able to be read LTR. However, Tim also provided (and I preserved, from the update code):

Quote:
Code:
// Rotation speed, set it negative if you want it to spin clockwise (decimals allowed)
var rotation = 0.4;
So, if you want the lower portion of the circle/oval to read LTR, just use a negative value for 'rotation'. Of course, this will make the upper portion RTL, but in a rotating circle/oval, you cannot have both upper and lower go in the same direction.
__________________
WWWWWWWWWWWW
- John
________________________

Really Show Your Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:02 PM.

Home - Contact Us - Archives - Link to DD - Top 

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.