Cufon は IE9 では動作しませんが、互換モードでのみ正常に動作します。
それを修正する方法はありますか?
ありがとうございました!
<!DOCTYPE html>
<html lang="en">
<head>
<title>@ViewBag.Title - Home</title>
<link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
<meta name="viewport" content="width=device-width" />
<meta http-equiv="X-UA-Compatible" content="IE=8" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
@Styles.Render("~/Content/Site.css")
@Scripts.Render("Scripts/jquery-1.6.2.min.js")
@Scripts.Render("Scripts/cufon-s.js")
@Scripts.Render("Scripts/Constantia_400-Constantia_700-Constantia_italic_400-Constantia_italic_700.font.js")
@Scripts.Render("Scripts/Pristina_400.font.js")
@Scripts.Render("Scripts/Trajan_Pro_400-Trajan_Pro_700.font.js")
<script type="text/javascript" charset="utf-8">
$(document).ready(function () {
Cufon.replace('div.header-sub div.goright ul li, div#menu ul li a',
{ fontFamily: 'Pristina', hover: true, textShadow: '2px 2px black' })
('div#header div.action a', { fontFamily: 'Constantia', hover: true })
('ul#sidebar-menu div.action a, h2, h1', { fontFamily: 'Trajan Pro', hover: true });
});
</script>
</head>