Rotating banner help??
+4
SnowQueen
Jalokim
Sanket
Metina
8 posters
Page 1 of 1
Rotating banner help??
I am trying to rotate a few banners and have found a code generator, but where I put the single banner code under General->Site Description, the code is way to long and the character limit kicks in.
Anyone know a solution to this?
Thanks in advance!
-Metina
Anyone know a solution to this?
Thanks in advance!
-Metina
Re: Rotating banner help??
Metina, Are you trying to have a banner, which basically keeps on changing from one banner to other. If yes, the easiest way is to create a gif & add it, instead of creating a code.
If you have links to all the image, please provide. I could probably help you in creating a gif.
If you have links to all the image, please provide. I could probably help you in creating a gif.
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Rotating banner help??
I've been trying to get a rotating banner on this site since I started here...
it was my first suggestion.
unfortunatly as you say the code won't fit in the description... and gifing the banner isn't really the point. You want a different banner with every refresh.
you have the code in html right?
could you post it here... I'll try an old trick that didn't work when I tried ...maybe your code will be better
it was my first suggestion.
unfortunatly as you say the code won't fit in the description... and gifing the banner isn't really the point. You want a different banner with every refresh.
you have the code in html right?
could you post it here... I'll try an old trick that didn't work when I tried ...maybe your code will be better
Jalokim- Energetic
- Posts : 6113
Reputation : 223
Language : English,Polish,CSS,HTML
Location : Poland
Re: Rotating banner help??
Thanks for the offers.
Here is the code that I generated from here: http://www.htmlbasix.com/banner.shtml
One would wonder if disabling the character limit in that section could remedy this problem.
<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_cnt1 = 2;
var ad1 = rand(ad_cnt1);
var link1;
var adBanner1;
var width1
var height1
if (ad1==1) {
link1="www.funfacepaint.com";
adBanner1="https://2img.net/r/ihimizer/img23/2631/23927792541234015300yc6.jpg";
width1="728";
height1="90";
alt1="";
}
if (ad1==2) {
link1="http://www.swirlycurls.com/FacepaintforumStore.html";
adBanner1="https://2img.net/r/ihimizer/img132/8223/23927685571233949750cs6.jpg";
width1="728";
height1="90";
alt1="";
}
document.write('<center><a href="' + link1 + '" target="_top">');
document.write('<img src="' + adBanner1 + '" width=' + width1 + ' height=' + height1 + ' border=0 alt="' + alt1 + '"></a>');
document.write('</center>');
// End -->
</script>
Here is the code that I generated from here: http://www.htmlbasix.com/banner.shtml
One would wonder if disabling the character limit in that section could remedy this problem.
<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_cnt1 = 2;
var ad1 = rand(ad_cnt1);
var link1;
var adBanner1;
var width1
var height1
if (ad1==1) {
link1="www.funfacepaint.com";
adBanner1="https://2img.net/r/ihimizer/img23/2631/23927792541234015300yc6.jpg";
width1="728";
height1="90";
alt1="";
}
if (ad1==2) {
link1="http://www.swirlycurls.com/FacepaintforumStore.html";
adBanner1="https://2img.net/r/ihimizer/img132/8223/23927685571233949750cs6.jpg";
width1="728";
height1="90";
alt1="";
}
document.write('<center><a href="' + link1 + '" target="_top">');
document.write('<img src="' + adBanner1 + '" width=' + width1 + ' height=' + height1 + ' border=0 alt="' + alt1 + '"></a>');
document.write('</center>');
// End -->
</script>
Re: Rotating banner help??
just like I though.
you code does work but there is no way to get it on forumotion. there used to be a service call script generator... it shortened your code to the exact length and it was possible to add many different scripts.
now the script generator doesn't really work... but even back then it didn't.
There is a thread in the suggestions forum about this... leave your vote maybe the techies will get to it
you code does work but there is no way to get it on forumotion. there used to be a service call script generator... it shortened your code to the exact length and it was possible to add many different scripts.
now the script generator doesn't really work... but even back then it didn't.
There is a thread in the suggestions forum about this... leave your vote maybe the techies will get to it
Jalokim- Energetic
- Posts : 6113
Reputation : 223
Language : English,Polish,CSS,HTML
Location : Poland
Re: Rotating banner help??
I went to the suggestion section and there are 42 pages of suggestions. So I went to rejected and HTML banners was already rejected without a reason.
Do you think if we just tried to get the character limit removed in the site description box, this would be a quicker way around it?
Do you think if we just tried to get the character limit removed in the site description box, this would be a quicker way around it?
Re: Rotating banner help??
I have one code to rotating banner, but I don't know where I can put it in Panel Admin , help me?
- Code:
<script language="javascript">
hinh=new Array
hinh=["http://i41.photobucket.com/albums/e295/nguyen_khoa91/Big%20Bang/16j51th.jpg","http://i41.photobucket.com/albums/e295/nguyen_khoa91/Big%20Bang/wsfghjkl.jpg","http://i41.photobucket.com/albums/e295/nguyen_khoa91/Big%20Bang/BBbanner.jpg","http://i41.photobucket.com/albums/e295/nguyen_khoa91/Big%20Bang/bigbang3banner.jpg","http://i41.photobucket.com/albums/e295/nguyen_khoa91/Big%20Bang/bigbang4banner.jpg"];
i=0
function chuyenhinh()
{
h.filters.blendTrans.apply();
document.h.src="banner/"+hinh[i]
h.filters.blendTrans.play();
i++;
if (i>4)
i=0;
setTimeout("chuyenhinh()", 5*1000);
}
</script>
SnowQueen- New Member
- Posts : 16
Reputation : 0
Language : English
Re: Rotating banner help??
Snowqueen. Right now you can put 1 banner in the Site Despcription box under General, Configuration. Only problem is that you can easily fit the code in for one banner and its link, but the code you pasted above will not fit.
This is what we are trying to figure out. We know how to get the code, but where can we imput it.
This is what we are trying to figure out. We know how to get the code, but where can we imput it.
Re: Rotating banner help??
If you have web hosting, you can doing using PHP + URL Rewriting, find urself a free host (zymic is a good one) - and google it.
Re: Rotating banner help??
Still hoping that an admin will help with this. Please. This really seems close to many of our hearts. We work really hard on a forums to gain membership, pay the forumotion fees ect., we should be able to get sponsors to help us cover the costs of our efforts and expenditures and without this, we can only have one sponsor.
Please help us or maybe offer other solutions??
Please help us or maybe offer other solutions??
Re: Rotating banner help??
@ metina: i don't have the code to put flash in Homepage message, do you have?
SnowQueen- New Member
- Posts : 16
Reputation : 0
Language : English
Re: Rotating banner help??
Still hoping admins will help.
No code for flash, just the code that will allow us to have multiple banners rotating on our forums, just no where to put it.
No code for flash, just the code that will allow us to have multiple banners rotating on our forums, just no where to put it.
Re: Rotating banner help??
Hi there,
I have just started to work with the OpenX banner system:
https://adserver.openx.org - www.openx.org
In that system I create a banner zone - eg. to be used for a top banner on the forum.
When I have linked my banners to the respective zone, I make an 'invocation code' to put on my website.
I can choose between different code types, and if I choose the 'Image type' the code is short enough to fit in the site description.
You can see my code from OpenX here:
It seems to work on my forum - http://karting.danskforum.net.
I have just started to work with the OpenX banner system:
https://adserver.openx.org - www.openx.org
In that system I create a banner zone - eg. to be used for a top banner on the forum.
When I have linked my banners to the respective zone, I make an 'invocation code' to put on my website.
I can choose between different code types, and if I choose the 'Image type' the code is short enough to fit in the site description.
You can see my code from OpenX here:
- Code:
<a href='http://d1.openx.org/ck.php?n=a00d6a0d&cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://d1.openx.org/avw.php?zoneid=20169&n=a00d6a0d' border='0' alt='' /></a>
It seems to work on my forum - http://karting.danskforum.net.
Torbenr- New Member
- Posts : 7
Reputation : 0
Language : Danish
Re: Rotating banner help??
I can see that my link in the post above is wrong - because of the . in the end of the link it goes to a French site.
My site with the rotating banner code is here:
http://karting.danskforum.net/
My site with the rotating banner code is here:
http://karting.danskforum.net/
Torbenr- New Member
- Posts : 7
Reputation : 0
Language : Danish
Re: Rotating banner help??
I learned something new today.. thank you very much Torbenr!!!
nazadarna- Forumember
- Posts : 36
Reputation : 0
Language : English/ Tagalog
Re: Rotating banner help??
Torbenr thanks so much for this. I have watched the tutorial and think I may be able to figure this out.
Thanks again!
-Metina
Thanks again!
-Metina
Re: Rotating banner help??
i still dun get it.
carpalace- Forumember
- Posts : 103
Reputation : 0
Language : english
Similar topics
» Rotating Banner
» Alternating Banner Code?
» Rotating banner
» Problem with rotating banner, please help.
» Rotating Banner Issue
» Alternating Banner Code?
» Rotating banner
» Problem with rotating banner, please help.
» Rotating Banner Issue
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum