• 河南网站建设-郑州网站设计-郑州网站建设-手机建站-郑州建站-上海建站

  • 专注网站建设 服务热线: 13061801310

当前位置:好东东网 > 近期动态 > 技术分享 > 正文

对你有用的网址

发布时间:2015-10-08 | 发布者: 东东工作室 | 浏览次数:

店铺:叮咚衣鞋城

网址:https://shop116528524.taobao.com/

<metahttp-equiv="refresh"content="5; url=http://www.dongdongliu.cn/"/>

5秒之后转到东东首页:

 

js页面跳转

1.window.location.href方式

    <script language="javascript" type="text/javascript">

           window.location.href="target.aspx"; 

    </script>

2.window.navigate方式跳转

   <script language="javascript">

    window.navigate("target.aspx");

</script>

 

3.window.loction.replace方式实现页面跳转,注意跟第一种方式的区别

<script language="javascript">

    window.location.replace("target.aspx");

</script>

 

4 如果一个特定版本的IE支持所要求的兼容性模式多于一种,如

 

<meta http-equiv=“X-UA-Compatible” content=“IE=5; IE=8″ 

5  border-radius: 50%; 边框为圆圈

6:valign 调格子中内容的垂向(上下)位置,valign=“top“上面,  valign=“middle“中间,或 valign=“bottom 下面。

 

align 调格子中内容的(左右)横向位置,align="LEFT“ 左边对齐, align="CENTER“中间 或 align="RIGHT“右边对齐。

 

7:<marquee behavior="scroll" contenteditable="true" onstart="this.firstChild.innerHTML+=this.firstChild.innerHTML;" scrollamount="3" width="100" onmouseover="this.stop();" onmouseout="this.start();"> 

这里是要滚动的内容 

</marquee> 

 

8: js特效

http://www.wufangbo.com/jquery-examples-list/

9: CSS中Position 的用法

static :默认值,无特殊定位,对象遵循正常文档流。top,right,bottom,left等属性不会被应用,默认值。

relative:相对定位,对象遵循正常文档流,但将依据top,right,bottom,left等属性在正常文档流中偏移位置。

absolute:绝对定位,对象脱离正常文档流,使用top,right,bottom,left等属性进行绝对定位。而其层叠通过z-index属性定义。

fixed:固定定位,对象脱离正常文档流,使用top,right,bottom,left等属性以窗口为参考点进行定位,当出现滚动条时,对象不会随着滚动。

网址:http://www.studyofnet.com/news/157.html

 

10  html页面转化为js页面

 html页面如下:

<script type="text/javascript" src="index.js" charset="gb2312"></script>

js页面如下:

document.writeln("<object style='border:0px' type='text/x-scriptlet' data='index.html'  width=100%  height=440></object> ");

店铺:叮咚衣鞋城

网址:https://shop116528524.taobao.com/

转载请标注:东东工作室——对你有用的网址

上一篇:微营销系列教程
下一篇:修复网络命令