原创 【設爲首頁】【加入收藏】代碼

<a href="javascript:void(0);" onClick="SetHome(this,window.location)" style="behavior: url(#default#homepage)">設爲首頁</a> 

原创 圖片旋轉效果

.edu ul li img{ transition:All 0.4s ease-in-out; -webkit-transition:All 0.4s ease-in-out; -moz-transition:All 0.4s ease-

原创 手機站圖片設置固定比例大小

<script type="text/javascript">  $(function() { $(".pro li img").height($(".pro li img").width() / (1 / 1)); $(".pro-2 l

原创 織夢圖集的使用

<!---圖集內容--->                       <div id="wrapper">             <!--滾動看圖-->      <div id="picSlideWrap" class="clearf

原创 文字左右滾動代碼

<marquee behavior="scroll" contenteditable="true" onstart="this.firstChild.innerHTML+=this.firstChild.innerHTML;" scroll

原创 判斷手機跳轉

<script type="text/javascript">  var browser = {  versions : function() {  var u = navigator.userAgent, app = navigator.

原创 多列文字向上滾動代碼

<div id="marquee2"  class="marqueetop"> <div> <ul id="marquee2_1"> {dede:arclist   typeid='17'  orderby ='pubdate' title

原创 產品圖片列表左右滾動

<script type="text/javascript" src="js/jquery-1.9.1.min.js"></script><script type="text/javascript" src="js/jquery.super

原创 織夢表單添加前臺隱藏的提交時間(後臺可見)

<script type="text/javascript"> window.onload = function(){ var nowDate = new Date(); var str = nowDate.getFullYear()+"-

原创 【整理】網站返回頂部代碼

<!------------返回頂部-----------><div id="tbox"><a id="gotop"  href="javascript:void(0)">    <div>回到頂部</div>    </a></div><

原创 點擊切換內容

<div class="znpx"><ul><li id="dkzx1" onmouseover="setTab('dkzx',1,6)" class="chs">發展戰略諮詢</li><li id="dkzx2" onmouseover=

原创 表單非空驗證代碼

<script type="text/javascript"> //用戶名非空驗證  <!--  $(document).ready(function()  {  //驗證  $('#bd1').submit(function ()  {