I am trying to configure and execute SIFR replacement via the newest version of the Gilles Van der Hoven’s JQuery SIFR plugin. I am not yet really comfortable with Jquery and might be making a fundamental mistake or omission but I just cannot get it to work. I am trying to target the following
entry titles:
<!-- entry -->
<div class="entry">
<div class="entry-title"><h3>{title}</h3><p></div><br />
{summary}<br />
{body}<br />
{extended}<br />
</div><br />
<!-- entry -->......
<!-- entry -->
<div class="entry">
<div class="entry-title"><h3>{title}</h3><p></div><br />
{summary}<br />
{body}<br />
{extended}<br />
</div><br />
<!-- entry -->......I will outline the basic scenario, including the location of everything.
All of my scripts live in a folder called “scripts.”
My fonts are located in a folder called “fonts.”
Both of these folders are at the root, or the same directory as my system folder
I am calling all of my header information via a template referenced as “includes/html_head.”
This template includes my doctype, <title> and stylesheet information, followed by:
<scr*pt type="text/javascript" src="/scripts/jquery.js"></scr*pt>
<scr*pt type="text/javascript" src="/scripts/jquery.flash.js"></scr*pt>
<scr*pt type="text/javascript" src="/scripts/jquery.sifr.js"></scr*pt>
<scr*pt type="text/javascript" src="/scripts/jquery.browser.js"></scr*pt>
<scr*pt type="text/javascript" src="eesys/extensions/markitup/jquery.markitup.js"></scr*pt>
<scr*pt type="text/javascript">
$('document').ready(function();
$('h3').sifr({path: '/fonts/Medici.swf'});
</scr*pt>
</head>Can anyone identify why I am not getting any love here? Could anyone suggest an altogether better way to execute the whole shebang? I plan to employ more Jquery functionality as my abilities grow, so I might as well get everything set up right now.
I would appreciate any assistance you kind folks could provide.
Cheers-John