Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB
ÈÈÃűêÇ©£º c c# c++ asp asp.net linux php jsp java vb Python Ruby mysql sql access Sqlite sqlserver delphi javascript Oracle ajax wap mssql html css flash flex dreamweaver xml
 ×îÐÂÎÄÕ : html

HTMLÖÐʵÏÖÓÒ¼ü²Ëµ¥¹¦ÄÜ

HTMLÖÐʵÏÖÓÒ¼ü²Ëµ¥¹¦ÄÜ
ÎÒÃÇʹÓõÄÓ¦ÓÃϵͳºÜ¶à¶¼ÓÐÓÒ¼ü²Ëµ¥¹¦ÄÜ¡£µ«ÊÇÔÚÍøÒ³ÉÏÃ棬µã»÷ÓÒ¼üÒ»°ãÏÔʾµÄÈ´ÊÇIEĬÈϵÄÓÒ¼ü²Ëµ¥£¬ÄÇôÎÒÃÇÈçºÎʵÏÖ×Ô¼ºµÄÓÒ¼ü²Ëµ¥ÄØ£¿ÏÂÃ潫½²½âÓÒ¼ü²Ëµ¥¹¦ÄܵÄʵÏÖÔ­ÀíºÍʵÏÖ´úÂë¡£
 
ʵÏÖÔ­Àí
ÔÚHTMLÓïÑÔÖУ¬»ù±¾ÉÏÿ¸ö¶ÔÏó¶¼ÓÐÒ»¸öoncontextmenuʼþ£¬Õâ¸öʼþ¾ÍÊÇÊó±êµÄÓÒ¼üµ¥»÷ʼþ£¨onclickʼþÊÇÊó±êµÄ×ó¼üµ¥»÷ʼþ£©£¬ÄÇôÎÒÃǾͿÉÒÔÔÚÊó±êÓÒ»÷µÄʱºò£¬ÈÃϵͳµ¯³öÒ»¸ö´°¿Ú£¨Õâ¸öÊÇpopup´°¿Ú£¬ÏÔʾÔÚIEµÄ×îÇ°Ã棬ûÓв˵¥£©£¬ÉÏÃæÏÔʾÎÒÃÇÏëÒªÏÔʾµÄ²Ëµ¥ÐÅÏ¢£¬µ±ÎÒÃǵ¥»÷ÆäÖÐijһÏîµÄʱºò£¬¾ÍÖ´ÐÐÎÒÃÇÉ趨µÄ¶¯×÷£¬È»ºó½«µ¯³ö´°¿Ú¹Ø±Õ¡£
 
ʵÏÖ´úÂë
ÏÂÃæÎÒдÁËÒ»¸öʾÀý´úÂ룬ģÄâÒ»¸öÊ÷ÐͲ˵¥£¬µ±ÎÒÃÇÓÒ¼üµã»÷Ê÷ÐͲ˵¥Ä³Ò»ÏîµÄʱºò£¬¾Í»áµ¯³öÓÒ¼ü²Ëµ¥£¬ÀïÃæÓГÐÂÔö”¡¢“Ð޸Ĕ¡¢“ɾ³ý”Èý¸ö²Ëµ¥Ïµ¥»÷ijÏî»áÖ´ÐÐÏàÓ¦µÄ²Ù×÷¡£Èç¹ûÊÇÔÚÒ³ÃæµÄÆäËüµØ·½µã»÷ÓÒ¼üµÄ»°£¬¾ÍÖ»ÏÔʾ“ÐÂÔö”Ò»¸ö²Ëµ¥Ïî¡£ÏÂÃæµÄ´úÂëÄÚÈÝ£º
 
contextmenuDemo.htmlÎļþ
¨D¨D¨D¨D¨D¨D¨D¨D¨D¨D¨D¨D¨D¨D¨D¨D¨D¨D¨D¨D¨D¨D¨D¨D¨D¨D¨D¨D¨D¨D¨D¨D¨D
<%--
/**
*ʵÏÖÓÒ¼ü²Ëµ¥¹¦ÄÜ
*/
  ......

