PDA

View Full Version : Can This Be Done With This Boxing In Script



Markxxx
02-18-2006, 09:00 AM
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

jscheuer1
02-18-2006, 09:18 AM
Replace this:


<div id="i1" class="intro"></div>

with this:


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

Markxxx
02-18-2006, 04:59 PM
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

jscheuer1
02-18-2006, 06:13 PM
In my demo here, 'Hi There!" disappears when the shrinking box does.

Markxxx
02-18-2006, 07:27 PM
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

Twey
02-18-2006, 08:26 PM
I suggest you use an image for the text and specify its size in percent -- should shrink itself.