SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Feb 2006
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Darkening Everything, How Do you Do This? Please help!

    Go to http://www.askaninja.com/ and click to play one of the episodes on the "RECENT EPISODES" bar (the ones that say "click to play") and notice how there is a darkening effect to the entire page, with a quicktime object embeded into it that is centered. I want to do the same thing except instead of a quicktime video, I want to embed a flash video.

    How do I make the script darken like that and embed a Flash object in the middle? Or just embedding an image file in the middle is fine to (jpg, png, etc).

  2. #2
    I ♥ PHP
    Join Date
    Jul 2003
    Location
    Melbourne, Australia
    Posts
    579
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here you go Terra812.

    http://particletree.com/features/lightbox-gone-wild/

    Regards,
    Jordan

  3. #3
    SitePoint Wizard gRoberts's Avatar
    Join Date
    Oct 2004
    Location
    Birtley, UK
    Posts
    2,439
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I used a semi-transparent png, some funky coding to make Internet Explorer display it properly, then I used script.aculo.us's Appear and Fade effect to make the semi-transparent background to appear and fade.

    One problem is that a few objects like a drop down box will appear on top of your div with the semi-transparent background. So you need to use hacks or design the page so that none appear above the div.



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
  •