SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    webality...dunno what it means bcp_2005's Avatar
    Join Date
    Jun 2002
    Location
    Huntsville Alabama
    Posts
    394
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    just a few questions

    i have just a few questions:

    first, how do you find the height of a layer

    second: how do you shift a layer up or down.

    third: how do you fade out text.

  2. #2
    Perl/Mason Guru Flawless_koder's Avatar
    Join Date
    Feb 2002
    Location
    Gatwick, UK
    Posts
    1,206
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    var height = document.all.divider.style.pixelHeight

    document.all.divider.style.top +=/-=/= change number

    Fading text is a LOT harder, not impossible though

    You just need to use transitions.

    <div style="filter: progidXImageTransform.Microsoft.Fade(Overlap=1.00); width:400; height:300" name=divider id=divider>

    then to trigger it:

    document.all.divider.filters[0].apply();
    document.all.divider.innerHTML = '';
    document.all.divider.filters[0].play();


    Okie

    Flawless
    ---=| If you're going to buy a pet - get a Shetland Giraffe |=---

  3. #3
    webality...dunno what it means bcp_2005's Avatar
    Join Date
    Jun 2002
    Location
    Huntsville Alabama
    Posts
    394
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    alright that's tite 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
  •