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
Solved

How do they do this banner ad?

Posted on 2007-11-20
6
394 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 51

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
Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

 
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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

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.
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
In this tutorial viewers will learn how to style different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

829 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