Results 1 to 6 of 6

Thread: Can This Be Done With This Boxing In Script

  1. #1
    Join Date
    Feb 2006
    Posts
    68
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Can This Be Done With This Boxing In Script

    I found this script

    http://www.dynamicdrive.com/dynamicindex3/document7.htm

    It's pretty cool, I am trying to see if it'd be possible to do this

    Instead of just having the background white box shrink in, would it be possible to have that white box AND some text words as well shrink in.

    I was thinking like the name of your website perhaps.

    So as the background white box shrinks, the name of your websites shrinks with it, eventually leaving your website

    I can't think of how to do this

    Thanks

    mark

  2. #2
    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

    Replace this:

    HTML Code:
    <div id="i1" class="intro"></div>
    with this:

    HTML Code:
    <div id="i1" class="intro"><div style="position:absolute;top:48%;left:47%;">Hi There!</div></div>
    - John
    ________________________

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

  3. #3
    Join Date
    Feb 2006
    Posts
    68
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    On the right track..

    But what I was looking for, using jscheuer1's example is this

    In that example the "in my base white" background box fades it leaves the phrase "Hi There" to be seen. It's underneath the fading background box

    I was looking for something that would allow the "Hi There" to be ON TOP of the "white shrinking box background"

    And as the box shrinks so would the words, in this case "Hi There."

    Until the white box fades out and so does the words "Hi There."

    Does that make sense?

    Thanks for the help

  4. #4
    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

    In my demo here, 'Hi There!" disappears when the shrinking box does.
    - John
    ________________________

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

  5. #5
    Join Date
    Feb 2006
    Posts
    68
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Yep it does work

    I dont know what I was doing wrong. So I just wiped it clean and started over and cut and paste. And it works fine

    Now I have to work on seeing if I can get the TXT to shrink as the box does...

    But that's another story

    LOL

    Thank you SO much

  6. #6
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    I suggest you use an image for the text and specify its size in percent -- should shrink itself.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends franšais | entiendo espa˝ol | t˘i Ýt hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

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
  •