PDA

View Full Version : Image instead of a Font in Jump toTop



lilyoungfella
07-25-2008, 03:41 AM
1) Script Title:
Jump to Top
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex5/jumptop.htm
3) Describe problem:
Can i just use an image instead of a text?

jscheuer1
07-25-2008, 03:46 AM
In the script, at the beginning, where it has:


//Specify the text to display
var displayed="<nobr><b>[Top]</b></nobr>"

You can put an image tag there like so:


//Specify the text to display
var displayed='<nobr><img src="whatever.gif"></nobr>'