Hy guys and hope you can help.
I have a very simple jQuery hide function that was working but some bugInTheRom has occured overnight and it no longer does. Effectively I'm trying to add a 'Patience' warning visible whilst some SWF loads.
Here's my call in the <head> section...
<script type="text/javascript" src="js/jquery-1.6.1.js"></script>
<script type="text/javascript">
function hidden() {
$('.patience').hide();
};
window.onload=hidden;
</script>
and here's the class it affects...
<p class="patience">Please be patient, the interactive book below and the PDF links may take a while to fully load.</p>
and the associated CSS...
.patience {
visibility: visible;
background-color: #CCC;
border: 1px solid #000;
margin-right: 10px;
margin-left: 10px;
}
Any ideas why it doesn't hide once the whole of the SWF has been loaded?
My thanks. R