Solved

Javascript/CSS: fixed header image above sliding image below?

Posted on 2011-09-09
5
267 Views
Last Modified: 2012-05-12
I have a schedule graphic (png generated from a schedule management tool) with a timeline at the top and arbitrary number of task rows beneath. I have created a separate graphic of the timeline/header row - is there a way I can display that graphic fixed at the top of the page and allow the graphic with the task rows to "slide" up and down so the timeline is always visible rather than scrolling off the page as the rest of the graphic scrolls down?
0
Comment
Question by:dgmoore1
  • 2
  • 2
5 Comments
 
LVL 30

Accepted Solution

by:
LZ1 earned 250 total points
ID: 36512898
Something like this?
http://jsfiddle.net/Vkp24/
0
 

Author Comment

by:dgmoore1
ID: 36513286
Could be, with a little fiddling. I'll give it a try - thanks!
0
 
LVL 30

Expert Comment

by:LZ1
ID: 36513289
No problem. Feel free to ask any questions.
0
 
LVL 11

Assisted Solution

by:mcnute
mcnute earned 250 total points
ID: 36515849
You can cut the timline, position it via CSS and place the generated task file beneath it with an overflow: scroll.
0
 

Author Closing Comment

by:dgmoore1
ID: 36516921
Just what I needed - thanks to both LZ1 and mcnute
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question