View Full Version : links (span)
Jtree
01-15-2003, 02:35 PM
I am using a display box for my links. Is there any way that you can make it scroll down the page, when out of site?
Zero Angel
01-15-2003, 02:54 PM
Please be more specific. Its hard to help you if you use odd terms such as 'display box', and 'out of site'. (no offense meant)
Jtree
01-15-2003, 03:03 PM
Code:
div#links a {
display: block; text-align: center;
font: bold 1em sans-serif;
padding: 0px 0px;
margin: 0 0 0px;
width: 1px;
border-width: 0;
text-decoration: none;
color: #FFC;
}
div#links a:hover {
color: #411;
background: ;
border-width: 0px;
padding: 0px 0px;
}
div#links a span {
display: none;
}
div#links a:hover span {
display: block;
position: absolute;
top: 0px;
left: 0;
width: 150px;
padding: 5px;
margin: 0px;
z-index: 100;
color: black;
background: #ffffc6;
font: 14px Verdana, sans-serif;
text-align: center;
}
Is there a way to make the "hover span" scroll instead of being an absolute position of where I want it?
Zero Angel
01-15-2003, 03:16 PM
Ah, its much easier to figure out when you post your code.
I think I know what you mean. You want the absolute positioned 'hover span' to follow the user when he/she scrolls down the page, right?
Jtree
01-15-2003, 03:18 PM
Yes so they can see this at all times not just when they can see the top of the page.
Zero Angel
01-15-2003, 03:29 PM
Wow, this is beyond my capability. There is a method using Javascript/DHTML, but it takes a very large amount of bulky code. I dont know of any way to do this using HTML/CSS. I've tried thinking of methods of using a minimal amount of javascript/DHTML but am having a tough time.
Sorry, but I cant help you.
Jtree
01-15-2003, 03:58 PM
that is alright thanks for the help
ByteWizard
01-16-2003, 05:44 AM
Take a look at this site (http://dev.home.mindspring.com) and see if it is a viable substitute for what you want. Two columns, one fixed and one scrolling. The CSS code is inline.
Jtree
01-16-2003, 07:04 AM
thanks for the help I will try the "fixed" maybe someday IE will catch up:rolleyes:
vBulletin® v3.7.2, Copyright ©2000-2009, Jelsoft Enterprises Ltd.