onscroll on body

Hii;

i m using the following for scrolling the header frame and body frame together in case of IE.

parent.frames.fr_header.document.body.scrollLeft=document.body.scrollLeft;

But in mozilla, it doesn't work. Is there anyway people can suggest to do the same in Mozilla???

Thanks.
fargo
aks143Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Asta CuTechnical consultant & graphic designCommented:
This may help you.  

The min-width property sets the minimum width of an element and is not inherited
http://www.w3schools.com/css/pr_dim_min-width.asp

CSS1 ?  This is quite informative and may also help.
test cases: CSS - Mozilla
http://www.mozilla.org/newlayout/testcases/css/
0
aks143Author Commented:
hii astaec,

are you sure u responded the correct question??

Anyway, if this is a joke..then please keep it with you.

thanks
aks
0
Asta CuTechnical consultant & graphic designCommented:
Actually was not a joke, trying to learn CSS and Browser Compatibility as well and not my area of expertise; but thought it 'might' shed some light.  Sorry (and surprised) that you found it to be offensive or somehow less than my desire to try and help.  Will unsubscribe this and let others better versed in this assist you.
Asta
0
Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

aks143Author Commented:
Hi,
Well..my question is not related with CSS and is related with Javascript. (NO OFFENSE).

regards
aks
0
Asta CuTechnical consultant & graphic designCommented:
Thanks, understood.  If not already done, might want to explore the JavaScript topic area as well; if timing is an issue and what you need doesn't arrive soon.
http://www.experts-exchange.com/Web/Web_Languages/JavaScript/
0
COBOLdinosaurCommented:
for Mozilla based browsers you need self.pageXOffset instead of document.body.scrollLeft

Cd&
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
aks143Author Commented:
Hii,

I solved my problem using the following in mozilla

parent.frames.fr_header.scrollTo(pageXOffset,0);

Thanks
aks
0
COBOLdinosaurCommented:
Glad we could help.  Thanks for the A. :^)

Cd&
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Browsers

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.