Results 1 to 2 of 2
Thread: importing .js files
Jul 27, 2006, 07:07 #1
- Join Date
- Sep 2004
- 0 Post(s)
- 0 Thread(s)
importing .js files
can a .js fil be imported into a document via an external (css) style sheet?
i'm trying to combine a style switcher with the curvy corners script. it switches, but the display is funky until you refresh the page.
the major part of the curvy corners script is in an external file, and there are some parameters that are set in the head of the document. i want to know if i can put these parameters into a separate .js document, and then import both .js documents through some kind of link or include in the style sheet. i know you can use style sheets to call other style sheets, but can you use them to call .js files?
hope that makes enough sense for some one to be able to advise.
thanks in advance :-)
Jul 27, 2006, 08:48 #2
- Join Date
- Jul 2005
- West Springfield, Massachusetts
- 111 Post(s)
- 1 Thread(s)
importing js with css
External links are nofollow
How to be a Great Online Community Member
Member of the Month for December 2013
Free SitePoint book - Thinking Web: Voices Of The Community
The 2013 SitePoint Awards - Nominations closed - Voting to begin soon
Introducing the new Code Review Forum