I don't see how a cookie changes it a lot... Generally speaking, aren't things "visited" as long as they are in the cache? Neither one goes across actual browsers (like FF to IE or Chrome)... You'd need a database/login for that kind of guarantee - but I get the impression that he's merely looking for something simple to visually keep track of it while a user is on the page or maybe even next time someone comes back. He should be able to accomplish that with :visited ... I just misunderstood which one he wanted to hide.
On Fri, Jun 10, 2011 at 2:54 PM, Tim Climis <tim.cli...@gmail.com> wrote: > On Friday, June 10, 2011 2:37:38 pm Brian Kardell wrote: > > Could you not use visited? > > > > a:visited{ > > display:none; > > } > > > > No. that would be the exact opposite of what the OP wants. that would > make > the ending the reader chose inaccessible (and after choosing both endings, > *all* endings inaccessible). > > Personally, I don't think CSS is the correct solution for this -- to work > effectively, it would have to remember across browser sessions, meaning a > cookie or something. I'd be doing this in the server-side language that > builds the page. If no link chosen, display both, and then make a record > of > which was chosen, stored either on your server, or on the reader's > computer. > And then check that file on the next page visit, to display the proper > link. > > ---Tim > ______________________________________________________________________ > css-discuss [css-d@lists.css-discuss.org] > http://www.css-discuss.org/mailman/listinfo/css-d > List wiki/FAQ -- http://css-discuss.incutio.com/ > List policies -- http://css-discuss.org/policies.html > Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ > ______________________________________________________________________ css-discuss [css-d@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/