Eve Support Community
Forums
Eve Community
Customization Ideas
Need Rotating Banner Script|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Groupee Member |
Hi all, try as I might, I could not find a rotating banner script on Yahoo or Google. Can someone give me a specific site i.e. www.site.com/banners/rotating where I can get one? I want the banners to change when the page is refreshed.
Thanks, Kara |
||
|
|
Labtech (Tester of Bits) |
Karajean,
Usually rotating image scripts are written in Javascript. So a quick Google for those key words gave me a bunch of results. Take a look at: this link That should get you started in the right direction (Link updated as it originally posted incorrectly) Thanks, ----- Chris Groupee Labtech |
|||
|
|
Groupee Member |
I really appreciate your reply. What is the name given to a banner that changes only when you refresh the page? That's what I want.
Thanks, Kara
|
|||
|
|
Labtech (Tester of Bits) |
Kara,
To my knowledge, there isn't a specific script designed for banners. You should be able to use most any of the image rotating scripts in your Custom HTML section of the style. Essentially, your banner is the image and it needs to be changed (rotate) with each site refresh. Thanks, ----- Chris Groupee Labtech |
|||
|
|
Groupee Member |
I did not realize I had this tool. How do I access them?
Thanks!
|
|||
|
|
Labtech (Tester of Bits) |
Kara,
I might have been a bit unclear. There isn't a direct method within the Groupee Community to Auto refresh your banners. To have your banner refresh each time a person reloads the page you will need to do the following. 1) Find and select a script via the previously noted Google URL (Note: you will probably need to customize the script a bit to fit your needs) 2) Log into your Groupee Community Control Panel 3) Navigate to Groupee Community > Display > Settings > Edit button for the specific Style you are using > Custom HTML link 4) In here you will add your code for the script. The JavaScript code would go in the First box (This code will be added within the HEAD section of the page) Any HTML needed by the script will go within the second box. (This code will be added After the BODY tag) 5) Press the Save Changes button. At this point the code that you just added will run each time someone loads or reloads your page. Thanks, ----- Chris Groupee Labtech |
|||
|
|
Groupee Member |
Wasn't there a thread here once upon a time started by a Groupee tech with a script that you could incorporate into your HTML code which basically served this purpose? I know you could find something on an outside tech site, but if memory serves me correctly this was almost something that utilized Groupee functionality.
|
|||
|
|
Groupee Newbie |
Hi, I think I know what you are asking. Here is the code that I use on my site.
</td>
<td align="left" width="350">
<a href="http://www.cleangreencafe.com/goupee">
<img border="0" src="http://cleangreencafe.com/images/CGC.gif" width="350" height="80"></a></td>
<script language="javascript">
<!-- Begin
var how_many_ads = 9;
var now = new Date()
var sec = now.getSeconds()
var ad = sec % how_many_ads;
ad +=1;
if (ad==1) {
url="http://www.ewg.org/reports/skindeep2/index.php";
alt="Environmental Working Group";
banner="http://cleangreencafe.com/bannerads/ewg.jpg";
width="468";
height="60";
}
if (ad==2) {
url="http://www.keys-soap.com/tortuga.html";
alt="Try Tortuga Lotion";
banner="http://cleangreencafe.com/bannerads/tortuga.jpg";
width="468";
height="60";
}
if (ad==3) {
url="http://www.keys-soap.com/n_muttineer.html";
alt="Muttineer Pet Shampoo";
banner="http://cleangreencafe.com/bannerads/Muttineer.jpg";
width="468";
height="60";
}
if (ad==4) {
url="http://www.keys-soap.com/n_islandrx.html";
alt="Read Wendy's Story";
banner="http://cleangreencafe.com/bannerads/IslandRx.jpg";
width="468";
height="60";
}
if (ad==5) {
url="http://www.keys-soap.com/ccp51/cgi-bin/cp-app.pl?pg=cat&ref=Intro";
alt="Island Rx Introductory Special";
banner="http://cleangreencafe.com/bannerads/Rx4.jpg";
width="468";
height="60";
}
if (ad==6) {
url="http://www.keys-soap.com/solarrx.html";
alt="Try Solar Rx Nanotechnology Sunblock";
banner="http://cleangreencafe.com/bannerads/SolarRx.jpg";
width="468";
height="60";
}
if (ad==7) {
url="http://www.keys-soap.com/n_windsurfer.html";
alt="Windsurfer Super-Citrus Blend";
banner="http://cleangreencafe.com/bannerads/Windsurfer.jpg";
width="468";
height="60";
}
if (ad==8) {
url="http://www.keys-soap.com/n_galleyon.html";
alt="Try Galleyon";
banner="http://cleangreencafe.com/bannerads/Galleyon.jpg";
width="468";
height="60";
}
if (ad==9) {
url=" http://www.keys-soap.com/ccp51/cgi-bin/cp-app.pl?pg=store";
alt="Donate to The EWG";
banner="http://cleangreencafe.com/bannerads/CGC_Bracelet.jpg";
width="468";
height="60";
}
document.write('<right>');
document.write('<a href=\"' + url + '\" target=\"_blank\">');
document.write('<img src=\"' + banner + '\" width=')
document.write(width + ' height=' + height + ' ');
document.write('alt=\"' + alt + '\" border=0></a><br/>');
document.write('</right>');
// End -->
</script>
You need to plug it into the "Insert AFTER Opening Body Tag (HTML Only)" section in the Display Settings area. Just tell the code how many banners you want to have and then fill in the URLs, alt tags etc. Hope this helps you. |
|||
|
|
Groupee Member |
You are terrific! I assume this affect the banners on the forum pages? How can I insert them on my html pahes as well?
Thanks, Kara
|
|||
|
|
Groupee Newbie |
Hi Kara, Are you asking where to put the code in your Groupee HTML or another web site?
Bob |
|||
|
|
Groupee Member |
Hi Bob, I want to put it in the forums and web pages I have stored on the Groupee server.
Kara
|
|||
|
| Previous Topic | Next Topic | powered by eve community |
| Please Wait. Your request is being processed... |
|
Eve Support Community
Forums
Eve Community
Customization Ideas
Need Rotating Banner Script
