MyBB Community Forums

Full Version: Banner Code
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have this code which should add a small band/banner accross one corner of my screen to display an award
however it doesn't work can someone help me create a code or edit this one so it does.
The code is in my portal code which is global. Thanks.

<style><!-- @import url(http://www.webpost.net/ka/kajiaisucoding/supportbanner.css);--></style><script type="text/javascript"><!--/*|'Support Banner' Code by Derek Walker (aka Virus)||Coding Inspired By the 'Make Poverty History' bands.|[ http://www.makepovertyhistory.com ]*/document.write('<div class="SupportBanner"><img src="http://horseworldforum.co.uk/images/CUSTOM/BBA.gif" width="163" height="163" border="0" usemap="#BannerMap"></div>' + '<map name="BannerMap"><area shape="poly" coords="0,0,163,163,163,133,30,0" href="http://horseworldforum.co.uk/awards.php" target="_self"></map>');--></script> 
What Exactly are you trying to do?
(2009-09-14, 04:08 AM)Lyndon Wrote: [ -> ]What Exactly are you trying to do?

Display this award in the corner of the screen.
The award is going to go on the portal, which is global.
http://horseworldforum.co.uk/images/CUSTOM/BBA.gif
Can anyone help me with the code?
Thanks
So the image links to http://horseworldforum.co.uk/awards.php ?

If so, you can try this:
<script language="javascript" type="text/javascript">
document.write('<a href="http://horseworldforum.co.uk/awards.php" target="_self"><img src="http://horseworldforum.co.uk/images/CUSTOM/BBA.gif" border="0" width="163" height="163" style="position:absolute; right:0px; top:0px; margin:0 0 0 -163px; padding:0px"></a>')
</script>
Gordie - Perfect thank you, that's just what I wanted Big Grin