Click to See Complete Forum and Search --> : EULA type scroll text box?????


D.S.R.Clark
07-15-2003, 08:03 PM
I think that I have gone through all of the samples on the main page. But I am unable to find what I am looking for.

What I need is a simple( I hope!) piece of JS that will make a scrolling( Up & Down) window, that has unalterable text. Like a typical EULA box. I found a JS that has the " I agree" button, but cannot find the box.

Thank you David Clark

pyro
07-15-2003, 10:51 PM
Try using CSS:

<div style="border: 1px solid; width:400px; height: 200px; overflow:auto;">
<p>The following text consists of a mock Latin which has been based upon the average frequency of characters and word lengths of the English language in order to reproduce a reasonably accurate overall visual impression. Lorem ipsum dolor sit amet, consectetur adipscing elit, sed diam nonnumy eiusmod tempor incidunt ut labore et dolore magna aliquam erat volupat.</p>
<p>Et harumd dereud facilis est er expedit distinct. Nam liber a tempor *** soluta nobis eligend optio comque nihil quod a impedit anim id quod maxim placeat facer possim omnis es voluptas assumenda est, omnis dolor repellend. Temporem autem quinsud et aur office debit aut tum rerum necesit atib saepe eveniet ut er repudiand sint et molestia non este recusand.</p>
</div>

D.S.R.Clark
07-16-2003, 12:57 AM
I think I found what I was looking for. It's called a i-Frame It scrolls a second page inside a window on the current page.

<iframe name="I1" width="353" height="326" src="The page you want scrolled.htm" align="middle">
Your browser does not support inline frames or is currently configured not to display inline frames.
</iframe></td>


"Your browser does not support inline frames or is currently configured not to display inline frames." is arlternate text.

You just format the text in a table to the width you want. Length does not matter. Drop the code on the page you want the window. Point the code towards the target page. And there you have it

Thanks for the help PYRO !