原创 HTML學習(2)(摘抄自慕課)

1、使用<a>標籤,鏈接到別一個頁面使用<a>標籤可實現超鏈接,它在網頁製作中可以說是無處不在,只要有鏈接的地方,就會有這個標籤。語法:<a  href="目標網址"  title="鼠標滑過顯示的文本">鏈接顯示的文本</a>例如:<a 

原创 C#計時器

C#中一共有4中常用的計時器:System.Timers.Timer 和 System.Windows.Forms.Timer ,它的最低識爲 1/18s。timeGetTime ,它的最低識別能達到 5ms 。System.Environ

原创 C#委託簡單使用

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace

原创 javascript-添加新聞

<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head>    <meta http-equiv="Content-Type" content="text/html;

原创 我的友情鏈接

51CTO博客開發

原创 Asp.Net常用方法

using System;using System.Collections.Generic;using System.Text;using System.Text.RegularExpressions;using System.IO;usi

原创 .net中JSON的序列化與反序列化

Penson類using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Json_Demo {     p

原创 Asp.Net常用文件操作方法

using System;using System.Collections.Generic;using System.Text;using System.IO;using System.Web;using System.Net;using

原创 Request.Form與Request.QueryString使用

controler控制器代碼 using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc

原创 JS獲取URL地址參數值

//variable參數名稱 function getQueryVariable(variable){        var query = window.location.search.substring(1);        var v

原创 c#中不定長參數(關鍵字Params)使用

Params:params 關鍵字可以指定在參數數目可變處採用參數的方法參數。注意點:1、一個方法中只能使用一個params來聲明不定長參數數組;2、params參數數組只能放在已定義參數後面3、在方法聲明中的 params 關鍵字之後不允

原创 C#委託簡單使用

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace

原创 滾動時動態加載頁面內容

var loading = false; $(window).scroll(function(){ if((($(window).scrollTop()+$(window).height())+250)>=$(document).heigh

原创 javascript學習--段落字體的放大與縮小

注意:javascript中的CSS樣式與非javascript中的樣式不同,在非javascript中的樣式字體大小:font-size,而在javascript中則是fontSize.在非javascript中的樣式中“-”改寫爲第二個

原创 我的友情鏈接

51CTO博客開發