Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Picture fading into home page?

  1. #1
    Join Date
    Jul 2007
    Posts
    35
    Thanks
    25
    Thanked 0 Times in 0 Posts

    Default Picture fading into home page?

    Probably not the right section to post this at all, so please excuse me.

    Does anyone know if there’s a way that, once a URL is opened, a full page jpg (or whatever) picture can start, as a title page, and then dissolve/fade into the actual home page after a few seconds?

    Hope this makes sense to someone??

    Thanks in advance

  2. #2
    Join Date
    Feb 2007
    Location
    🌎
    Posts
    528
    Thanks
    10
    Thanked 10 Times in 10 Posts
    Blog Entries
    2

    Default

    Do you use Windows?

    Moderator Edit: Stay on topic.
    Last edited by djr33; 07-09-2007 at 08:24 PM.
    ....(o_ Penguins
    .---/(o_- techno_racing
    +(---//\-' in
    .+(_)--(_)' The McMurdo 500

  3. #3
    Join Date
    Jul 2007
    Posts
    35
    Thanks
    25
    Thanked 0 Times in 0 Posts

    Default

    Yes, for now. Thinking of defecting to Linux though.

  4. #4
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    How does that have anything to do with the question asked, techno_race?


    As for the question, I'm not exactly sure how to do this.

    Basically, you could set an image, or even a div with an image in it, to fill the entire screen (using some CSS, probably the float property). Set it to visible, and it's z-index to place it above the rest of the content. Then fade the image, and set the visibility to hidden.
    Fading the image can be accomplished by a loop of changing the opacity, one step at a time, something like 10%, perhaps, depending on how fast/smoothly the script needs to run.

    You might be able to borrow from some scripts for this, such as the lightbox script, but set it onLoad and then, after a timer expires, to fade. That might be the easiest option.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  5. #5
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    I think t_race was getting at the fact that in IE you can blend trans an entire page into another. The first page could have only the image and a meta timed redirect backed up javascript replace timer on it.

    In any case, however it is done, loading up such a large image - if it is large in byte load, say 80k or more as a full screen image might well be, isn't a very good idea.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  6. #6
    Join Date
    Jan 2007
    Location
    The stage
    Posts
    568
    Thanks
    23
    Thanked 6 Times in 6 Posts

    Default

    oooo Very Interesting stuff man. Hold On i might just have what your looking for...
    I gotta go into the folders in my computer, look for it... won't take long

  7. #7
    Join Date
    Jan 2007
    Location
    The stage
    Posts
    568
    Thanks
    23
    Thanked 6 Times in 6 Posts

    Default

    If you download Macromedia Dreamweaver CS3 you will be able to do something like that.
    But one question...
    When the jpg fades/dissolves will the page switch to the index or do you want the content underneath to show, like the image is one layer and the page is another, the image sits ontop and then fades and the page is revealed?

    btw heres the link to the Dreamweaver CS3 Download...
    https://www.adobe.com/cfusion/tdrc/i...ct=dreamweaver
    Its really big and your gonna need to install it, but its worth it...
    You get it free for 30 days

  8. #8
    Join Date
    Jul 2007
    Posts
    35
    Thanks
    25
    Thanked 0 Times in 0 Posts

    Default

    You're right; it is big. I've downloaded it though. Thanks for the link.

  9. #9
    Join Date
    Jul 2007
    Posts
    35
    Thanks
    25
    Thanked 0 Times in 0 Posts

    Default

    Sorry, Rockonmetal, I was too busy playing with Dreamweaver to notice your question . . .

    Yeah, ideally, I’d like the image to be solid, and as it fades, for the index page to show through until only the index page is visible. If that makes sense??

  10. #10
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    With minor configuration and used as an onload event, this script would work to do that:

    http://www.dynamicdrive.com/forums/s...ad.php?t=22534

    However, as I said before, loading up a large image (fading or not) is not such a good idea for folks with dial up or for those times when band-width dips.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •