|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Java/CSS
I was just wondering if there was a way to include javascript in a CSS document. I have a fade script that I would like to use on every page of my site.
Ascension URL |
|
#2
|
||||
|
||||
|
You would want to put your javascript in a .js file and then include it on each page like this:
Code:
<script src="fade.js"></script> wdn2k |
|
#3
|
|||
|
|||
|
haha...yeah, I've already got that part figured out. The script works fine, I was just curious about including it in a CSS file. But I've decided to just work around that and leave it as is. Thanks for the reply, however.
Ascension URL |
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > Java/CSS |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|