?
Solved

How do they do this banner ad?

Posted on 2007-11-20
6
Medium Priority
?
398 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 53

Assisted Solution

by:Ryan Chong
Ryan Chong earned 200 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 1800 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
Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

 
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

WordPress Tutorial 3: Plugins, Themes, and Widgets

The three most common changes you will make to your website involve the look (themes), the functionality (plugins), and modular elements (widgets).

In this article we will briefly define each again, and give you directions on how to install them.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Suggested Courses

770 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