Home >Web Front-end >HTML Tutorial >调用css_html/css_WEB-ITnose

调用css_html/css_WEB-ITnose

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-21 09:42:491211browse

CSS

网站有英文,繁体,简体 三种语言版本,英文和繁体调用的是一个样式(style1.css),而简体需要调用的是另一个样式(style2.css).请问要怎样才能实现简体调用该样式?

回复讨论(解决方案)

问题是你怎么实现语言切换的?切换语言的时候用js设置cookie,cookie保存语言版本,然后js读取cookie后根据语言版本输出对应的css就行了

如何用JavaScript动态修改CSS样式表:
http://blog.csdn.net/theforever/article/details/7072442

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn