好学IT学院:IT信息技术分享交流平台
标签:JS  来源:互联网  作者:本站整理  发布时间:2009-11-13  ★★★加入收藏〗〖手机版
摘要:

如何给文本连接加上提示语言?
英文排版的问题:怎么能让英自动排列整齐?
如何禁止自己的页面在别人的框架里打开?
在打开的子窗口刷新父窗口的代码里如何写?
如何不用图片生…

内容提示:
--------
如何给文本连接加上提示语言?
英文排版的问题:怎么能让英自动排列整齐?
如何禁止自己的页面在别人的框架里打开?
在打开的子窗口刷新父窗口的代码里如何写?
如何不用图片生成圆角的表格?
如何在java script中捕捉错误信息?
JS正则表达式replace用法
如何实现首页全屏幕显示?
如何动态改变一个Object对象的样式表风格的Class?
如何用脚本来修改用户系统的注册表?
如何监听一个窗口被关闭了?
什么是innerHTML、outerHTML………还有innerText?
--------

如何给文本连接加上提示语言?

HTML 代码片段如下:
<a href="#" title="我出来拉">click me</a>

英文排版的问题:怎么能让英自动排列整齐?

请使用css中的
text-align: justify;

HTML 代码片段如下:
<table width="100%" border="0" cellspacing="0" cellpadding="7" bgcolor="#f7f7f7">
<tr>
<td><font color="#990000">[效果]</font><br>
who are you you are a aaa is it comprehention who are you you are a pig is it comprehention
who are you you are a aaa is it comprehention
who are you you are a aaa is it comprehention
</font></td>
</tr>
</table>

如何禁止自己的页面在别人的框架里打开?

把以下代码加至你的<head>区
<script>
if (window.top!=self){
window.top.location=self.location
}
</script>

在打开的子窗口刷新父窗口的代码里如何写?

window.opener.location.reload()

如何不用图片生成圆角的表格?

HTML 代码片段如下:
<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:w="urn:schemas-microsoft-com:office:word"
xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=GB2312">
<link rel=Original-File href="文档%201">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 9">
<meta name=Originator content="Microsoft Word 9">
<link rel=File-List href="./文档%201.files/filelist.<B>xml</B>">
<link rel=Edit-Time-<B>Data</B>href="./文档%

201.files/editdata.mso">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><!--[if gte mso 9]><<B>xml</B>>
 <o:DocumentProperties>
 <o:Author>zhy</o:Author>
 <o:Template>Normal</o:Template>
 <o:Revision>1</o:Revision>
 <o:TotalTime>1</o:TotalTime>
 <o:Created>2003-05-10T09:20:00Z</o:Created>
 <o:Pages>1</o:Pages>
 <o:Characters>1</o:Characters>
 <o:Company>yd</o:Company>
 <o:Lines>1</o:Lines>
 <o:Paragraphs>1</o:Paragraphs>
 <o:CharactersWithSpaces>1</o:CharactersWithSpaces>
 <o:Version>9.2812</o:Version>
 </o:DocumentProperties>
</<B>xml</B>><![endif]--><!--[if gte mso 9]><<Bstyle="color:black;background-color:#99ff99">xml</B>>
 <w:WordDocument>
 <w:View>Normal</w:View>
 <w:Zoom>0</w:Zoom>
 <w:PunctuationKerning/>
 <w:DrawingGridVerticalSpacing>7.8 磅</w:DrawingGridVerticalSpacing>
 <w:DisplayHorizontalDrawingGridEvery>0</w:DisplayHorizontalDrawingGridEvery>
 <w:DisplayVerticalDrawingGridEvery>2</w:DisplayVerticalDrawingGridEvery>
 <w:Compatibility>
  <w:SpaceForUL/>
  <w:BalanceSingleByteDoubleByteWidth/>
  <w:DoNotLeaveBackslashAlone/>
  <w:ULTrailSpace/>
  <w:DoNotExpandShiftReturn/>
  <w:AdjustLineHeightInTable/>
  <w:UseFELayout/>
 </w:Compatibility>
 <w:DoNotOptimizeForBrowser/>
 </w:WordDocument>
</<B>xml</B>><![endif]-->
<style>
<!--
 /* Font Definitions */
@font-face
{font-family:宋体;
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-alt:SimSun;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:1 135135232 16 0 262144 0;}
@font-face
{font-family:"\@宋体";
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:1 135135232 16 0 262144 0;}
 /* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
text-justify:inter-ideograph;
mso-pagination:none;
font-size:10.5pt;
mso-bidi-font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:宋体;
mso-font-kerning:1.0pt;}
 /* Page Definitions */
@page
{mso-page-border-surround-header:no;
mso-page-border-surround-footer:no;}
@page Section1
{size:595.3pt 841.9pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;
mso-header-margin:42.55pt;
mso-footer-margin:49.6pt;
mso-paper-source:0;
layout-grid:15.6pt;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><<B>xml</B>>
 <o:shapedefaults v:ext="edit" spidmax="2050"/>
</<B>xml</B>><![endif]--><!--[if gte mso 9]><<B

style="color:black;background-color:#99ff99">xml</B>>
 <o:shapelayout v:ext="edit">
 <o:idmap v:ext="edit" <B>data</B>="1"/>
 </o:shapelayout></<B>xml</B>><![endif]-->
</head>

<body lang=ZH-CN style='tab-interval:21.0pt;text-justify-trim:punctuation'>
<div class=Section1 style='layout-grid:15.6pt'>

<p class=MsoNormal><!--[if gte vml 1]><v:shapetype id="_x0000_t176"
 coordsize="21600,21600" o:spt="176" adj="2700"
path="m@0,0qx0@0l0@2qy@0,21600l@1,21600qx21600@2l21600@0qy@1,0xe">
 <v:stroke joinstyle="miter"/>
 <v:formulas>
 <v:f eqn="val #0"/>
 <v:f eqn="sum width 0 #0"/>
 <v:f eqn="sum height 0 #0"/>
 <v:f eqn="prod @0 2929 10000"/>
 <v:f eqn="sum width 0 @3"/>
 <v:f eqn="sum height 0 @3"/>
 <v:f eqn="val width"/>
 <v:f eqn="val height"/>
 <v:f eqn="prod width 1 2"/>
 <v:f eqn="prod height 1 2"/>
 </v:formulas>
 <v:path gradientshapeok="t" limo="10800,10800" o:connecttype="custom"
 o:connectlocs="@8,0;0,@9;@8,@7;@6,@9" textboxrect="@3,@3,@4,@5"/>
</v:shapetype><v:shape id="_x0000_s1028" type="#_x0000_t176" style='position:absolute;
 left:0;text-align:left;margin-left:135pt;margin-top:31.2pt;width:171pt;
 height:101.4pt;z-index:1'>
 <v:textbox>
 <![if !mso]>
 <table cellpadding=0 cellspacing=0 width="100%">
  <tr>
  <td><![endif]>
  <div>
  <p class=MsoNormal><span style='font-family:宋体;mso-ascii-font-family:"Times New Roman";
  mso-hansi-font-family:"Times New Roman"'>这个可以算吗</span></p>
  </div>
  <![if !mso]></td>
  </tr>
 </table>
 <![endif]></v:textbox>
</v:shape><![endif]--><![if !vml]><span style='mso-ignore:vglayout'>

<table cellpadding=0 cellspacing=0 align=left>
 <tr>
 <td width=180 height=42></td>
 </tr>
 <tr>
 <td></td>
 <td><img width=231 height=138 src="./文档%201.files/image001.gif"
 alt=" 这个可以算吗" v:shapes="_x0000_s1028"></td>
 </tr>
</table>
</span><![endif]><span lang=EN-US><![if !supportEmptyParas]><![endif]><o:p></o:p></span></p>
</div>
</body>
</html>

解密Windows系统克隆攻击与防护技术
  随着电脑技术的发展和电脑的普及,还有大大小小的“骇客”网站和越来越简单的工具,使得目前攻击变得日趋频繁,被植入木马的电脑或服务器也…
  • 好学考试H5触屏版开放内测
  • 好学触屏公众号虎力全开、杨帆起航!