Thanks
]]>It’s a simple operation, whereby the .js points to a directory of images and gives instructions for these to be rotated. The forum’s header contains:
<script language=”JavaScript” SRC=”ultimateBanner.js”></SCRIPT>
which activates and displays the rotating banners.
I’ve been trying to add exactly the same thing to my front page, www.rapnews.co.uk
I’ve added a unique ultimatebanner.js in my default theme’s main directory, and told it to display what images I want et. I’ve been added the script I use in the forum header, to where I’d like it on the index.php.
I’ve had little joy with this. The main page loads slowly and when it’s completed, there’s no image and the status bar reads ‘error in page’.
I can’t think what I’m doing wrong. The official instructions of the script say to insert:
<BODY onLoad=”displayBanners()”>
<A HREF=”javascript:goTo()” onMouseOver=”show(); return true” onMouseOut=”window.status=”; return true”><IMG SRC=”default.jpg” ALT=”Banner” NAME=”img” BORDER=”1″ WIDTH=”400″ HEIGHT=”50″></A>
into the body of the page you want the script on. For whatever reason years go, I didn’t use this for the forums. However, I’ve tried this on the main page and it too poses errors. It merely displays an unloaded image called ‘default.jpg’. This isn’t referenced in the .js nor does it exist.
For the time being, I’ve deleted all script and desired images for the main page, and merely have a static, non rotating image up.
Any help would be highly appreciated. Thanks, Tony.
]]>1. Advertising
2. Links
3. Stats
4. Posts
And whatever else that would logically be associated with each main category.
Your assistance appreciated.
]]>I run www.rapnews.co.uk and I was wondering how hard it would be for a novice user of wordpress to make an alteration to my main page’s design, so that there was a banner at the top of the list of posts, beneath the header image.
What I’m aiming to do is something similar to what’s show in this photoshop mockup:
https://www.rapnews.co.uk/images/Image1.gif
If I could allow this banner to rotate a few different images in the same location, that’d be great also.
Thanks for any advice in advance.
]]>