Home » questions » open draw style layers seen on yahoo and various news sites?

open draw style layers seen on yahoo and various news sites?

2006-07-31 04:27:03, Category: Programming & Design
I've recently seen various ads on websites like yahoo where the add extend out when rolled over, i'm sure this is probably a layer or something similar. So how's it done? i'm thinking of creating an information bar with a similar feature. Sorry Ana, don't quite get what you mean.

Answers

  1. Ana

    On 2006-07-31 04:50:06


    If is about a simple pull down Menu you can find a free tutorial in java script for doing this at: http://www.peachpit.com/articles/article.asp?p=22184&rl=1 But I belive that what you seen recently is based on AJAX Search the web for basic tutorials I' dont know your level a good resource: http://www.ajaxian.com After understand this and if you like you can use one of the new libray for java script like: prototype scriptaculous mooz.fx yahoo library and others
  2. BoNizzle

    On 2006-07-31 08:29:37


    you can use divs and javascript to make this happen. use the visibility properties of the div and and make sure to the set the div's positioning as absolute. i've done it so that the javascript uses the mouse position to set the divs positioning. you can find lots of samples and tutorials if you search on google or yahoo. try this tutorial: http://www.devarticles.com/c/a/JavaScript/Creating-PopUp-Notes-with-CSS-and-JavaScript-Part-I/