How to make splash.js links?

A place to ask questions and get help. Be the first on your block to post ...

Postby saltybeagle » Thu Apr 26, 2007 3:47 pm

I would replace the code you currently have:
Code: Select all
<img alt="" id="splashRandomImg" src="" />
<script type="text/javascript" src="../sharedcode/splash1.js"></script>

With another modeled after the leftRandomPromo

Code: Select all
<div id="splashRandomPromo">
   <a href="#" id="splashRandomPromoAnchor" class="imagelink"><img src="" alt="" id="splashRandomImg" /></a>
   <script type="text/javascript" src=""></script>

Which I tested on ... ixed.shtml

In this I provide a default image in case the user doesn't have javascript, which I would encourage you to do --- also add in a default URL to take the user to, and some alt text for the default image. Then I think you're good to go.

Right now we don't have any fading .js image transitions built into the template... but contributions are welcome.
Brett Bieber
Posts: 376
Joined: Fri Jan 16, 2004 3:10 pm
Location: 321 Admin

Return to Help & Assistance

Who is online

Users browsing this forum: No registered users and 1 guest