Whenever I click on pics and go back to index, the only way to see that that picture has already been viewed by you is that the view may change to show 1view, 2view etc.
It would be nice if some sort of border appears around pictures that have been viewed already.
uh - this should be done easily with the use of css alone - just edit /themes/yourtheme/style.css and add the pseudo-class "visited" for "image"...
GauGau
thanks
I added:
.thumbnails a:visited {
color: #0000ff;
text-decoration: underline;
border-width:1px;
border: #5F5F5F;
}
and
.image a:visited {
border-style: solid;
border-width:3px;
border-color: #00CCFF;
margin: 2px;
}
Guess I need to work on it more because nothing changes.
it's not that easy, sorry: the css classes "thumbnails" and "image" apply to the <img>-tag that doesn't have a hover event trigger.
You'll have to edit displayimage.php and look for $pic_html = "<a href=\"javascript:;\" onClick=\"MM_openBrWindow('displayimage.php?pid=$pid&fullsize=1','" . uniqid(rand()) . "','scrollbars=yes,toolbar=yes,status=yes,resizable=yes,width=$winsizeX,height=$winsizeY')\">";
Replace it with $pic_html = "<a href=\"javascript:;\" onClick=\"MM_openBrWindow('displayimage.php?pid=$pid&fullsize=1','" . uniqid(rand()) . "','scrollbars=yes,toolbar=yes,status=yes,resizable=yes,width=$winsizeX,height=$winsizeY')\" class=\"yourclass1\">";
Edit themes/yourtheme/theme.php and find<a href="{LINK_TGT}">{THUMB}
and replace it with<a href="{LINK_TGT}" class="yourclass2">{THUMB}
Edit themes/yourtheme/style.css and add this:.yourclass2 a:visited {
color: #0000ff;
text-decoration: underline;
border-width:1px;
border: #5F5F5F;
}
and
.yourclass1 a:visited {
border-style: solid;
border-width:3px;
border-color: #00CCFF;
margin: 2px;
}
You may want to define the other pseudo-classes (link, hover etc. as well for your new classes).
HTH
GauGau
I must have done something wrong because mine doesn't seem to be working.
link?
GauGau
It doesn't seem to be working on your demo site either http://coppermine.sourceforge.net/demo/
Quote from: bulldozer on June 05, 2004, 07:34:17 PM
It doesn't seem to be working on your demo site either http://coppermine.sourceforge.net/demo/
I'm fairly sure the demo is the basic application, and does not have this mod installed. No-one is going to go through every theme and make the changes.