The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Banner Rotation is not appearing...?

View previous topic View next topic Go down

Banner Rotation is not appearing...?

Post by Neoroify on December 31st 2010, 2:27 pm

Greetings,

I am having few troubles in updating my banner rotator, A new customer bought a place in the rotation, And when i generated the new script, It is not showing up!

Can you tell me why? Here is the code:
Code:


<script type="text/javascript">
<!-- Begin
rnd.today=new Date();
rnd.seed=rnd.today.getTime();

function rnd() {
        rnd.seed = (rnd.seed*9301+49297) % 233280;
        return rnd.seed/(233280.0);
};

function rand(number) {
    var result = Math.ceil(rnd()*number);
    if (!result)result++;
        return result
};
var ad_cnt5 = 3;
var ad5 = rand(ad_cnt5);
var link5;
var adBanner5;
var width5
var height5
if (ad5==1) {
link5="http://ntgamers.darkbb.info/register";
adBanner5="http://i62.servimg.com/u/f62/15/82/02/68/animat11.gif";
width5="468";
height5="60";
alt5="NTGamers - Black Ops Community";
}
if (ad5==2) {
link5="http://adf.ly/?id=95055";
adBanner5="http://adf.ly/images/banners/adfly.468x60.5.gif";
width5="468";
height5="60";
alt5="The URL shortening service that pays you! Earn money for every visitor to your links";
}
if (ad5==3) {
link5="http://icybux.com/index.php?r=b7zQ5NO9x+s=";
adBanner5="http://icybux.com/banner2.gif";
width5="468";
height5="60";
alt5="Icybux - the only PTC you will ever need";
}
document.write('<center><a href="' + link5 + '" target="_blank">');
document.write('<img src="' + adBanner5 + '" width=' + width5 + ' height=' + height5 + ' border=0 alt="' + alt5 + '"></a>');
document.write('</center>');
// End -->
</SCRIPT>

Well..............?


Last edited by Neoroify on January 19th 2011, 9:58 pm; edited 1 time in total

Neoroify
Forumember

Posts : 99
Reputation : 0
Language : English

Back to top Go down

Re: Banner Rotation is not appearing...?

Post by Neoroify on January 1st 2011, 9:04 pm

Bumped.... The customer is frustrated..

Neoroify
Forumember

Posts : 99
Reputation : 0
Language : English

Back to top Go down

Re: Banner Rotation is not appearing...?

Post by Neoroify on January 19th 2011, 9:29 pm

Bumped, I need help!

Neoroify
Forumember

Posts : 99
Reputation : 0
Language : English

Back to top Go down

Re: Banner Rotation is not appearing...?

Post by Neoroify on January 20th 2011, 1:26 pm

Bumped

Neoroify
Forumember

Posts : 99
Reputation : 0
Language : English

Back to top Go down

Re: Banner Rotation is not appearing...?

Post by Adam360 on January 20th 2011, 3:00 pm

forum Url?

Adam360
Forumember

Male Posts : 866
Reputation : 11
Language : English
Location : England

http://GameBase.betaboard.net

Back to top Go down

Re: Banner Rotation is not appearing...?

Post by Neoroify on January 20th 2011, 3:01 pm


Neoroify
Forumember

Posts : 99
Reputation : 0
Language : English

Back to top Go down

Re: Banner Rotation is not appearing...?

Post by Adam360 on January 20th 2011, 3:03 pm

you want it to appear where it says "Advertise your content here"?

Adam360
Forumember

Male Posts : 866
Reputation : 11
Language : English
Location : England

http://GameBase.betaboard.net

Back to top Go down

Re: Banner Rotation is not appearing...?

Post by Neoroify on January 20th 2011, 3:04 pm

Yeah, I have everything set, All what is remaining are the banners to show up! The script has nothing wrong within it, And i am wondering why it is not showing up! Confused

Neoroify
Forumember

Posts : 99
Reputation : 0
Language : English

Back to top Go down

Re: Banner Rotation is not appearing...?

Post by Adam360 on January 20th 2011, 3:08 pm

try using <img src="URL OF BANNER HERE">


Adam360
Forumember

Male Posts : 866
Reputation : 11
Language : English
Location : England

http://GameBase.betaboard.net

Back to top Go down

Re: Banner Rotation is not appearing...?

Post by Neoroify on January 20th 2011, 3:17 pm

Erm... I can not examine the script, I used this generator to generate the banner rotator: http://www.htmlbasix.com/banner.shtml can you help me?
Note: I've chosen the script to cycle the banner every page load, And that's what i want.

Neoroify
Forumember

Posts : 99
Reputation : 0
Language : English

Back to top Go down

Re: Banner Rotation is not appearing...?

Post by Adam360 on January 20th 2011, 3:19 pm

if your putting javascript in your templates, then that may be the problem, i know gangstar15 is good with javascript, but i here he is online a little less this week, he may pop in later and help you.

Adam360
Forumember

Male Posts : 866
Reputation : 11
Language : English
Location : England

http://GameBase.betaboard.net

Back to top Go down

Re: Banner Rotation is not appearing...?

Post by Neoroify on January 20th 2011, 3:21 pm

True, I got that script in my overall_header, where the banners are supposed to show above the "Advertise your content here"

Neoroify
Forumember

Posts : 99
Reputation : 0
Language : English

Back to top Go down

Re: Banner Rotation is not appearing...?

Post by Neoroify on January 22nd 2011, 8:05 pm

Bumped...!

Neoroify
Forumember

Posts : 99
Reputation : 0
Language : English

Back to top Go down

Re: Banner Rotation is not appearing...?

Post by Neoroify on January 25th 2011, 1:53 am

That's alot...... BUMPED!!!

Neoroify
Forumember

Posts : 99
Reputation : 0
Language : English

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum