Solved

How do they do this banner ad?

Posted on 2007-11-20
6
391 Views
Last Modified: 2013-11-19
Hi.  I really like the banner ad found here:

http://www.sql-server-performance.com/articles/dev/encryption_2005_1_p1.aspx

(top right).  I know that it is flash, but is there a way for me to do this without flash?  At least the page "leaf" container?  I would like to be able to display either a rotating slideshow of 5 banner adverts, or a single flash movie using this method.

I would like to use CSS entirely if possible, without javascript (or at least a decent fall-back for non-js browsers) and definately without flash (I need to build this into our existing CMS system with relative ease).

Thanks,

TheFoot
0
Comment
Question by:Barry Jones
  • 3
  • 2
6 Comments
 
LVL 49

Assisted Solution

by:Ryan Chong
Ryan Chong earned 50 total points
ID: 20324957
You can try make it as a Animated GIF file, so that it animate and without javascript constraint.

Make sense to you?
0
 
LVL 12

Author Comment

by:Barry Jones
ID: 20324996
Yes I understand.  But I need to dictate what ads are shown inside the folding leaf, through ASP.  A web based admin system is used to manage the banner ads.  Therefore the script that displays the ad "leaf" will retrieve the actual advert binary from the database, and then display it inside the "leaf".  

I was thinking along the lines of; the folding leaf is actually a <div>, and its contents is whatever object is the banner ad (images, flash movie etc).  Maybe playing around with the overlap and scrollbars of the <div> could achieve the hidden effect, but the transition of the div "peeling back" would need to be done in javascript yes?

How do I do that?

Thanks, TheFoot
0
 
LVL 26

Accepted Solution

by:
David Brugge earned 450 total points
ID: 20325046
That banner is pretty neat.

There are two parts to the banner. One is the simple animation that happens on pageload, and yes, it could be done as an animated gif.

The other part is where the page folds down on mouse-ove. That part needs more sophisticated animation (read that java/flash) unless you are willing to settle for a "rollover" type window that is either "peeled back" on mouse-over or "closed" on mouse-out with no animation in between mouse states.

If you are going to try and reproduce the larger "mouse-over" aspect of the banner with a animated gif, it will make for a relatively large file.

I want to see if when you get it done.
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 26

Expert Comment

by:David Brugge
ID: 20325054
opps, you got your reply up before I got mine.
0
 
LVL 26

Expert Comment

by:David Brugge
ID: 20325066
I would make a div that is positioned off of the page, and use the mouse-over to reposition it. You can learn  about this technique by searching for CSS drop-down menu tutorials
0
 
LVL 12

Author Comment

by:Barry Jones
ID: 20325210
Hi D Brugge, thanks for your ideas.  Maybe I should set my sights a little lower for now.. and go with the roll-over type effect.  I could use javascript to perform the transition of the div down and left into the page, revealing the ad, and to hide it.  Non-js browsers would just see the css version; a quick opening without any slides or transitions.  And I guess if they dont have css enabled, then I'm shit outta luck! :)

I really like the reflection effect on the reverse of the page leaf.. but maybe I'll leave that for another day.. lol

Thanks, TheFoot

PS.  I dont plan to start coding this for another 4 weeks or so, but Ill post the URL here (if I can) when it is done.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …
The viewer will learn how to count occurrences of each item in an array.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now