Using SlideDown, link does not show as Visited.
Hi,
I've been given some great help on this forum to get slideup and slidedown working, to show and hide divs, using <a href> links as the trigger.
I can't get the links I use to slidedown and reveal the div to show as visited though. Can anyone help with that?
Here is the current script in <head>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
// Only run the jQuery code once the DOM is available and complete
$(document).ready(function(){
$("a.open").click(function(e){
e.preventDefault();
$( $(this).attr('href') ).slideDown( 200 );
});
$("a.close").click(function(e){
e.preventDefault();
$( $(this).attr('href') ).slideUp( 200 );
});
});
</script>
-- and here's an example of the HTML <a> tag used to call it.
..<a href="#google_1" class="open">View</a>
<div id="google_1" style="display:none;">
<p class="blue_text_small">
..some text....
</p>
</div>
Thanks,
Franc.