Ok, Ill try not to confuse anyone. I have a webpage that has so far, two different style sheets. I am creating multipile CSS's just because its fun. Now, the question.
Right now I have a list of style selectors one every page. When you click on one it sends you to the index file of that style (each style is in its own folder, easier for me). What I was wondering is if I could use javascript to get the name of the file that is currently open then insert that into the file rather than always having the index file.
ex. <a href="/css/"+filename+".html">Link</a>
I know that is totaly out of syntax but you get the idea, dont you? I hope so.
Right now I have a list of style selectors one every page. When you click on one it sends you to the index file of that style (each style is in its own folder, easier for me). What I was wondering is if I could use javascript to get the name of the file that is currently open then insert that into the file rather than always having the index file.
ex. <a href="/css/"+filename+".html">Link</a>
I know that is totaly out of syntax but you get the idea, dont you? I hope so.