Solved

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

Posted on 2011-09-09
5
270 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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.
JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…

752 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