Rotating Banner 468x60 size

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Rotating Banner 468x60 size
Robert
CZ Super Newbie
Robert has been a member for over 19 year's 19 Year Member
usa.gif
Gender: Male
Website:
Status: Offline
Joined: Aug 06, 2004
0.01 posts per day
Posts: 38
Points: 1,865
   
Hello,
On my site i have block for banners that are 468x60 cenetered i would like to add more to them that people have sent me but not have a block for each like them to rotate every 7 seconds or so in same block is there a block all ready done for that or a code that i can add? Thanks hope someone can help me out



Back to top Reply with quote
#2   
x_webwizard
CZ Active Member
x_webwizard has been a member for over 20 year's 20 Year Member
usa.gif missouri.gif
Occupation: Student
Age: 35
Gender: Male
Website:
Status: Offline
Joined: Jul 08, 2003
0.02 posts per day
Posts: 162
Points: 7,689
 Yahoo Messenger  
do you want like a slide show that goes from one image to another like this one here [ Register or login to view links on this board. ]



Back to top Reply with quote
#3   re: Rotating Banner 468x60 size
Robert
CZ Super Newbie
Robert has been a member for over 19 year's 19 Year Member
usa.gif
Gender: Male
Website:
Status: Offline
Joined: Aug 06, 2004
0.01 posts per day
Posts: 38
Points: 1,865
   
Aslong as each banner can link to it's site it will be fine



Back to top Reply with quote
#4   
Robert
CZ Super Newbie
Robert has been a member for over 19 year's 19 Year Member
usa.gif
Gender: Male
Website:
Status: Offline
Joined: Aug 06, 2004
0.01 posts per day
Posts: 38
Points: 1,865
   


Originally posted by x_webwizard @ Mon Sep 20, 2004 8:07 am:

do you want like a slide show that goes from one image to another like this one here [ Register or login to view links on this board. ]

Opps
Looking at that script how would i use that in my block_banner file?



Back to top Reply with quote
#5   
x_webwizard
CZ Active Member
x_webwizard has been a member for over 20 year's 20 Year Member
usa.gif missouri.gif
Occupation: Student
Age: 35
Gender: Male
Website:
Status: Offline
Joined: Jul 08, 2003
0.02 posts per day
Posts: 162
Points: 7,689
 Yahoo Messenger  
ohh hmm not sure what a black banner file is im more into html and java...what is that anyways lol im up to new things



Back to top Reply with quote
#6   re: Rotating Banner 468x60 size
Kelly_Hero
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
Kelly_Hero has been a member for over 20 year's 20 Year Member
usa.gif southcarolina.gif
Occupation: Web Developer
Age: 59
Gender: Female
Website:
Status: Offline
Joined: Aug 20, 2003
0.50 posts per day
Posts: 3765
Points: 351,412
   
You need a banner rotation script. Although I'm sure there's probably one specifically written for Nuke, here's some links that you might be able to use:
[ Register or login to view links on this board. ] [ Register or login to view links on this board. ] [ Register or login to view links on this board. ] [ Register or login to view links on this board. ]



Back to top Reply with quote
#7   re: Rotating Banner 468x60 size
Robert
CZ Super Newbie
Robert has been a member for over 19 year's 19 Year Member
usa.gif
Gender: Male
Website:
Status: Offline
Joined: Aug 06, 2004
0.01 posts per day
Posts: 38
Points: 1,865
   
Thanks but none of those would do the trick icon_cry.gif
I did find this code tho but trying to get it to work is being a pain or i'm lost on it here it is maybe someone can figure it out? well i cant paste the javacode not allowed or html lines It's just not my night if anyone replys to this let me know if i can mail you or somewhow show the code thanks



Back to top Reply with quote
#8   re: Rotating Banner 468x60 size
Tuffy
CZ Addict
 Codezwiz Site Donator
Tuffy has been a member for over 20 year's 20 Year Member
usa.gif newyork.gif
Occupation: Wedding Photographer
Age: 58
Gender: Female
Fav. Sports Team: NY Mets
Website:
Status: Offline
Joined: Nov 20, 2003
0.10 posts per day
Posts: 724
Points: 127,871
AIM Address Yahoo Messenger  
icon_biggrin.gif You can post code here in the forum - you just have to put code before and /code after it with [ ] around the word code (it is the icon above this box on the left hand side, last row). If it is a jscript code, you have to break up the word s c r i p t to be able to post it. Or, if it is easier, post a link to the specific code with the url insert (the third from the left icon box). icon_mrgreen.gif



Back to top Reply with quote
#9   re: Rotating Banner 468x60 size
Robert
CZ Super Newbie
Robert has been a member for over 19 year's 19 Year Member
usa.gif
Gender: Male
Website:
Status: Offline
Joined: Aug 06, 2004
0.01 posts per day
Posts: 38
Points: 1,865
   
Ok this part goesin to the head or in my case the my_header.php file but i know you cant just paste it in there like this has to be like echo but dont know how to use it with javascripts?
<S C R I P T L A N G UA G E="JavaScript" type="text/javascript">
<!--
//JavaScript Rotating Banners
//copyright daxassist, 2000-2004
//visit [ Register or login to view links on this board. ] for this and other javascripts with full tutorials.

//specify interval between rotating banners (in mili seconds)
var currentlink = 0;
var currentimage = 0;
var delay = 2000;
var newbrowser = true;

//specify banners
if(document.images) {
banpics = new Array();
banpics[0] = new Image();
banpics[0].src = "http://www.yourdomain.com/banners/banner01.jpg";
banpics[1] = new Image();
banpics[1].src = "http://www.yourdomain.com/banners/banner02.jpg";
banpics[2] = new Image();
banpics[2].src = "http://www.yourdomain.com/banners/banner03.jpg";
banpics[3] = new Image();
banpics[3].src = "http://www.yourdomain.com/banners/banner04.jpg";
banpics[4] = new Image();
banpics[4].src = "http://www.yourdomain.com/banners/banner05.jpg";
banpics[5] = new Image();
banpics[5].src = "http://www.yourdomain.com/banners/banner06.jpg";

//specify banner links
banlinks = new Array();
banlinks[0] = "http://www.domainaddress1.com";
banlinks[1] = "http://www.domainaddress2.com";
banlinks[2] = "http://www.domainaddress3.com";
banlinks[3] = "http://www.domainaddress4.com";
banlinks[4] = "http://www.domainaddress5.com";
banlinks[5] = "http://www.domainaddress6.com";

}

function bannerchanger(from) {
if(document.images) {
document.images[from].src = banpics[currentimage].src;
currentlink = currentimage;
if (currentimage < banpics.length-1)
currentimage = currentimage + 1;
else
currentimage = 0;
setTimeout("bannerchanger('" + from + "')", delay);
}
}

function FollowLink() {
if(document.images) {
if (newbrowser == true) {
window.open(banlinks[currentlink], 'newwindow', '', false);
} else
document.location.href = banlinks[currentlink];
}
}

//-->
</s c r i p t>


and this part of code goes where you want the banner in my case i have a block called block-banners.php

a href="javascript:FollowLink();"><img id="banner" name="banner" src="http://www.daxassist.com/banners/rotban1.gif" border=0>
and i would add content .= with the money sign in front
its just the top part of the code i am lost at? Thanks



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum