w3pop.com :: ÍøÂçѧԺ :: WEBÉè¼Æ×ÛºÏ :: ¹Ø±ÕIEÖÐ̽³öµÄͼÐι¤¾ßÀ¸
IE 6 has this (in my opinion) annoying little toolbar that appears when someone places their mouse pointer over an image:
¾ÍÎÒ¸öÈ˶øÑÔ£¬µ±ÄãʹÓÃIE 6ʱ£¬Ò»µ©Êó±êÒÆ¶¯µ½Ä³¸öͼÐεÄÉÏ·½£¬¾Í»á³öÏÖСÐ͵ÄͼÏñ¹¤¾ßÀ¸£¬ÕâÁîÈ˷dz£ÌÖÑá¡£
![]() IEͼÐι¤¾ßÀ¸
|
This tool bar offers some minor convenience, but in exchange the toolbar slows IE down a little and can get in the way of well placed images. If you want to get rid of it for everyone coming to your site, you have two options:
Õâ¸ö¹¤¾ßÌõÊÇ΢Ð͵ģ¬Ê¹ÓÃÆðÀ´·Ç³£±ãÀû¡£µ«ÊÇ£¬Í¬ÑùµÄ£¬ËüÒ²»á¼õÂýIEµÄÏÂÔØËÙ¶È£¬²¢ÇÒÓ°ÏìͼÏñ³öÏÖµÄλÖá£Èç¹ûÄãÏ£Íûµ±ÈËÃÇÀ´·ÃÎÊʱȥµôÕâ¸ö¹¤¾ßÌõ£¬ÄãÓÐÁ½¸öÑ¡Ôñ£º
You can turn the image toolbar off for the whole page with this code inserted in between your <head> and </head> tags:
Äã¿ÉÒÔÔÚ<head>ºÍ</head>±êÇ©ÖвåÈëÏÂÃæÕâ¶Î´úÂë¹Ø±Õµ¯³öµÄͼÏñ¹¤¾ßÀ¸£º
|
<meta http-equiv="imagetoolbar" content="no">
|
or
»òÕß
|
<meta http-equiv="imagetoolbar" content="false">
|
Your other option is to include this code on each image where you don't want to have the toolbar appear:
ÁíÍâÒ»ÖÖ·½·¨£ºÈç¹ûÄ㲻ϣÍûÔÚÒ³ÃæÖгöÏÖͼÏñ¹¤¾ßÀ¸£¬¿ÉÒÔ²åÈëÏÂÃæÕâ¶Î´úÂ룺
|
<img border="0" src="filename" galleryimg="no">
|
or
»òÕß
|
<img border="0" src="filename" galleryimg="false">
|
In the above examples the key to shutting this feature off is the attribute:
ÔÚÉÏÊö°¸ÀýÖУ¬¹Ø±ÕÕâ¸ö¹¦ÄܵÄ×îÖØÒªÊôÐÔ¾ÍÊÇ£ºgalleryimg
|
galleryimg
|
Settting it to 'no' or 'false' turns it off and setting it to 'yes' or 'true' turns it on, (where you had turned it off for the entire page).
½«“content”ÊôÐÔÉèÖÃΪ“no”»ò“false”ʱ£¬Ôò¿ÉÒԹرոù¤¾ßÌõ£»µ±Äã°ÑËùÓеÄͼÏñ¹¤¾ßÀ¸ÊôÐԹرÕʱ£¬Äã¿ÉÒÔ¸ÄΪ“yes”»ò“true”À´ÖØÐ´ò¿ªÕâ¸ö¹¤¾ßÌõ¡£
For your own browser you can turn this feature off by going to the menu:
ÄãÒ²¿ÉÒÔʹÓÃä¯ÀÀÆ÷ÖеIJ˵¥À´¹Ø±ÕÕâ¸öÊôÐÔ£º
Tools/Internet Options.../Advanced/Multimedia/ Uncheck "Enable Image Toolbar (requires restart)".
¹¤¾ß / InternetÑ¡Ïî… / ¸ß¼¶ / ¶àýÌå / ÆôÓÃͼÏñ¹¤¾ßÀ¸£¨ÐèÒªÖØÐÂÆô¶¯£©
Turning on/off IE auto-complete feature for HTML forms
´ò¿ª / ¹Ø±Õ IEÖГHTML ±íµ¥”µÄ“auto-complete”ÌØÐÔ
When users first start IE the auto-complete feature is off by default. IE will ask users if they want to enable it. Once enabled, IE will store values that the user enters into form textbox and then automatically insert those same values when the user begins to fill in a textbox of the same name.
µ±Óû§µÚÒ»´ÎÆô¶¯IEʱ£¬“auto-complete”ÌØÐÔÊÇĬÈϹرյġ£IE½«»áѯÎÊÓû§ÊÇ·ñÒªÆô¶¯Ëü¡£Ò»µ©Æô¶¯ËüÒÔºó£¬Ëü¾Í»á×Ô¶¯´æ´¢Óû§ÔÚ±íµ¥Îı¾¿òÖÐÊäÈëµÄÖµ£»Óë´Ëͬʱ£¬µ±Óû§ÔÚ¸Ã±íµ¥Îı¾¿òÖÐÊäÈëÏàͬµÄֵʱ£¬Ëü¾Í»á×Ô¶¯ÏÔʾÕâЩֵ£¬·½±ãÓû§µã»÷ÊäÈë¡£
For example, on killersites.com you entered in your email address to subscribe to this newsletter, the name of the HTML the text box was called 'email'. The next time you go to any website that has a textbox of the name 'email', IE will insert the same email address that you had entered at killersites.com.
¾Ù¸öÀý×ÓÀ´Ëµ£¬ÔÚkillersites.com ÍøÕ¾ÖУ¬ÄãÊäÈëÄãµÄEmailµØÖ·Ô¤¶¨ÊµÊ©Í¨Ñ¶µÄÐÅÏ¢£¬HTMLÎı¾¿òµÄEmail½Ð×ö“email”¡£µ±ÄãÏÂÒ»´Î½øÈëÈκÎÍøÕ¾ÖеÄÃûΪ“email”µÄÎı¾¿òÖеÄʱºò£¬IE½«×Ô¶¯°ÑÄãÔÚkillersites.comÍøÕ¾ÖÐÊäÈëµÄEmailµØÖ·ÊäÈëÕâ¸öÎı¾¿ò¡£
This is designed to make life easier for the user but can get in the way sometimes, and as such I will show you (as the web page designer) how to shut it off for your pages.
ÕâÑù¿ÉÒÔʹÓû§µÄÊäÈëÏàͬÐÅϢʱ¿ì½Ý¼ò±ã£¬¾ÍÏñÎÒ£¨×÷ÎªÍøÒ³Éè¼ÆÊÇÀ´Ëµ£©¶ÔÄã˵µÄÄÇÑù£¬ÈçºÎ¹Ø±ÕÄãµÄÒ³Ãæ¡£
You can shut off auto-complete for the whole form with this code in your form tag:
Äã¿ÉÒÔÔÚÄãµÄ±íµ¥±êÇ©ÖвåÈëÏÂÃæÕâ¶Î´úÂ룬´Ó¶ø¹Ø±ÕÕû¸ö±íµ¥µÄ“auto-complete”£º
|
<FORM method=post action="tagetPage.php" AUTOCOMPLETE="OFF">
|
The attribute: AUTOCOMPLETE="OFF" does it for you.
ÊôÐÔ£ºAUTOCOMPLETE="OFF" ¿ÉÒÔʵÏÖÄãµÄÉÏÊöÄ¿µÄ¡£
You can also turn it off and on for individual form elements like so:
ÄãÒ²¿ÉÒÔÔÚµ¥¶ÀµÄ±íµ¥ÖÐÌí¼ÓÏÂÃæµÄ´úÂëÀ´¹Ø±Õ“auto-complete”¹¦ÄÜ£º
|
<input type="text" name="creditcard" value="" size="16" maxlength="16" AUTOCOMPLETE="OFF">
|