
March 28th, 2005, 01:22 AM
|
|
Registered User
|
|
Join Date: Feb 2004
Location: Cloverdale, IN
Posts: 5
Time spent in forums: 32 m 5 sec
Reputation Power: 0
|
|
<IMG> tag in a JavaScript file? Help...
Okay, here is my code that I downloaded from a place called "DynamicDrive" (which is a REALLY great place to get free JavaScript)...
Quote:
hdrFontFamily="verdana";
hdrFontSize="2";
hdrFontColor="white";
hdrBGColor="#170088";
hdrAlign="left";
hdrVAlign="center";
hdrHeight="15";
linkFontFamily="Verdana";
linkFontSize="2";
linkBGColor="white";
linkOverBGColor="#FFFF99";
linkTarget="_top";
linkAlign="Left";
barBGColor="#444444";
barFontFamily="Verdana";
barFontSize="2";
barFontColor="white";
barVAlign="center";
barWidth=20; // no quotes!!
barText="†";// <IMG src="sliderHandle.jpg" height="120" width="20" name="handlePic">;// tag supported. Put exact html for an image to show. |
Now as you can see, this is some JavaScript, and what I'm trying to do is make the <IMG> tag locate and direct the file "sliderHandle.jpg" onto my html page. Now I've tried everything to get this JS file to make it show the pic on my site, but FrontPage keeps complaining about my syntax. So could one of you scientists help me out? I'd really appreciate it! The author has stated that "the exact syntax must be typed in", which is what I've thought I've done, but accourding to FrontPage...
Thanks a bunch guys (and or gals)...
|