SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: Fade and shrink

  1. #1
    SitePoint Addict
    Join Date
    Apr 2010
    Posts
    278
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Fade and shrink

    I have a website homepage which has clickable links.
    On top of this homepage I have a black background div with a logo. The idea is for the black div and logo to fade - this I've done. However I also need this div to shrink after its faded so I can click the links below, and that's where I am having difficulty. Can anyone point me to a tutorial or example of how to fade and then shrink a div?
    Thanks in advance.

  2. #2
    SitePoint Addict
    Join Date
    Apr 2010
    Posts
    278
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I don't know how, but I actually managed to get this working. I now have a problem with one of the scripts on the page. The script adds a star effect to the cursor, but this doesn't show until the black div has faded to a certain degree. Has anyone any ideas where I could be going wrong?

    I have main content....
    On top of this I have a div which has a black background and which fades.
    In the black background div is a div where the cursor star animation is called - but this doesn't work until the black background div has faded to about 80% and stops when the black div is completely faded.


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
  •