WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You

WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You


You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

1Banner Switch Empty Banner Switch Sun Apr 18, 2010 2:05 am

Behavior???


Registered Member
Registered Member
Is there anyway where I can show a Banner in The General off topic Section of my forum and another banner in some other section of my forum and like those?

http://www.thedungeons.info

2Banner Switch Empty Re: Banner Switch Tue Apr 20, 2010 1:57 pm

Behavior???


Registered Member
Registered Member
Bump!

http://www.thedungeons.info

3Banner Switch Empty Re: Banner Switch Tue Apr 20, 2010 2:56 pm

ankillien

ankillien
Administrator
Administrator
Hello,

You can't set particular banner for a particular forum but you can make a random banner rotator which will show a random banner in all forums on each refresh.

4Banner Switch Empty Re: Banner Switch Thu Apr 22, 2010 6:57 pm

Behavior???


Registered Member
Registered Member
And How do we do it?

http://www.thedungeons.info

5Banner Switch Empty Re: Banner Switch Thu Apr 22, 2010 8:12 pm

ankillien

ankillien
Administrator
Administrator
You can put the following code where you want to put the banner.

Code:
<script language="JavaScript"><!--

images = new Array(4);

images[0] = "<a href = '#'><img src='IMAGE 1'></a>";

images[1] = "<a href = '#'><img src='IMAGE 2'></a>";

images[2] = "<a href = '#'><img src='IMAGE 3'></a>";

images[3] = "<a href = '#'><img src='IMAGE 4'></a>";

index = Math.floor(Math.random() * images.length);

document.write(images[index]);

// --></script><br>

You need to edit the href value in <a> tags and src value in <img> tag.

Hope that helps Very Happy

6Banner Switch Empty Re: Banner Switch Thu Apr 22, 2010 10:26 pm

Behavior???


Registered Member
Registered Member
What do I put in <a> ?

http://www.thedungeons.info

7Banner Switch Empty Re: Banner Switch Thu Apr 22, 2010 10:30 pm

ankillien

ankillien
Administrator
Administrator
You need to edit them like this....

Code:
images[0] = "<a href = '#'><img src='IMAGE 1'></a>";

Modify the above into...

Code:
images[0] = "<a href = 'http://WEBSITE_LINK.com'><img src='BANNER URL OF THE SITE'></a>";

Sponsored content


View previous topic View next topic Back to top  Message [Page 1 of 1]

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