Java redirect in a CSS file
Is it possible, using BEHAVIOR or other selectors, to put some kind of java command in a .css file that would redirect to another page? My problem is I had a site on a free server who recently shut me out of editing or accessing the site, but its still up and the only access I have is the .css files for that now defunct site are remotely linked on a domain I do still have access to. So, I want to put some kind of code in those css files that will redirect anyone accessing the old site to my new domain. The reason I care is I've had this old site since '97 (!) and it gets monster traffic and my new site is just up and running and gets zero.
Is it possible? I've tried 100 different combinations and google searched until my eyes are bleary but I can't make it work.
Any help would be appreciated.
you can AIM me or email me too if you like
email: <!-- e --><a href="mailto:[email protected]">[email protected]</a><!-- e -->
AIM: docDWFAs far as I know, that is not possible. You should try contacting the people in charge of your site and asking them to let you put a redirect script in. That's all the advice I can give you. Sorry!JAVA is a programing language, but I assume you are talking about JavaScript.
In any case neighter can be put into a .css file.
What you can do is to use :before or :after in combination with CSS CONTENT to add a textlink to the site, but most browsers don't understand that CSS yet.
Is it possible, using BEHAVIOR or other selectors, to put some kind of java command in a .css file that would redirect to another page? My problem is I had a site on a free server who recently shut me out of editing or accessing the site, but its still up and the only access I have is the .css files for that now defunct site are remotely linked on a domain I do still have access to. So, I want to put some kind of code in those css files that will redirect anyone accessing the old site to my new domain. The reason I care is I've had this old site since '97 (!) and it gets monster traffic and my new site is just up and running and gets zero.
Is it possible? I've tried 100 different combinations and google searched until my eyes are bleary but I can't make it work.
Any help would be appreciated.
you can AIM me or email me too if you like
email: <!-- e --><a href="mailto:[email protected]">[email protected]</a><!-- e -->
AIM: docDWFAs far as I know, that is not possible. You should try contacting the people in charge of your site and asking them to let you put a redirect script in. That's all the advice I can give you. Sorry!JAVA is a programing language, but I assume you are talking about JavaScript.
In any case neighter can be put into a .css file.
What you can do is to use :before or :after in combination with CSS CONTENT to add a textlink to the site, but most browsers don't understand that CSS yet.