|
|
#1 |
|
New Member
![]() Join Date: Aug 2009
Posts: 6
|
I have an advert banner in the header of my web page. When the end-user rolls over it I want it to expand/drop-down to display further information about the advert. This is commonplace in rich-media adverts but I can't find any tutorials or resources to get me started.
Here's an example of the effect: http://www.e-planning.net/products/a...eo_banner.html Here's an image of what I'm trying to achieve: ![]() What's the best way to acheive this? Jquery? Flash? Ajax? Any links would be greatly appreciated. |
|
|
|
|
|
#2 |
|
Gold Member
![]() Join Date: Oct 2008
Location: Yonkers, NY
Posts: 495
|
jQuery would work just fine.
I prefer to use the ddlevelsmenu.js, which you can find here: http://www.dynamicdrive.com/dynamici...menu/index.htm -Lou |
|
|
|
|
|
#3 |
|
Gold Member
![]() Join Date: Nov 2009
Location: New York
Posts: 370
|
JQ will do but you can do this with simple CSS.
#element #stuff-to-show { display: none; } #element:hover #stuff-to-show { display: block; } Obviously this is just an example not complete code. |
|
|
|
|
|
#4 |
|
Super Moderator
![]() Join Date: Oct 2008
Location: Arizona, USA
Posts: 1,053
|
If you just want the expanded area visible while the cursor is hovering over it, then all you will only need CSS (use the :hover psuedo class)
If you want it to stay expanded even if the cursor is no longer hovering over the element, then that will take javascript. JQuery would be great here. Flash would also work, but its not my first choice.
__________________
John Darling Graphic / Web Designer SmarterTools Inc. (877) 357-6278 www.smartertools.com |
|
|
|
|
|
#5 | |||
|
New Member
![]() Join Date: Aug 2009
Posts: 6
|
Quote:
Quote:
Quote:
I was hoping to find specific tutorials and resources. Rich media expanding banners are commonplace. Perhaps they're all using different approaches and not sharing the wisdom. ![]()
Last edited by rexusdiablos; 09-22-2010 at 08:54 PM. Reason: Typo |
|||
|
|
|
![]() |
| Tags |
| banner, how to, rich media, tutorial |
| Thread Tools | |
| Display Modes | |
|
|