可以实现。
js写麻烦,你慢慢测试,就是你的思路。asp方便些:在index.asp页面中:url = request.servervariables("server_name")
if url="www.abc.com" then
response.redirect "index1.asp"
elseif url="www.def.com" then
response.redirect "index2.asp"
end if我常用这样的方法。可行。
解决方案 »
- 一个页面显示特效,求教!
- 将ascall码转换成对应的字符的方法
- jQuery怎么遍历表格,获取第一列的值,在线等...
- 设置焦点后,不让页面滚动
- 对一个文本框输入数值,然后点击按钮,使表单内指定的几个文本框内容变成这个数值
- 关于表格的显示
- 在iframe中打开编辑模式后怎样取得点击的无素,有什么好的方法
- 急一个列表框的选择后,提交后,后退的时候列表框里的内容变了,怎么才能不变!
- document.body.scrollTop 与 document.body.offsetHeight 分别得到什么数值?
- 如何在javascript中实现超级链接?请帮忙!谢谢!
- 为何有的机子不能进行打印预览?(急死了!TMD经理的机子不能运行!)
- 求一段三个输入框之间关系的代码
setTimeout('window.location.href=\'index1.asp\'', 2000);
if (window.location.href.substring(0, window.location.href.lastIndexOf("/"))=="http://www.def.com")
location.href='index2.asp'; </script>