Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


XML code for a rotating banner

XML code for a rotating banner

XML code for a rotating banner

Hey guys, recently I've been trying to implement a rotating banner on my store's website. I found a code online, which had positive feedback, which I tried to use. However, this code did not work, and when I try to use it on the website, there is only a 'refresh' sign in the location that the rotating banner should be.

This is the code I found and have adapted (which does not work):

<?xml version="1.0" encoding="iso-8859-1"?>
<rotator isRandom="false">
<banners showHeader="true">
<name>2012 Complete Bikes</name>
<body>2012 Complete Bikes</body>
<name>Free Headset And BB</name>
<body>Free Headset And BB</body>
<name>Spend 100 Pounds, Get 15 Pounds Off</name>
<body> Spend 100 Pounds, Get 15 Pounds Off</body>
<name>10 Percent Off Tyres 35 Pounds Or More</name>
<body> 10 Percent Off Tyres 35 Pounds Or More</body>

This is the code that is currently being used on the website, which is a banner with a link (this code works):

<?xml version="1.0" encoding="utf-8" standalone="yes"?>

Any help would be greatly appreciated; thanks.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close