473,399 Members | 2,478 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

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="JavaScript" 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.internet.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.images) //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.setInterval("changeBanner()", 3000);
//-->

</script>
</HEAD>

<BODY>

<a href="#" onClick="window.open(url,'BannerWin');">
<img src="buy.jpg" border=0 name="banner"></a>
</body>
</html>
Jun 27 '08 #1
2 1393
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
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
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...
0
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...
0
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...

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.