html Öбí¸ñ³¤¶È¹Ì¶¨

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="Content-Language" content="gb2312" />
<title>test</title>
<meta name="Author" content="Doyoe(Æ®ÁãÎíÓê), edzmaster@gmail.com" />
<style type="text/css">
table {width:500px;table-layout:fixed;}
.col1 {width:100px;}
.col2 {width:200px;}
.col3 {width:200px;}
th strong {display:block;width:100%;}
tr strong,tr td {white-space:nowrap;overflow:hidden;}
</style>
</head>
<body>
<table border="1" cellspacing="0" summary="²âÊÔ">
<thead>
 <tr>
  <th class="col1"><strong>²úÆ·Ãû³Æ</strong></th>
  <th class="col2"><strong>²úÆ·½éÉÜ</strong></th>
  <th class="col3">&l ......

wxWidgets access html file in zip package

/************************************************************************
* Description: ·ÃÎÊzipÖеÄhtm Ö® Widgetsѧϰ
* Author: ³ÂÏàÀñ
* Compiled: VC8 + wxWidgets2.8.10
* Date: 04/02/10
************************************************************************/
/************************************************************************
* Description: ·ÃÎÊzipÖеÄhtm Ö® Widgetsѧϰ
* Author: ³ÂÏàÀñ
* Compiled: VC8 + wxWidgets2.8.10
* Date: 04/02/10
************************************************************************/
#include "wx/wx.h"
#include "wx/image.h"
#include "wx/html/htmlwin.h"
#include "wx/fs_zip.h"
class AppMain : public wxApp
{
public:
virtual bool OnInit();
protected:
private:
};
class FrameMain : public wxFrame
{
public:
FrameMain( const wxString& title, const wxPoint& pos, const wxSize& size );
void OnQuit( wxCommandEvent& event );
void OnBack( wxCommandEvent& event );
void OnForw ......

wxWidgets access html file in zip package

/************************************************************************
* Description: ·ÃÎÊzipÖеÄhtm Ö® Widgetsѧϰ
* Author: ³ÂÏàÀñ
* Compiled: VC8 + wxWidgets2.8.10
* Date: 04/02/10
************************************************************************/
/************************************************************************
* Description: ·ÃÎÊzipÖеÄhtm Ö® Widgetsѧϰ
* Author: ³ÂÏàÀñ
* Compiled: VC8 + wxWidgets2.8.10
* Date: 04/02/10
************************************************************************/
#include "wx/wx.h"
#include "wx/image.h"
#include "wx/html/htmlwin.h"
#include "wx/fs_zip.h"
class AppMain : public wxApp
{
public:
virtual bool OnInit();
protected:
private:
};
class FrameMain : public wxFrame
{
public:
FrameMain( const wxString& title, const wxPoint& pos, const wxSize& size );
void OnQuit( wxCommandEvent& event );
void OnBack( wxCommandEvent& event );
void OnForw ......

Javascript ÖжÔHTML±àÂëºÍ½âÂëµÄ·½·¨

String.prototype.HTMLEncode = function() {
var temp = document.createElement ("div");
(temp.textContent != null) ? (temp.textContent = this) : (temp.innerText = this);
var output = temp.innerHTML;
temp = null;
return output;
}
String.prototype.HTMLDecode = function() {
var temp = document.createElement("div");
temp.innerHTML = this;
var output = temp.innerText || temp.textContent;
temp = null;
return output;
}
ÉÏÃæ´úÂëת×Ô£ºhttp://www.jb51.net/article/18396.htm
±¾È˶ÔjavascriptµÄºËÐļ¼Êõ²»ÊÇÌ«ÊìϤ£¬ÔÙ¼ÓÉÏÏÖÔÚÓÖÔÚÓò»ÊìϤµÄEXTÀ´±àдǰ̨ҳÃæ´úÂ룬ËùÒÔÖ»µÃÓÃ×µÄ·½·¨£¬²»À©Õ¹String×Ô¼ºÐ´´¦Àíº¯Êý£º
htmlDecode:function(str){
  var temp = document.createElement ("div");
  temp.innerHTML = str;
    var output = temp.innerText || temp.textContent;
    temp=null;
  return output;
 }
htmlEncode:function(str){
  var temp = document.createElement ("div");
  (temp.textContent ! ......

Javascript ÖжÔHTML±àÂëºÍ½âÂëµÄ·½·¨

String.prototype.HTMLEncode = function() {
var temp = document.createElement ("div");
(temp.textContent != null) ? (temp.textContent = this) : (temp.innerText = this);
var output = temp.innerHTML;
temp = null;
return output;
}
String.prototype.HTMLDecode = function() {
var temp = document.createElement("div");
temp.innerHTML = this;
var output = temp.innerText || temp.textContent;
temp = null;
return output;
}
ÉÏÃæ´úÂëת×Ô£ºhttp://www.jb51.net/article/18396.htm
±¾È˶ÔjavascriptµÄºËÐļ¼Êõ²»ÊÇÌ«ÊìϤ£¬ÔÙ¼ÓÉÏÏÖÔÚÓÖÔÚÓò»ÊìϤµÄEXTÀ´±àдǰ̨ҳÃæ´úÂ룬ËùÒÔÖ»µÃÓÃ×µÄ·½·¨£¬²»À©Õ¹String×Ô¼ºÐ´´¦Àíº¯Êý£º
htmlDecode:function(str){
  var temp = document.createElement ("div");
  temp.innerHTML = str;
    var output = temp.innerText || temp.textContent;
    temp=null;
  return output;
 }
htmlEncode:function(str){
  var temp = document.createElement ("div");
  (temp.textContent ! ......

html ÖÐcursorµÄÑùʽ


Êó±êµÄ¶àÖÖÑùʽ...
<P>&lt;a href="help.htm" style="cursor:hand"&gt;ÊÖ&lt;/a&gt;
&lt;a href="help.htm" style="cursor:text"&gt;Îı¾&lt;/a&gt;
&lt;a href="help.htm" style="cursor:MOVE"&gt;Ëĸö·½ÏòµÄ¼ýÍ·&lt;/a&gt;
&lt;a href="help.htm" style="cursor:e-resize"&gt;×óÓÒ·½ÏòµÄ¼ýÍ·&lt;/a&gt;
&lt;a href="help.htm" style="cursor:nw-resize"&gt;ÓÒбÏ·½¼ýÍ·&lt;/a&gt;
&lt;a href="help.htm" style="cursor:s-resize"&gt;ÉÏÏ·½¼ýÍ·&lt;/a&gt;
&lt;a href="help.htm" style="cursor:sw-resize"&gt;×óбÏ·½¼ýÍ·&lt;/a&gt;
&lt;a href="help.htm" style="cursor:crosshair"&gt;Ê®×Ö¼Ü&lt;/a&gt;
&lt;a href="help.htm" style="cursor:wait"&gt;ɳ©&lt;/a&gt;
&lt;a href="help.htm" style="cursor:help"&gt;ÎʺÅ&lt;/a&gt;
&lt;a href="help.htm" style="cursor:n-resize"&gt;ÉÏϼýÍ·&lt;/a&gt;
&lt;a href="help.htm" style="cursor ......

ÔÚhtml webÍøÒ³Öи¸×Ó´°¿ÚÖ®¼äÖµµÄ´«Öµ

ÔÚWeb¿ª·¢ÖУ¬³£³£ÒªÓõ½Á½¸ö´°¿ÚÖ®¼ä»¥Ïà´«Öµ¡£ÏÂÃæ̸̸¸¸×Ó´°¿ÚÖ®¼äµÄ´«Öµ£º
Ò»£ºÊ¹ÓÃOpen¿ªÆô×Ó´°¿Ú
1£ºµ¥Öµ´«µÝ
ͨ¹ýopen¿ªÆôµÄ×Ó´°¿Ú±È½ÏºÃ´¦Àí¡£
Ò³Ãæ´°¿Ú1.html´úÂ룺
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<body>
<form name="dForm" id="dForm" method="post" onsubmit="return dFormCK();" action="abc.php">
<input type="text" size="30" name="p" id="p" value=""/>
</form>
<a href="javascript:void(0)" onclick="window.open('2.html','child','width=400,height=300,left=200,top=200');">´ò¿ª×Ó´°¿Ú</a>
</body>
</html>
Openºóµ¯³öµÄ×Ó´°¿Ú2.html£º
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<base target="_self"> 
<body>
<input type="button" onclick="JavaScript:window.opener.document.getElementById('p').value='ok';window.close();" value="È·¶¨">
</body>
2£º¶àÖµ´«µÝ
¶àÖµµÄÖµµÄ´«µÝÓëµ¥Öµ´«µÝÊÇÒ»Ä ......
×ܼǼÊý:583; ×ÜÒ³Êý:98; ÿҳ6 Ìõ; Ê×Ò³ ÉÏÒ»Ò³ [59] [60] [61] [62] 63 [64] [65] [66] [67] [68]  ÏÂÒ»Ò³ βҳ
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