Clicked links not changing color in HTML5 output

This forum is for all Flare issues not related to any of the other categories.
Post Reply
ibmgeek
Propeller Head
Posts: 22
Joined: Tue Aug 28, 2012 8:21 am

Clicked links not changing color in HTML5 output

Post by ibmgeek »

One of my developers just hit me with a bug stating that the links in my HTML5 output are not changing color after being clicked. I'm using 9.1.2 to publish to HTML5 and PDF.

He wrote:
"Chrome and Firefox Comparison of Links Changing Color to Indicate That it has been clicked

When using chrome and in the Information Center, if you click on a link to another section, the link will not change to purple. On other browsers, all the links will change when clicked. The only link that I can find that will actually change is Support."

Anyone else seeing this and know how to fix it?

THANKS!
SteveS
Senior Propellus Maximus
Posts: 2090
Joined: Tue Mar 07, 2006 5:06 pm
Location: Adelaide, far side of the world ( 34°56'0.78\"S 138°46'44.28\"E).
Contact:

Re: Clicked links not changing color in HTML5 output

Post by SteveS »

Going on the information provided I would be checking the a:visited property for the links that don't work, comparing it to the link that does change font colour after visiting.

If possible, I'd also check using the same browser on your own machine.

Does it work for the tester using other browsers? Your posting suggests it does, so is it something to do with the tester's configuration?
Image
Steve
Life's too short for bad coffee, bad chocolate, and bad red wine.
MattyQ
Sr. Propeller Head
Posts: 136
Joined: Tue Sep 30, 2014 7:10 am
Location: Roanoke, VA

Re: Clicked links not changing color in HTML5 output

Post by MattyQ »

It might be worth checking how you've defined colors for the a element in the project, too (here's a jsfiddle demonstrating some of the issues that can arise based on the way you've defined colors: https://jsfiddle.net/MattyQ/8yfgk6qz/1/).

It looks like the Chrome community forums list some people experiencing similar issues, which were usually solved by clearing the browser's cache.
ChoccieMuffin
Senior Propellus Maximus
Posts: 2650
Joined: Wed Apr 14, 2010 8:01 am
Location: Surrey, UK

Re: Clicked links not changing color in HTML5 output

Post by ChoccieMuffin »

Also, the order in which you define in your stylesheet a:Link, a:Visited, a:Hover, a:Focus and a:Active is important.

Quote from the Help file:

Note: In order for <a> link pseudo classes to function properly, they must appear in the following order in the stylesheet (you can see this by opening the stylesheet in Notepad).

a:link
a:visited
a:hover
a:focus
a:active

In order to avoid issues with this, and to ensure that your pseudo classes are working, you should explicitly set values on those pseudo classes, rather than expecting them to inherit settings from other tags.
Started as a newbie with Flare 6.1, now using Flare 2024r2.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
ibmgeek
Propeller Head
Posts: 22
Joined: Tue Aug 28, 2012 8:21 am

Re: Clicked links not changing color in HTML5 output

Post by ibmgeek »

I'm using the default style sheet with all of the defaults set.
Post Reply