Not signed in (Sign In)

SkillShare - A place to discuss Web Standards and Web Design topics

Categories

Vanilla 1.1.9 is a product of Lussumo. More Information: Documentation, Community Support.

  1.  permalink
    I'd like to implement a contractible header with a slide effect on my site, similar to the one used by Shaun Inman (http://shauninman.com). I tried viewing his source code but was re-directed to a 404 page (clever bastard).

    Can somebody please tell me where to find a free script that does this, or another site that's implemented it?
    •  
      CommentAuthoradjustafresh
    • CommentTimeJun 23rd 2006 edited
     permalink
    Here's a link to Inman's code:
    http://www.shauninman.com/assets/js/si-object.js
    Not such a clever bastard as you may think.

    I've done something similar on my site with relatively little code. I'll let you figure out how to find it: http://adjustafresh.com
  2.  permalink
    I've already tried accessing Shaun's script with that URL, only this time instead of being re-directed to a 404, I got a 403: Forbidden error.

    However, your script looks promising. I'll give it a try. Thanks!

    EDIT: Your script has a noticeable flicker on pageload. Any idea how you could fix this?
  3.  permalink
    Libraries such as Moo.FX have this sort of functionality out of the box, may be worth looking into.
  4.  permalink
    Moo is a bit more lightweight, but you might also want to take a look at Script.aculo.us. Check out effect.toggle in scriptaculous wiki.
    •  
      CommentAuthornifkin
    • CommentTimeJun 24th 2006
     permalink
    jQuery features built-in slideUp/slideDown functions as well. (Use docs are here.)
  5.  permalink
    Ehhh... thanks, but I'd prefer not using script libraries.
  6.  permalink
    Nevermind, I found what I was looking for! Thanks anyway.
    • CommentAuthoradriennee
    • CommentTimeJan 4th 2007
     permalink
    mind linking it?
Add your comments
    Username Password
  • Format comments as (Help)