Basscyst
10-20-2003, 11:01 PM
Is it possible to include javascript in an external stylesheet? I've just encountered a bit of a problem with keeping .js files on our server.
|
||||
Javascript in CSSBasscyst 10-20-2003, 11:01 PM Is it possible to include javascript in an external stylesheet? I've just encountered a bit of a problem with keeping .js files on our server. liorean 10-20-2003, 11:02 PM Not if you're not targetting nn4 uniquely, no. Basscyst 10-20-2003, 11:05 PM I am actually targeting IE 6.0 exclusivly so that's a no??? beetle 10-20-2003, 11:09 PM What's the problem with .js files? It's common form them to be .js, but you could use .txt just as effectively. There *may* be a MIME type issue, but I think it should work. Basscyst 10-20-2003, 11:13 PM Well - the company I work for is starting to use Red Dot CMS for there intranet maintanance. It is a decent tool however I have no edit access to the templetes provided. They blocked out the ability for me to input code all together with the exception of external stylesheets. It's a Sad day today. Basically I have no way of referencing the external file once I put it on the server the css file can be added via a form. beetle 10-20-2003, 11:17 PM Bummer. Not sure what to say. I'm surprised that your company apparently wishes to handicap itself in this manner. Basscyst 10-20-2003, 11:19 PM LOL - My Sentiments Exactly! oracleguy 10-21-2003, 01:19 AM why not use a server side include that you could edit that contains the <script ..></script> tags? liorean 10-21-2003, 06:59 AM Hmm, I spoke too soon. You could use HTCs or css expressions... beetle 10-21-2003, 08:28 AM Ya, but those are both technologies for including scripting for only specific scenarios. Neither can be a replacement for linking script files. |
| |||
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum