SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
SI - Site Forums : Silicon Investor - Welcome New SI Members! -- Ignore unavailable to you. Want to Upgrade?


To: SI Bob who wrote (25245)6/20/2007 5:02:18 PM
From: SI Dave  Respond to of 32871
 
Yes, I thought it was a good point as well.

I'll stand corrected but I do not think we can emulate the visited property when using a graphic.



To: SI Bob who wrote (25245)6/21/2007 7:27:46 PM
From: Bill Ulrich  Read Replies (2) | Respond to of 32871
 
There are a few ways to do it ... "I wonder if we'd have any luck with trying to apply a css:visited class to graphics" ... and good there are a couple, as you won't get it fully cross-browser with just one.

One way is to declare the img as background {background:(url)} then flip it for :visited, probably have to get a spacer into a div for some older browsers. You could go through DOM also. Browser-sniff won't cover all the bases, as useragents are prone to lying these days; instead the more currently "hip" way is to query "whoever you are, does this method do anything for you? (No, use this one)" to return the functionality.

Design-wise, they don't intetgrate well w/ the overall site ("hey, loook at mmy reallly biig heaavy dropp-shadowws") but that's an entirely different issue altogether now. <g>