Solved

How do they do this banner ad?

Posted on 2007-11-20
6
396 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 52

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
Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

 
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

737 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