We're a community of 1.1M IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,080,623 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

Hidden div is higher than stage and scroll doesn't fix

Hello, this is my first forum post ever so please be gentle.

I have a hidden menu (div) which is revealed once you click a img button. The magic is done with js command like style.display='block'.

Problem: The height of the page(stage) is 700px and the menu is 1000px, so when the menu is revealed, I see it just partially, because the scroll bar doesn't re-adjust for the 1000px.

If you want to see it by yourself you can please try: http://www.paulopretti.com/mobile/menuCliente.php?cl=ACB (Please click on MENU and than CLIENTES)

Any Clue how to fix this issue? Your help would be much appreciated. Thanks.

1
Contributor
1
Reply
4 Hours
Discussion Span
1 Year Ago
Last Updated
2
Views
Question
Answered
peidoca
Newbie Poster
3 posts since Aug 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

I fixed this changing the hidden div css from position:fixed to position:absolute. This way the scroll grows dinamically. Great stuff, closed case!

peidoca
Newbie Poster
3 posts since Aug 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0
Question Self-Answered as of 1 Year Ago

This question has already been solved: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page generated in 0.2839 seconds using 2.67MB