.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old March 28th, 2005, 12:22 AM
Wolf_22 Wolf_22 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 6 Wolf_22 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 38 m 37 sec
Reputation Power: 0
Send a message via Yahoo to Wolf_22
Unhappy <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)...

Reply With Quote
  #2  
Old March 28th, 2005, 12:25 AM
Wolf_22 Wolf_22 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 6 Wolf_22 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 38 m 37 sec
Reputation Power: 0
Send a message via Yahoo to Wolf_22
And by the way (so your not thinking I'm too terribly ignorant), those statement slashes weren't there when I tried coding this all... I just forgot to take that out of this quote in this thread... So just pretend they aren't there.

Reply With Quote
  #3  
Old March 29th, 2005, 07:58 AM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,886 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 19 m 35 sec
Reputation Power: 18
This looks like more of a Javascript question than .NET
Moderators: It should be moved to the appropriate forum

Wolf_22, where do you want the image to show?
Meaning, in a specific place on the other page, or wherever this Javascript is placed?

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgramming.NET Development > <IMG> tag in a JavaScript file? Help...


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.

© 2003-2018 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap