<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>散人笔记 &#187; 提示</title>
	<atom:link href="http://www.uideas.cn/post/tag/%e6%8f%90%e7%a4%ba/feed" rel="self" type="application/rss+xml" />
	<link>http://www.uideas.cn</link>
	<description>生活来源于创意,所以我懂生活</description>
	<lastBuildDate>Sun, 22 Aug 2010 07:17:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>自定义的类似title的提示效果</title>
		<link>http://www.uideas.cn/post/215.html</link>
		<comments>http://www.uideas.cn/post/215.html#comments</comments>
		<pubDate>Tue, 23 Feb 2010 04:06:32 +0000</pubDate>
		<dc:creator>kos</dc:creator>
				<category><![CDATA[JAVASCRIPT]]></category>
		<category><![CDATA[title]]></category>
		<category><![CDATA[提示]]></category>

		<guid isPermaLink="false">http://www.uideas.cn/?p=215</guid>
		<description><![CDATA[　　前面有一篇文章实现有类似的功能，链接地址为　[ <a href="http://www.uideas.cn/post/43.html">巧用title属性做提示功能，兼容的js代码</a> ]　。
这里是用的title属性实现的这样的功能,现在用另一种方式来达到同样的效果,只不过用的是层来实现]]></description>
			<content:encoded><![CDATA[<p>前面有一篇文章实现有类似的功能</p>
<p><a href="http://www.uideas.cn/post/43.html">巧用title属性做提示功能，兼容的js代码</a></p>
<p>这里是用的title属性实现的这样的功能,现在用另一种方式来达到同样的效果,只不过用的是层来实现</p>
<p>直接看下面的例子</p>
<form enctype="application/x-www-form-urlencoded" method="get"><code></p>
<div class="Nodiv">
<div class="Notitle">CODE</div>
<div class="Nocontent"><textarea class="textarea" cols="20" rows="8">&lt;html&gt; &lt;head&gt; &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"&gt; &lt;title&gt;无标题文档&lt;/title&gt; &lt;script language="javascript" type="text/javascript" src="http://www.uideas.cn/download/titlestyle.js"&gt;&lt;/script&gt; &lt;style&gt; body{ margin:0px; padding:0px;} #titleCov{position:absolute; z-index:6000;display:none;} #titleIframe{width:100%; position:absolute; opacity:0; _filter:Alpha(opacity=0)} #titleCon{ border:1px #00FF66 solid; background:#f2f5fa;  padding-left:4px; padding-right:4px; white-space:nowrap; _word-break:keep-all} &lt;/style&gt; &lt;/head&gt;  &lt;body&gt;  &lt;a onMouseOver="titleView(this,'这是一个超链接')" onMouseOut="titleNone()" href="http://www.uideas.cn"&gt;友意博客&lt;/a&gt; &lt;a onMouseOver="titleView(this,'这是一个没有地址的图片,所以不能显示')" onMouseOut="titleNone()"&gt;&lt;img src="" width="100" height="50" border="1"&gt;&lt;/a&gt; &lt;a onMouseOver="titleView(this,'这是一个距左边有一段距离的图片,主要是看提示过长会有怎么的效果')" onMouseOut="titleNone()" style="padding-left:300px;"&gt;&lt;img src="" width="100" height="50" border="1"&gt;&lt;/a&gt; &lt;div id="titleCov"&gt; &lt;iframe id="titleIframe" frameborder="0" scrolling="no"&gt;&lt;/iframe&gt; &lt;table border="0" cellspacing="0" cellpadding="0"&gt;   &lt;tr&gt;     &lt;td id="titleCon"&gt;&amp;nbsp;&lt;/td&gt;   &lt;/tr&gt; &lt;/table&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </textarea></div>
<div class="Nobutton">
<input onclick="RunCode(this)" type="button" value="运行代码" />
<input onclick="CopyCode(this)" type="button" value="复制代码" />
<input onclick="SaveCode(this)" type="button" value="保存代码" />
<span class="Nots">[Ctrl+A 全部选择 提示：你可先修改部分代码，再按运行]</span>
</div>
</div>
<p></code></form>
]]></content:encoded>
			<wfw:commentRss>http://www.uideas.cn/post/215.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
