HTML IMAGE MAP±êÇ©µÄʹÓÃ
http://www.htmlcodetutorial.com/images/images_famsupp_220.html
<DIV ALIGN=CENTER>
<MAP NAME="map1">
<AREA
HREF="contacts.html" ALT="Contacts" TITLE="Contacts"
SHAPE=RECT COORDS="6,116,97,184">
<AREA
HREF="products.html" ALT="Products" TITLE="Products"
SHAPE=CIRCLE COORDS="251,143,47">
<AREA
HREF="new.html" ALT="New!" TITLE="New!"
SHAPE=POLY COORDS="150,217, 190,257, 150,297,110,257">
</MAP>
<IMG SRC="testmap.gif"
ALT="map of GH site" BORDER=0 WIDTH=300 HEIGHT=300
USEMAP="#map1"><BR>
</DIV>
Ïà¹ØÎĵµ£º
ÔÚÍøÉÏÕÒÁ˺ܶà¹ØÓÚÕâ·½ÃæµÄ×ÊÁÏ£¬°üÀ¨ºÜ¶à¿ªÔ´¹¤¾ß¡£
µ«ÊÇ×îºó·¢ÏÖAndroidÀà android.text.Html ÀïÓÐÕâÑùÒ»¸ö·½·¨£º
//Returns displayable styled text from the provided HTML string.
static Spanned fromHtml(String source)
¾ÍÊǵ±´«Èëhtml¸ñʽµÄsourceºó£¬·µ»ØSpannedÀàÐ͵ĶÔÏó£¬È»ºóÖÐÔÙtoString()¾ÍµÃµ½Txtµ ......
using System.Text.RegularExpressions;
private string parseHtml(string Htmlstring)
{
#region //È¥³ýHTML±ê¼Ç
if (Htmlstring.Length > 0)
{
& ......
ÌØÊâJavaScript½Å±¾£º
1.½ûÓÃ(»Ö¸´)href³¬¼¶Á´½Ó£®
2.javascriptÖе÷ÓÃvbs¶Ô»°¿òʵÏÖConfirm,¿ÉÒÔÏÔʾYes,No,»¹Óи÷ÖÖͼ±ê£¬½öIEÏÂÓÐЧ£®
3.ÏÞÖÆÉÏ´«ÎļþÀàÐÍΪjpg.
4.ÏÞÖÆÀ뿪µ±Ç°Ò³Ã棬ÔÚÀ뿪ʱÌáʾ£®½öÏÞÖÆ´°¿Ú¹Ø±Õ»òͨ¹ýij¸öhref³¬¼¶Á´½ÓÀ뿪£®(Ò³Ãæˢк͵ØÖ·À¸¸Ä±äʱ²»Ìáʾ£©
demo.htmlÈçÏ£º
<html>
&n ......
×î½ü×¼±¸¿ª·¢Ò»¸öb/s¼Ü¹¹µÄÓ¦ÓóÌÐòÐèÒªÓõ½activeX¿Ø¼þ£¬web·þÎñÆ÷ÉÐδ½øÈë±àÂë½×¶Î£¬Å¼ÊÖÉÏÒÑÓÐÔÓÃÓÚvc¿Í»§¶Ë³ÌÐòÖеÄocx¿Ø¼þ£¬Ïë²âÊÔһϴ˿ؼþÔÚÆÕͨÍøÒ³ÉÏÖ´Ðй¦ÄÜÓÐÎÞÆ«²î£¬ÓÚÊǸãÁ˸ö¼òµ¥µÄhtml¾²Ì¬Ò³Ãæµ÷ÓÃÀ´²âÊÔOCX¿Ø¼þ¡£
Ò» ×¢²áOCX¿Ø¼þ
н¨reg.txtÎļþ
±à¼
RegSvr32 TestOCX.ocx //TestOCXÊÇ ......