0

which is the best way to obtain a fixed div on top of page and when i scroll the page it remains fixed and visible?

asked 2015-11-03 17:18:51 +0800

ziobleed gravatar image ziobleed
153 3

updated 2015-11-03 17:25:41 +0800

which is the best way to obtain a fixed div on top of page and when i scroll the page it remains fixed and visible?

I'm working on a custom component, reusable on more pages...

for now i've done :

 <window  width="100%"  closable = "true" position="left,top"  style="z-index : 99; position: fixed;">
            <label value ="Message of the fixed" />
 </window>
 <vbox width="100%" >
      <div hflex="1" >
        content here...

The element stay fixed until the user scrolls the page down and reach the end of the custom component. I want that the element windows stays fixed during the scrolling of the whole page...

delete flag offensive retag edit
Be the first one to answer this question!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2015-11-03 17:18:51 +0800

Seen: 19 times

Last updated: Nov 03 '15

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More