Putting JS in CSS file...
Putting JS in CSS file...
Anyone know how to call a javascript file from a CSS file?...
-
Pierre M.
Re: Putting JS in CSS file...
Reading your other support posts, I'm sure you know a CSS can "import" another one.
So, what is this April 1st question ? Would you like your CSS to be dynamic ?
I mean : what for would you like your CSS depend on some JS ?
PM
So, what is this April 1st question ? Would you like your CSS to be dynamic ?
I mean : what for would you like your CSS depend on some JS ?
PM
Re: Putting JS in CSS file...
I'm trying to set up a template but I don't want to put the JS call in the head, would like it to come with the CSS...
Will try the import...
Will try the import...
-
Pierre M.
Re: Putting JS in CSS file...
I'm still missing your point. "setting up a template" means (x)HTML+CSS to me, no JS.
Some need some JS in some cases to make the obsolete version of IE work... but this obsolete version doesn't support import IIRC.
And calling the JS from the header or calling the JS somewhat from the CSS from the header is quite the same, isn't it ?
PM
Some need some JS in some cases to make the obsolete version of IE work... but this obsolete version doesn't support import IIRC.
And calling the JS from the header or calling the JS somewhat from the CSS from the header is quite the same, isn't it ?
PM
Re: Putting JS in CSS file...
The CSS is read diff. than a JS so I run into it not working...
I'm trying for a master template that can change styles with a click of a button, but some of them use JS for rounded corners w/o images and it will round other templates/CSS if it is in the head...
http://www.multiintech.com/index.php?page=niftycubes
I'm trying for a master template that can change styles with a click of a button, but some of them use JS for rounded corners w/o images and it will round other templates/CSS if it is in the head...
http://www.multiintech.com/index.php?page=niftycubes

