Almost there. Change:
Code:
<h1><img src="m-images/advert-suzuki.jpg" alt="remote doctor main logo" id="mainImage" class="blinkingshadow"/></h1>
To (add a space):
Code:
<h1><img src="m-images/advert-suzuki.jpg" alt="remote doctor main logo" id="mainImage" class="blinking shadow"/></h1>
Then change:
Code:
$('#mainImage').attr('src', imgSrc).removeClass('blinkingshadow');
to:
Code:
$('#mainImage').attr('src', imgSrc).removeClass('blinking');
That is if you want to keep the blinking at all. Two reasons why you should get rid of it:
- Although you know very well where you are and that you cut keys and program remotes from that location, the average user of the site might not. Having that information blinking, may make it hard for some to read.
- Even in the most recent version of some browsers, the blinking css you are using renders the image invisible, not for some.
Bookmarks