G
Gnarlodious
I want to send a variable to a styleswitching script that will be a function
of where the script is in the folder structure.
The script will then assemble the stylesheet URL around the variable.
For example, the variable "../../../../" would need to be sent to the
script, how will I do this?
Here is the script:
http://www.Spectrumology.com/Styles/switcher.js
And here is how I call it:
<script type="text/javascript" src="Styles/switcher.js"></script>
Sorry I don't know a thing about Javascript!
-- Gnarlie
http://www.Gnarlodious.com/Cogent/Cogent.html
of where the script is in the folder structure.
The script will then assemble the stylesheet URL around the variable.
For example, the variable "../../../../" would need to be sent to the
script, how will I do this?
Here is the script:
http://www.Spectrumology.com/Styles/switcher.js
And here is how I call it:
<script type="text/javascript" src="Styles/switcher.js"></script>
Sorry I don't know a thing about Javascript!
-- Gnarlie
http://www.Gnarlodious.com/Cogent/Cogent.html