You don't need a plug-in to do that:

$('head')
   .append('<link href="css/geral.css" rel="stylesheet" />')
   .append('<script type="text/javascript" src="calendar.js"></
script>')


On Oct 28, 2:29 pm, Bob Schellink <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I am using the Taconite (http://malsup.com/jquery/taconite/) plugin to
> dynamically append external scripts (<script>) and stylesheets
> (<link>) to the page head section. Inspired by the Taconite example
> Demo1, I manage to get external scripts working, however stylesheets
> only seems to work in Firefox, not IE.
>
> Here is the Taconite markup I'm using:
>
> <taconite>
>
>      <!-- Works in FF and IE -->
>      <append select="head">
>          <script type="text/javascript" src="calendar.js"/>
>      </append>
>
>      <!-- Works in FF but not IE -->
>      <append select="head">
>          <link rel="stylesheet" type="text/javascript"
> href="calendar.css"/>
>      </append>
> </taconite>
>
> Is this scenario supported by Taconite or should I rather the <eval>
> tag for appending stylesheets?
>
> kind regards
>
> bob

Reply via email to