Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • 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!

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

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...I have found your site brilliant. What makes it good are the people that contribute to the site..."

Geography

Where in the world do Tek-Tips members come from?
TobyWoods (TechnicalUser)
5 Dec 11 10:35
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">
<bannerTime>3</bannerTime>
<numberOfBanners>4</numberOfBanners>
<banners showHeader="true">
<banner>
<name>2012 Complete Bikes</name>
<body>2012 Complete Bikes</body>
<imagePath>2012-bikes.jpg</imagePath>
<link>/77/Complete_Bikes.aspx</link>
</banner>
<banner>
<name>Free Headset And BB</name>
<body>Free Headset And BB</body>
<imagePath>frehsetnbb.jpg</imagePath>
</banner>
<banner>
<name>Spend 100 Pounds, Get 15 Pounds Off</name>
<body> Spend 100 Pounds, Get 15 Pounds Off</body>
<imagePath>spend100.jpg</imagePath>
</banner>
<banner>
<name>10 Percent Off Tyres 35 Pounds Or More</name>
<body> 10 Percent Off Tyres 35 Pounds Or More</body>
<imagePath>ty10pct.jpg</imagePath>
<link>/49/tyres.aspx</link>
</banner>
</banners>
</rotator>


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"?>
<adverts>
    <adv>
        <image>
            15bikes.jpg
        </image>
        <link>/77/Complete_Bikes.aspx</link>
    </adv>
</adverts>

Any help would be greatly appreciated; thanks.

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