Forums Archive Index > Cool free scripts > newsbar box placement
Date: 10 Aug 2005 8:15 am
to start with, this is a great script.
I have adjusted the left and top placement of the box and it's fine when using a screen resolution of 1024 x 768 but when you view the box in 800 x 600 it is then out of alignment.
Is there anyway of having different a different left placement for different screen resolutions?
Please say there is!
Date: 10 Aug 2005 11:17 am
You just have to set relative position for the NewsBar box. e.g. set:
n_position='relative';
and then you can set:
n_top=0;
n_left=0;
After that, the box will appear wherever you place the link to the script in the source of the page.
Date: 10 Aug 2005 11:40 am
ok, I have made the changes in the external js file but I am not sure how to put a link to it where I want it to appear - sorry if this seems a little dim!
thank you for your help
Date: 10 Aug 2005 3:55 pm
ok, have got it now. Was using an older script that didn't support 'relative' and have downloaded the recent version and can now link it and put it where I want on the page. Fab!
Thanks for all your help.