Overcome limitation of activate ActiveX control in IE

After installing the ActiveX update patch, some webpages which contain some ActiveX controls (such as media player) will require users to manually activate such controls by clicking on it or using the TAB key and ENTER key, this is by design for

使用Popup視窗建立無限級Web頁菜單(6)

    在使用...(5)中用Show()把菜單顯示出來了,Show中的大部分大代碼都很好理解,這節主要說一下event的處理,在Show的末尾我們使用了一個AttachEvents()方法來attach滑鼠和鍵盤的事件,該方法的代碼如下: Menu.prototype.AttachEvents = function(menuHtml) {     var menuObj = __MenuCache__[menuHtml.uniqueId];

使用Popup視窗建立無限級Web頁菜單(8)

    最後總結一下樣本中的一些小問題,沒有什麼太重要的東西,主要都是為了UI上更好看些。     顯示特效的支援,使用style的filter來實現的,代碼:

把JScript函數類比為”非同步執行”方式

    我們知道"同步"和"非同步"這個概念主要是對線程來說的,這裡怎麼能把JScirpt的函數弄成非同步方式來執行呢?! 這樣做又有什麼意義呢?    當我們使用JScript來操作DHMTL元素的時候,DHTML元素的可視更新是和指令碼的執行範圍有關的,也就是說指令碼的執行是必須"間斷"的,從而讓IE的從message pump裡拿到onpaint事件訊息,否則DHTML 屬性變化引起的的可視化更新並不會馬上發生。前面說的"間斷"不是真正意義上的程式中斷,而是指令碼執行的一個範圍的變化。  

Html entity encoder/decoder

Detail refer to

Microsoft treeview background problem.

    I have a treeview in a my asp.net page, it works fine when the page has a background color, but when i set a background-image(which is defined in the <body> tag) on the page, a terrible thing happened, the treeview no longer seems to be

Microsoft’s online virtual lab

    Microsoft has created many training environments for applications like RMS, SPS, SMS, LCS, Exchange and so on, through this you can take a quick tour of these applications even though you have not installed these products on your local server.

使用CheckBox的indeterminate屬性的問題

    我們在使用Windows XP的檔案夾屬性對話方塊時,會發現檔案夾的Attributes分類裡的Read-only和Hidden選項有時不是完全的checked或unchecked狀態,而常常是一種雖然已被打勾但背景又是灰色的狀態。其實這種不確定的CheckBox狀態Web中也是可以表現的。      在Web頁面中,我們可以使用<input id="chkb"

Programatically download file from document library.

You probably have this kind of scenario, you have developed a document library system base on the WSS object model, users of this system need to download files from backend WSS site, but sometimes these users can't access the backend WSS site, you

擷取Html元素在頁面中的絕對位置及問題(1)

   在Web開發中如果要想隨心所欲的自由控制HTML元素,我們很多時候需要獲得HTML元素在頁面中的絕對位置(就是相對於瀏覽器的左上方座標(0,0))。   這個位置的擷取其實並不難,由於每個Html元素提供了一組和位置相關的屬性,他們是:

Remove duplicate items from collection

public void RemoveDuplicatesByName(){    List<Posting> postings = GetAllPostings();    postings.Sort();    for (int i = 1; i < postings.Count; i++)    {        if (postings[i].Name == postings[i - 1].Name)        {            postings.Remove

Auto get input in batch script.

    One day, I need to write a batch script to help me with my work, and there are some interactive yes/no prompt, just like this:    "Do you want to continue?[Y/N]"    This need to user make a choice, so I had to manually press the keyboard in

Web頁中的HTML元素的排版布局規則

    我們知道每個Web頁面都是由一大堆的HTML元素組成的,我們把每對<element>...</element>這樣的結構稱為box,在Web頁面的排版布局中,瀏覽器把這樣的box作為排版的元素,並且把box分為了inline level和block level兩種類型。    當然這個box內是可以容納很多其它的HTML標籤的,但是不管它的內部有多少的TAGs,box都被我們看成是一個排版元素,比如:<div style="border: solid

Remove duplicate rows from a table

Here is the thing, if we have a table with the following structure, there are thousands of records in this table, and probably some of which is duplicated. Now we need to delete those duplications by a sql query, what we should do? CREATE TABLE [dbo]

Using Explorer to get files in the GAC

    Last year, I mentioned a trick about how to copy dll from GAC, but the approach is very inconvenient. Today I saw a really awesome artile Using Explorer to get to physical files in the GAC from Jeff Key. The Explorer extension the framework

使用XMLHTTP Request Object擷取伺服器資料

    在Web用戶端使用xmlhttp對象,可以十分方便的和伺服器交換資料,我們可以擷取和發送任何類型的資料,甚至位元據到伺服器上。xmlhttp技術同時也是目前大多數無重新整理頁面使用的和伺服器交換資料的方式,這種方式比以往的隱藏iframe的方法要方便和經濟的多。     同時讓我們高興得是xmlhttp並不是IE特有的東西,雖然目前還不是W3C的標準,不過IE, Netscape/Mozilla, 和Safari都支援。在IE中我們使用new ActiveXObject('MSXML2.

“401: Access Denied” when you call webservice in your webpart.

    I recently ran into a big problem when I work on my ListAggregation webpart, the webpart need to pull some lists data from remote Wss site into my local Wss site, these two servers are not in the same domain, and all use the NTLM credential. So

Code view is missing in SharePoint Designer Beta 2 when you try to edit a WSS v3 site.

When you open up SharePoint Designer Beta 2 and try to edit a site, you will find that the code view is not there as usual even though you have full permissions of this site.By default, SharePoint Designer uses the Contributor Mode, and you will be

純指令碼搞掂DataGrid表表頭不動,表身滾動。

先看效果:孟子以前也做過這事,不過他的方法前台後台都要弄,還是VB的(^-^),好像也不支援像我的自動產生列的DataGrid,所以還是自己動手,純指令碼搞掂,其實很簡單,就幾行:        function ScrollDataGrid()        {            var tb = document.getElementById("tbHeader");            var dg = document.getElementById("dgSearchResult"

用動態代理實現AOP

Summary        這篇文章介紹了Castle的動態代理是如何? AOP 的。         向來我是“拿來主義”,即只管拿來用,不管正在用的東西是怎麼實現的。最近由於一直想把 AOP 以及 IoC 等技術加入到項目中,因此對這些技術相當關注。後來選擇了CastleProject中的DynamicProxy作為關注對象。不過這次起了貪心,不想再只知道使用,不知道如何?了,於是開始深入去查看Castle是如何? AOP 的。        Proxy 是實現 AOP

總頁數: 61357 1 .... 3912 3913 3914 3915 3916 .... 61357 Go to: 前往

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.