<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>CCKDN-云码酷 - 代码资源</title>
    <link>https://www.cckdn.cn/forum-45-1.html</link>
    <description>Latest 20 threads of 代码资源</description>
    <copyright>Copyright(C) CCKDN-云码酷</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Fri, 29 May 2026 23:43:13 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>https://www.cckdn.cn/static/image/common/logo_88_31.gif</url>
      <title>CCKDN-云码酷</title>
      <link>https://www.cckdn.cn/</link>
    </image>
    <item>
      <title>HTML手机站首页模板代码</title>
      <link>https://www.cckdn.cn/thread-2936-1-1.html</link>
      <description><![CDATA[纯HTML代码编写的WAP站首页模板，适用于各种WAP站点]]></description>
      <category>代码资源</category>
      <author>uf8</author>
      <pubDate>Sun, 27 Oct 2024 05:32:06 +0000</pubDate>
    </item>
    <item>
      <title>点击广告后才会显示出内容的代码</title>
      <link>https://www.cckdn.cn/thread-2932-1-1.html</link>
      <description><![CDATA[]]></description>
      <category>代码资源</category>
      <author>uh3kdg</author>
      <pubDate>Mon, 08 Jul 2024 14:59:32 +0000</pubDate>
    </item>
    <item>
      <title>iframe根据子页面自动调整大小，附完整代码</title>
      <link>https://www.cckdn.cn/thread-2747-1-1.html</link>
      <description><![CDATA[突然用到了iframe代码，需要根据子页面自动调整父页面的iframe高度和宽度，找了好多代码都没实现，终于找到了一个可以实现的代码，不敢私藏，拿来分享下，亲测有效。


测试条件：子页面全页面自适应，父页面调用iframe后克根据父页面位置自动调整显示大小。


代码如下 ...]]></description>
      <category>代码资源</category>
      <author>1tmk</author>
      <pubDate>Thu, 08 Dec 2022 15:26:53 +0000</pubDate>
    </item>
    <item>
      <title>沉痛悼念！一个CSS代码让网站变成黑白色灰色</title>
      <link>https://www.cckdn.cn/thread-2741-1-1.html</link>
      <description><![CDATA[]]></description>
      <category>代码资源</category>
      <author>bjgh</author>
      <pubDate>Thu, 01 Dec 2022 00:43:39 +0000</pubDate>
    </item>
    <item>
      <title>HTML网络IPTV播放器代码，可播放M3U8文件</title>
      <link>https://www.cckdn.cn/thread-2737-1-1.html</link>
      <description><![CDATA[话不多说，直接上代码

代码中js、css可选择本地代码或远程地址代码，根据需要自己修改。]]></description>
      <category>代码资源</category>
      <author>2lx1ae</author>
      <pubDate>Wed, 30 Nov 2022 05:47:47 +0000</pubDate>
    </item>
    <item>
      <title>HTML img src图片路径不存在，则显示一张默认图片的方法</title>
      <link>https://www.cckdn.cn/thread-2708-1-1.html</link>
      <description><![CDATA[我们一般会给图片设置 alt 属性，当图片路径不存在时可以显示提示文字。


1.
如图所示：



但是这样很不好看，如果用在文章列表，我们可以给 img 标签设置一个 onerror 属性，可以在 src 路径不存在时显示指定的默认图片。

测试一下，我没有给 src 设置图片链接，代 ...]]></description>
      <category>代码资源</category>
      <author>o_km</author>
      <pubDate>Thu, 24 Nov 2022 05:03:26 +0000</pubDate>
    </item>
    <item>
      <title>PHP随机加载几个页面怎样实现</title>
      <link>https://www.cckdn.cn/thread-2576-1-1.html</link>
      <description><![CDATA[我想用PHP随机加载几个页面，保证在本页面中不弹出新窗口，应该怎样写代码

劳烦大神们给个可用的源码，谢谢]]></description>
      <category>代码资源</category>
      <author>64_9q</author>
      <pubDate>Wed, 11 May 2022 14:03:47 +0000</pubDate>
    </item>
    <item>
      <title>网站中使用的强制点击广告的几种代码</title>
      <link>https://www.cckdn.cn/thread-2549-1-1.html</link>
      <description><![CDATA[如果你的网站中的广告点击率太低，可以试试这几个代码，让用户强制点击广告后才能继续操作，这样提高了广告的点击率，但是有时也回让用户感到烦感，利弊还要各位站长自己根据实际情况来使用。

强制点击广告大法(1)：

把下面代码copy入你html文件的和中即可： ...]]></description>
      <category>代码资源</category>
      <author>云码酷</author>
      <pubDate>Sat, 16 Apr 2022 09:55:36 +0000</pubDate>
    </item>
    <item>
      <title>js实现网页多级级联菜单代码</title>
      <link>https://www.cckdn.cn/thread-94-1-1.html</link>
      <description><![CDATA[本文实例讲述了js实现网页多级级联菜单。分享给大家供大家参考。具体如下：这是大家在网页上经常会见到的级联菜单特效，不过这一个代码是由JS来实现，将级联菜单中的内容保存在了JS数组中，为了页面美观，本次还美化了一下表格边框，整体看上去更和谐实用了，多级的下拉 ...]]></description>
      <category>代码资源</category>
      <author>云码酷</author>
      <pubDate>Thu, 13 Jul 2017 06:30:01 +0000</pubDate>
    </item>
    <item>
      <title>获取iframe父页面声明的变量值，获取iframe父页面对象</title>
      <link>https://www.cckdn.cn/thread-35-1-1.html</link>
      <description><![CDATA[iframe 就是一个内嵌的子窗口。
首先父页面index.htm有一个变量var isPhoto=1;那么如何在Iframe页面获取父js变量，和对象呢？frameIn.htm页面代码alert(parent.isPhoto);alert(parent.document.getElementById(\'yq\').value);//如果是jquery取对象，可以这样：$(\'#objID\' ...]]></description>
      <category>代码资源</category>
      <author>云码酷</author>
      <pubDate>Mon, 05 Jun 2017 05:41:52 +0000</pubDate>
    </item>
    <item>
      <title>php 日期处理 当前时间加一年等</title>
      <link>https://www.cckdn.cn/thread-15-1-1.html</link>
      <description><![CDATA[]]></description>
      <category>代码资源</category>
      <author>admin</author>
      <pubDate>Sat, 06 May 2017 12:05:21 +0000</pubDate>
    </item>
  </channel>
</rss>