473,587 Members | 2,448 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to get ride of the Caption that says "Rotator" on a bannerrotator?

Hi All,

I have the appended code which I used for a banner rotator. It works
great except that there 1. there is a border which I do not want and
2. on top of the banner there is a black bar with white text "Rotator"
which I also do not want.

Does anyone know how to get ride of the caption and the border?

Excel

=============== =============== =============== ==========
<html>
<HEAD>
<script language="JavaS cript" type="text/JavaScript">
var urlArray = new Array(3); //for URL's, increase size as necessary
var banArray = new Array(3); //for banners, increase size as necessary
var counter = 1;
var url = "http://javascript.inte rnet.com"; //initial URL

//add your necessary URL's
urlArray[0] = "http://www.yahoo.com";
urlArray[1] = "http://www.google.com" ;
urlArray[2] = "http://www.msn.com";

if(document.ima ges) //pre-load all banner images
{
for(i = 0; i < 3; i++)
{
banArray[i] = new Image(468, 60);
banArray[i].src = "banners/banner" + (i+1) + ".jpg";
}
}

function changeBanner() //banner changer function
{
if(counter 2)
counter = 0;

document.banner .src = banArray[counter].src; //sets a new banner

url = urlArray[counter]; //sets a new URL to the banner
counter++; //increase the counter for the next banner
}

//calls the changeBanner() function every 3 seconds
//change the timer as necessary (minutes * 60000) or (seconds * 1000)
var timer = window.setInter val("changeBann er()", 3000);
//-->

</script>
</HEAD>

<BODY>

<a href="#" onClick="window .open(url,'Bann erWin');">
<img src="buy.jpg" border=0 name="banner"></a>
</body>
</html>
Jun 27 '08 #1
2 1403
Sorry, please do not worry about the border line since it came from
the system. I just need to know how to get ride of the caption.
Thanks.

Excel

Jun 27 '08 #2
SAM
Excel 009 a écrit :
Hi All,

I have the appended code which I used for a banner rotator. It works
great except that there 1. there is a border which I do not want and
2. on top of the banner there is a black bar with white text "Rotator"
which I also do not want.

Does anyone know how to get ride of the caption and the border?
addresses of your 3 images please

nothing in your code can do what you say, so the black area an border
are certainly in your images.

--
sm
Jun 27 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
1862
by: jensen bredal | last post by:
I need to keep track on user "session data" while still turning session off as i do not want users login to expire? Thanks JB
12
7460
by: John Connic | last post by:
Hi All: I just setup a new machine with Vista Business Edition and IIS 7. I had to turn on IIS 7 attributes including the IIS Manager. Not sure what options I needed I turn them all on that even remotely look like I might need them. The IIS Manager looks total foreign to me but eventually I figure how to add a virtual folder. I then...
0
1902
by: tom59593 | last post by:
Hi there. I have been attempting (for a few days on end, sadly) to get a navigation section of my new site to work. Granted, this is the first time I've ever written CSS...although I had PLENTY of practice using tables...tee hee. Anyways, this should be EXTREMELY simple...as I want NO rollovers, no fancy hovers, no current-page...
0
7920
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7849
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8347
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
8220
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5718
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5394
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3844
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3879
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1189
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.