Go to section on page

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
iknownothing
Forum Contributor
Posts: 337
Joined: Sun Dec 17, 2006 11:53 pm
Location: Sunshine Coast, Australia

Go to section on page

Post by iknownothing »

hey guys,
I have this Flash object, where it scrolls horizontally through a few separate swf's. I've been asked to do a html equivilant page using flat images. I have done this ok using the # anchor, to direct the browser to a particular section of the page, but I was wondering if anyone knew of a way to use an "x index" method to get a more stylish approach (# only goes until the whole object is visible, whereas I would like to have the object centered also)

Thanks.
Xoligy
Forum Commoner
Posts: 53
Joined: Sun Mar 04, 2007 5:35 am

Post by Xoligy »

If you want to reposition elements, you'll have to use Javascript.
User avatar
iknownothing
Forum Contributor
Posts: 337
Joined: Sun Dec 17, 2006 11:53 pm
Location: Sunshine Coast, Australia

Post by iknownothing »

I didnt want to reposition them, just go to the section of the page which contains it, and have it centered.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

That would likely involve repositioning the screen; also Javascript.
Post Reply