SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Enthusiast
    Join Date
    Oct 2004
    Location
    IL
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Control the direction of a drop-down menu

    Can i control the direction that a drop-down menu open up?

    I think it's impossible and i have a big problem with a site i've just redesigned and the drop-down menu is huge and takes the whole above the fold/center of the page, therefore i can't put any adsense ads around it.

    In the old design i've made a decent revenue from adsense and now with the new design i had to put the ads on the sides and below the fold and the revenue went down drastically.

    If i could make the drop down open only down i could put ads above it or something..

    Any idea ?

  2. #2
    SitePoint Enthusiast
    Join Date
    Jun 2008
    Location
    Toronto, Canada
    Posts
    30
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am pretty sure you can't control an html dropdown menu direction. However to get around it you could create a custom css based dropdown. That way you can control and style it anyway you want.

  3. #3
    SitePoint Enthusiast
    Join Date
    Oct 2004
    Location
    IL
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks. Do you have a link to such code / script ?

  4. #4
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,721
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    It's possible to Google you know. I'd take a script from a site (perhaps a suckerfish menu, google that) and mess with the offset properties to position it how you want. There are vertical and horizontal menus. I doubt you'd want anything else because quite frankly users aren't used to it.
    Always looking for web design/development work.
    http://www.CodeFundamentals.com

  5. #5
    SitePoint Enthusiast
    Join Date
    Oct 2004
    Location
    IL
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •