mattcruse.com - about matt cruse

Matt Cruse

mattcruse

Not the Matt Cruse from Skybreaker, I do not live on an airship called the Aurora and I am not Matt Cruse, the main character and narrator in the Airborn series by Kenneth Oppel - just to save any confusion you may have.

mattcruse.com is my own personal website, featuring my blog - including items about TTA Derby - Taekwondo Derby, Turkey - Bodrum - Gumbet, Dominos Pizza App for iPhone, Brawn GP F1 teams up with Derby based Fish Media, LinkedIn, DNScoop - Domain Valuation, mattcruse.com sale page, etc.

To read more about Matt Cruse, click the following link: about

mattcruse.com Latest Blog Post - Working Text Shadow for Internet Explorer 7,8 & 9

Working Text Shadow for Internet Explorer 7,8 & 9

Thursday, 10 May 2012

Thanks to Martin Hintzman for this...

I was struggling to get text shadow working in Internet Explorer 7,8 and 9 when hovering on a navigation item and then found this useful script so though I'd share.

You can download the script at the following:

http://mattcruse.com/downloads/jquery.textshadow.zip

Then all you need to do is link to it in your head tags

<head>
<script type="text/javascript" src="location/jquery.textshadow.js"> < /script>
</head>

The script for this is fairly straightforward - if you just want to have an element with text shadow applied then you could use the following:

$(document).ready(function () {
var options = {
x:      0,
y:      0,
radius: 5,
color:  "#ffffff"
}
$("#nav li a").textShadow(options);
});

Or if you want to use the text-shadow for navigation as I needed to then you can use the following code:

$(document).ready(function () {
var options = {
x:      0,
y:      0,
radius: 5,
color:  "#ffffff"
}
$("#nav li a").hover(function() {
$(this).textShadow(options);
}, function() {
$(this).textShadowRemove()
});
});

There is a demo page here so you can see it in action - hope it helps someone.

Labels: 7 8 9 explorer internet support text-shadow working

View all blog posts

mattcruse.com - pictures - see all

Jasmin Beach Apartments SunsetGümbet Beach SunsetBanana Tree in Jasmin Beach GardensView from the roof top pool Jasmin Beach
View from the roof top pool Jasmin BeachView from the roof top pool Jasmin BeachGümbet Beach SunsetGümbet Beach
Cliff Jumping at Black IslandJasmin Beach ApartmentsBodrum MarinaBoat View Leaving Gümbet
Gümbet Beach SunsetCamels at Camel BeachJasmin Beach GardensEfes Beer at the roof top pool Jasmin Beach

TTA Derby - Taekwondo Derby - archived post

The Traditional Taekwondo Association Derby (TTA Derby) has a new website...

The website has new features such as belt information, videos of poomse (patterns) and general information about the TTA and the Derby Club.

We train on Mondays and Wednesdays (6-8pm) at Queens leisure centre, Derby and are looking for new starters.

If anyone is interested, please use my contact form here or visit the TTA Derby website (link below) to contact the instructor.

derbytaekwondo.co.uk

you too? visit derbytaekwondo.co.uk