Scroller Genie scroller and fluid/centered layout?
Can I make a Scroller Genie scroller move with a fluid/centered layout when the browser window is resized?
Answer:
The scroller is an absolute positioned DIV element, which means that it gets a fixed position in relation to the top/left corner of the document. Thus by default its position does not change when the browser window is resized, whereas e.g. a centered table does (for example)
If you want the scroller to maintain a position in relation to something like a centered table, you will need to ‘anchor’ the scroller to something (e.g. an image) within that table.
For this purpose Scroller Genie comes with an ‘anchoring’ feature, which you can set when inserting the scroller into your page.
But you can also anchor the scroller afterwards using the ‘Scroller Genie - Init’ behavior that is applied to the onLoad event of the <body> tag.
See also: http://www.dmxzone.com/showDetail.asp?TypeId=7&NewsId=6631
Alternatively, you can manually move ALL the scroller code to the position where you want the scroller (eg. inside a table cell) after it has been inserted into the page, and modify its outermost DIV to be relatively positioned instead of absolute.
Comments
Anchor does not work!
Anchor sort of works!
You must me logged in to write a comment.