Sie können mich buchen für:
Individuelle Schulungen für XPages, JavaScript und Appcelerator Titanium Software-Entwicklung für IBM XPages, Appcelerator Titanium (Mobile Apps iPhone, iPad, Android, Blackberry 10), Mobile Web und IBM Notes
XPages on Notes Client and the a:visited CSS property - problem and workaround
Julian Buss, May 24th, 2011 12:05:00
Tags:  XPages 
I just tried to use the a:visited property in a CSS file to give links another color when the user clicked them.
It works fine in the browser, but it does not work at all in Notes. Don't know why.

But here is a workaround:

1.) define a CSS class of your own like this:

---
.clicked { color:red }
---

2.) write the HTML for the link like this:

---
a href="..." onclick="dojo.addClass(this, 'clicked')"...
---
Comments (0) | Permanent Link

Comments:
No Comments Found
Add a comment
Subject:
   
Name:
Mail:
Web:
 
Comment:  (No HTML - URLs with leading http://)
 
remember me?   
You can hire me.
See my Linkedin profile for details.

Thanks for reading and have a nice time here!

Please note my Apps for iPhone and iPad: NotesBook: takes your Lotus Notes Notebook (Journal) to your iPhone and iPad xpageswiki.com: huge XPages Tips & Tricks collection for iPhone and iPad