<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://www.pythonclub.org/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://www.pythonclub.org/feed.php">
        <title>Python 俱乐部 html:javascript:example</title>
        <description></description>
        <link>http://www.pythonclub.org/</link>
        <image rdf:resource="http://www.pythonclub.org/lib/tpl/dokuwiki/images/favicon.ico" />
       <dc:date>2026-04-30T22:27:59+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://www.pythonclub.org/html/javascript/example/pop-window?rev=1275441528&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.pythonclub.org/html/javascript/example/start?rev=1275441528&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.pythonclub.org/html/javascript/example/taobao-pop-window?rev=1275441528&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://www.pythonclub.org/lib/tpl/dokuwiki/images/favicon.ico">
        <title>Python 俱乐部</title>
        <link>http://www.pythonclub.org/</link>
        <url>http://www.pythonclub.org/lib/tpl/dokuwiki/images/favicon.ico</url>
    </image>
    <item rdf:about="http://www.pythonclub.org/html/javascript/example/pop-window?rev=1275441528&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-06-02T01:18:48+00:00</dc:date>
        <title>号称可用的Javascript弹窗代码</title>
        <link>http://www.pythonclub.org/html/javascript/example/pop-window?rev=1275441528&amp;do=diff</link>
        <description>号称可用的Javascript弹窗代码

号称可用的弹窗代码，能通过IE，Firefox弹窗检测。


&lt;Script Language=Javascript&gt;
&lt;!--
function setCookie(name, value, expire) {   
  window.document.cookie = name + &quot;=&quot; + escape(value) + ((expire == null) ? &quot;&quot; : (&quot;; expires=&quot; + expire.toGMTString()));
}

function getCookie(Name) {   
   var search = Name + &quot;=&quot;;
   if (window.document.cookie.length &gt; 0) { // if there are any cookies
     offset = window.document.cookie.indexOf(search);
         if (offset != -1) { // if cookie exists
       offse…</description>
    </item>
    <item rdf:about="http://www.pythonclub.org/html/javascript/example/start?rev=1275441528&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-06-02T01:18:48+00:00</dc:date>
        <title>JavaScript 实例</title>
        <link>http://www.pythonclub.org/html/javascript/example/start?rev=1275441528&amp;do=diff</link>
        <description>JavaScript 实例

	*  号称可用的Javascript弹窗代码
	*  淘宝弹窗代码 Javascript</description>
    </item>
    <item rdf:about="http://www.pythonclub.org/html/javascript/example/taobao-pop-window?rev=1275441528&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-06-02T01:18:48+00:00</dc:date>
        <title>淘宝弹窗代码 Javascript</title>
        <link>http://www.pythonclub.org/html/javascript/example/taobao-pop-window?rev=1275441528&amp;do=diff</link>
        <description>淘宝弹窗代码 Javascript


$E.on(window, 'load', function() {
if (TB.bom.getCookie('_tb_defaultbackpop_') == 1) return;
var saveStatus = function() {
       var nowDate = new Date();
       var nowTime = nowDate.getHours()*3600 + nowDate.getMinutes()*60 + nowDate.getSeconds();
       var DAY = 24*3600;
       var leaveTime = DAY - nowTime;
TB.bom.setCookie('_tb_defaultbackpop_', 1, leaveTime/DAY, document.domain, '/');
}
var createPopup = function() {
       var adPopup = window.open('about:blank','_ba…</description>
    </item>
</rdf:RDF>
