SitePoint Sponsor |
|
User Tag List
Results 1 to 4 of 4
-
Mar 6, 2001, 18:35 #1
- Join Date
- Nov 2000
- Location
- France
- Posts
- 81
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I'm under the impression generally banner ads should be only animated gifs - for ease of insertion - , but client requests a rollover effect. Can I somehow incorporate the js so it's a complete single package? It's only being placed on 1 or 2 government sites. Thanks.
-
Mar 11, 2001, 05:04 #2
- Join Date
- Apr 2000
- Location
- Mechelen, Belgium, Europe
- Posts
- 684
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally posted by Jasonwcs
I'm under the impression generally banner ads should be only animated gifs - for ease of insertion - , but client requests a rollover effect. Can I somehow incorporate the js so it's a complete single package? It's only being placed on 1 or 2 government sites. Thanks.
-
Mar 13, 2001, 07:58 #3
- Join Date
- Jan 2001
- Location
- Ireland
- Posts
- 9
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Say you've got 2 gifs for the rollover (as is normal).
It's just the case here that the gifs are animated...use JS to trigger the rollover...
(Unless I've misunderstood your question!)Let's be careful out there!
-
Mar 13, 2001, 08:19 #4
- Join Date
- Feb 2001
- Location
- Dùn Éideann, Alba
- Posts
- 72
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Your banner can be premised on a layer. You put your images (animated gifs or not) inside this, and then use CSJS to manipulate them.
Remember, you can create animations from static graphics by using the setTimeout or setInterval setInterval methods to control the frame rate of the individual images.
These images could be image maps, so in theory rolling over an hyperlink in one of the maps could manipulate the entire animation.
It sounds complicated, but it certainly can be done, although i've never had recourse to attempt it before. Moreover, it's a better solution - in terms of usability - than using Flash, because it's based entirely around DHTML and therefore doesn't require any third party plugins.
Cheers. Scot-Bot.
Bookmarks