Home » DHTML » Article
DHTML Diagonal Scroller
|
| Article by: | Premshree Pillai (8/28/2002) |
|
| Sponsored by: | FindMyHosting - Web Hosting Search |
| Summary: | Scroll text horizontally when the user hovers over a link. |
|
| Viewed: 43126 times |
Rating (14 votes): |
|
4.3 out of 5 |
|
|
|
DHTML Diagonal Scroller
This script is a simple modification of Link Hint Scroller. The only difference here is that the hint will scroll diagonally.
When you move your mouse over the link a hint or something about the link will appear below the link in a diagonally scrolling fashion. When you move your mouseout the scrolling will stop.
There are a few variables you can change:
scroll_height : Scroll height variable (150 here)
time_length : Speed of scroll (50 here, meaning after 50 milliseconds the hint will change position by 1 pixel i.e a speed of 20 pixels/second)
begin_pos : Beginning position of hint (20 here)
To use this Javascript, firstly you must copy the script and place it in the head section.
Now place the following within the body of the page:
|
|
View highlighted Comments
User Comments on 'DHTML Diagonal Scroller '
|
Posted by :
Archive Import (Kaltun) at 06:42 on Monday, March 03, 2003
|
How shall I move an image from left to right across the screen
place email me back
| |
Posted by :
Archive Import (TAHA) at 08:25 on Tuesday, March 25, 2003
|
How shall I move an image from left to right across the screen
place email me back
| |
Posted by :
Archive Import (Yeong-Dong Han) at 00:30 on Thursday, September 18, 2003
|
How shall I move an image from left to right across the screen
place email me back
| |
|
To post comments you need to become a member. If you are already a member, please log in .
| RELATED ARTICLES |
Creating CSS Buttons by Thomas D. Greer
With Cascading Style Sheets, you can turn ordinary hyperlinks into fully functional "buttons", without using JavaScript. |
 |
DHTML Horizontal Scroller by Premshree Pillai
Scroll text horizontally when the user hovers over a link. |
 |
DHTML Javascript Ticker by Premshree Pillai
This is a JavaScript Ticker which ticks a number of messages like the one shown above. It also has a useful 'Show All' feature. |
 |
Manipulate Scrollbar Colors Using CSS and JavaScript by Mike Thompson
The thing about the default color of scrollbars is that it's dull and ugly -- usually this color is gray. Wouldn't it be nice to change this color to better fit the overall theme of your site? Luckily, Cascading Style Sheets and JavaScript can be used to do just that!
|
 |
Simple Thumbnail Browsing Solution by Troy Wolf
This simple script allows the user to select from several thumbnail images and view the larger image, using a mixture of DHTML and Cascading style sheets. |
 |
DHTML News Bar by Premshree Pillai
This is the News Bar script which displays a number of messages and rotates them using DHTML. |
 |
DHTML Scrolling Image by Premshree Pillai
Using this script the user can scroll an image left or right by clicking a buttong
|
 |
DHTML Zoom In and Out Script by Premshree Pillai
Using zoOom, you can zoom in and zoom out any image that is specified in the code.
|
 |
Simple Mouse Trail using VB Script by Jeff Anderson
With IE gaining in prominence every day, it's becoming acceptable to use VBScript in web pages. That makes some activities like the mouse trail a real cinch. |
 |
Mouse Trail with Text by Jeff Anderson
A Classic Mouse Trail Script, with configurable text, rather than images. We chose `I love you` for our text - what will you chose? |
 |
| |