HTML5 SVG css3 transition on fill not working when there is external link

JavascriptSVGWeb DevelopmentFront End Scripts

This cannot be done through the visited state. The best solution is to add a random query to url so that page go unvisited.

<a href = "http:/demo.com/?foo = <?php echo rand(0, 99998) ?>"Your link</a> 

It can be removed with JS by onclick event:

$('body').on('click', 'a', function(p) {
   p.preventDefault();
   var url1 = $(this).prop('href');
   window.location.href = url1.split("?")[0];
});
raja
Published on 11-Apr-2018 17:00:11
Advertisements