//flex table opened by JP

Click to See Complete Forum and Search --> : need javascript help ASAP


whorush
08-27-2000, 11:49 AM
hey guys, im trying use this text scroller script by cheesehead enterprises, the thing is I CANT CENTER IT. i can only put it in fixed locations, but then if the person is using a different size monitor it will look like ****. i need it to be in the center of the screen at all times. here is the url for the script, its really short and im sure this is real easy, i just dont see it. thanks a million in advance, brad
http://javascripts.earthweb.com/earthweb/template/printFile.jhtml?filename=%2Frepository%2F%2Fwebdev %2Fcontent%2Fsoftware%2F2000%2F06%2F23%2FJS_28603% 2Fscript28603.html

CujoRbd
08-27-2000, 10:51 PM
try this: http://techis.virtualave.net/script.htm (beware of the popup!)

just right-click and view source. it's exactly the same as the page you provided, but with a couple simply modifications. now it's centered. i hope this is what you meant!

later.


CujoRbd

qball
08-29-2000, 03:12 PM
Boy am I stupid, try this instead of the other stuff;

This will place the top left corner of your DIV at 50% down and to the right. You may want to tweak for size of div.

<div id="divCont" style="position:relative; width:250; height:200; left:50%; top:50%;">

whorush
08-29-2000, 07:49 PM
i love you guys, thanks to you my webpage...
http://remus.rutgers.edu/~bradc/

will hopefully be a big success!

qball
08-30-2000, 01:40 PM
Guess dear old Rutgers has changed since my time there.

Anyway, I took a look at the site and not only is the concept excellent, you seem to have implemented the site very well also.

Good luck.