|
|
#1 |
![]() Join Date: Feb 2010
Posts: 15
|
What is the code to highlight visited links in spry dataset? I tried .MasterDetail .MasterColumnVisited, background-color:#000;
but nothing happend. |
|
|
|
|
|
#2 |
![]() Join Date: Apr 2009
Posts: 1,847
|
Maybe:
.MasterDetail a:visited although it would be easier if we could see your page.
__________________
If my answer helped, you might want to sign up for my Dominate Dreamweaver online training and learn to Dominate Dreamweaver in just 12 weeks. |
|
|
|
|
|
#3 |
![]() Join Date: Feb 2010
Posts: 15
|
It is not on-line yet, but here is the code for master detail:
Code:
@charset "UTF-8";
/* SpryMasterDetail.css */
/* Copyright (c) 2007. Adobe Systems Incorporated. All rights reserved. */
/* This is the selector for the main Master/Detail structure container.
*
* If you want to constrain the width of the Master/Detail structure, set a width on
* the Master/Detail container. By default, our structure expands horizontally to fill
* up available space.
*/
.MasterDetail
{
font-family: Verdana, Geneva, sans-serif;
font-size: 12px;
color: #FFF;
}
/* This is the selector for the Master Container element which houses all the MasterColumn
* classes. By default the Master column occupy about 35% from the width of the
* entire structure.
*/
.MasterDetail .MasterContainer
{
width: 15%;
float: left;
overflow: hidden;
}
/* This is the selector for a Master Column element which holds the actual data for
* a master column.
*/
.MasterDetail .MasterColumn
{
font-size: 14px;
padding:0px;
cursor:pointer;
font-family: Verdana, Geneva, sans-serif;
color: #FFF;
overflow: auto;
z-index: -1;
font-weight: bolder;
/* This is the selector for a highlighted Master Column element.
*/
.MasterDetail .MasterColumnHover
{
background-color: #000;
}
/* This is the selector for a selected Master Column element.
*/
.MasterDetail .MasterColumnSelected
{
background-color:#000;
color: white;
}
/* This is the selector for the Detail Container element which houses all the DetailColumn
* classes. By default the Detail column occupy about 60% from the width of the
* entire structure.
*/
.MasterDetail .DetailContainer
{
padding-right:20px;
width: 80%;
float: right;
overflow: auto;
height: 536px;
z-index: 3;
}
/* This is the selector for a Detail Column element which holds the actual data for
* a detail column.
*/
.MasterDetail .DetailColumn
{
margin-bottom: 1px;
overflow: auto;
z-index: 2;
font-family: Verdana, Geneva, sans-serif;
font-size: 14px;
text-align: justify;
}
|
|
|
|
|
|
#4 |
![]() Join Date: Apr 2009
Posts: 1,847
|
I still think .MasterDetail a:visited would work for highlighting the visited link itself.
__________________
If my answer helped, you might want to sign up for my Dominate Dreamweaver online training and learn to Dominate Dreamweaver in just 12 weeks. |
|
|
|
|
|
#5 |
![]() Join Date: Feb 2010
Posts: 15
|
I tried, it does not work.
|
|
|
|
|
|
#6 |
![]() ![]() Join Date: Feb 2008
Location: Bristol, England
Posts: 4,695
|
The code DWCourse has given you really should work. I can't see a better way of doing it. You may have implemented it incorrectly.
__________________
Get up to speed fast! - *Online web design lessons available - Click Here* Corrosive Online / Bristol Web and Graphic Design / Bristol IT Support / Follow Me |
|
|
|
|
|
#7 |
![]() Join Date: Apr 2009
Posts: 1,847
|
We are talking about actual links <a href="etc."> right?
Or just visited fields in the data set???
__________________
If my answer helped, you might want to sign up for my Dominate Dreamweaver online training and learn to Dominate Dreamweaver in just 12 weeks. |
|
|
|
|
|
#8 |
|
Administrator
![]() Join Date: Dec 2003
Posts: 8,348
|
That syntax has worked for over 10 years, so you're doing something wrong.
__________________
Please read this before asking for help. - New Tutorial: Define Your Site |
|
|
|
|
|
#9 |
![]() Join Date: Feb 2010
Posts: 15
|
Little misunderstanding
. I mean visited fields in the date set (in mastercolumn). |
|
|
|
|
|
#10 |
![]() Join Date: Apr 2009
Posts: 1,847
|
I'm fairly certain you can't do that without some major scripting work (if it's even possible).
__________________
If my answer helped, you might want to sign up for my Dominate Dreamweaver online training and learn to Dominate Dreamweaver in just 12 weeks. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|