<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">You can also keep reference of the visited ‘pages' in the session state and generate the anchors with a css class to color them yellow.<div class="">For example, if the links are in a menu component, you can keep the already visited menu items in the session state and render the menu items differently using that information.</div><div class=""><br class=""><div class="">I think that would be easier than hand-crafting the urls, unless you implement a complete ‘Seaside-Router’ package, which would be very interesting of course.<br class=""><div class=""><br class=""></div><div class="">Johan</div><div class=""><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 14 Sep 2017, at 22:46, David Pennington <<a href="mailto:david@totallyobjects.com" class="">david@totallyobjects.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div class="">So, if I hand carve the links, I should be able to get this working. It is bugging my customer so I have to do something!<div class=""><br class=""></div><div class=""><br class=""></div>Thanks Joachim.<br class=""><br class=""><br class="">--------- Original Message ---------<br class=""><b class="">From:</b> "<a href="mailto:jtuchel@objektfabrik.de" class="">jtuchel@objektfabrik.de</a>" <<a href="mailto:jtuchel@objektfabrik.de" class="">jtuchel@objektfabrik.de</a>><br class=""><b class="">To:</b> "David Pennington" <<a href="mailto:david@totallyobjects.com" class="">david@totallyobjects.com</a>>, "Seaside - general discussion" <<a href="mailto:seaside@lists.squeakfoundation.org" class="">seaside@lists.squeakfoundation.org</a>><br class=""><b class="">Subject:</b> Re: [Seaside] Problem with visited links<br class=""><b class="">Date:</b> 09/14/2017 20:55:14 (Thu)<br class=""><br class="">
<div class="moz-cite-prefix">David,<br class="">
<br class="">
you are not doing anything wrong. Open your web browser's
Developer tools and look at the links that were rendered by
seaside: they contain URL parameters that are unique for every
render (the part after the ? in the href parameter), so
technically, the link is never visited, because every time you
render that page, the URL parameters will be different (this is a
simplification with edge cases and people can start picking on me,
but you get the picture).<br class="">
<br class="">
There are ways to make Seaside use "nice" URLs, but out of the
box, this is just the way it works.<br class="">
<br class="">
Joachim<br class="">
<br class="">
<br class="">
Am 14.09.17 um 21:50 schrieb David Pennington:<br class="">
</div>
<blockquote cite="mid:4bd1c344ac102f8ce13f983936c3afb7@totallyobjects.com" type="cite" class="">
Hi there. I have a hybrid site where some pages are rendered by
Seaside (using Instantiations VisualAge) and some are straight
HTML. In the HTML pages, I use the following in a css:
<div class="">
<div class=""><br class="">
</div>
<div class="">a:link {</div>
<div class=""> color: red;</div>
<div class="">}
<div class="">and
<div class="">
<div class="">a:visited {</div>
<div class=""> color: yellow;</div>
<div class="">}
<div class="">This works fine. In my Seaside pages, I use a css
method with the same content but the visited links all
turn up in a dark red, no matter which colour I say to
use. This is the same on all browsers tested across
both Windows and Macs Safari, Firefox, Edge.
<div class="">
<div class=""><br class="">
</div>
Am I doing something wrong?
<div class="">
<div class=""><br class="">
</div>
David</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br class="">
<hr class="">
<pre class="">Message sent using Winmail Mail Server</pre>
<br class="">
<fieldset class="mimeAttachmentHeader"></fieldset>
<br class="">
<pre wrap="" class="">_______________________________________________
seaside mailing list
<a class="moz-txt-link-abbreviated" href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.squeakfoundation.org</a>
<a class="moz-txt-link-freetext" href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a>
</pre>
</blockquote>
<br class=""><p class=""><br class="">
</p>
<pre class="moz-signature" cols="72">--
-----------------------------------------------------------------------
Objektfabrik Joachim Tuchel <a class="moz-txt-link-freetext" href="mailto:jtuchel@objektfabrik.de" target="_blank">mailto:jtuchel@objektfabrik.de</a>
Fliederweg 1 <a class="moz-txt-link-freetext" href="http://www.objektfabrik.de/" target="_blank">http://www.objektfabrik.de</a>
D-71640 Ludwigsburg <a class="moz-txt-link-freetext" href="http://joachimtuchel.wordpress.com/" target="_blank">http://joachimtuchel.wordpress.com</a>
Telefon: +49 7141 56 10 86 0 Fax: +49 7141 56 10 86 1
</pre>
</div>
<br class=""><hr class=""><pre class="">Message sent using Winmail Mail Server</pre>
_______________________________________________<br class="">seaside mailing list<br class=""><a href="mailto:seaside@lists.squeakfoundation.org" class="">seaside@lists.squeakfoundation.org</a><br class="">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br class=""></div></blockquote></div><br class=""></div></div></div></div></body></html>