AJAXÀïTabContainerµÄCSS (תÌù)
AJAX×Ô´ÓÒý½øÁËTab£¬×ÅʵÈÃÎÒ¿ªÐÄÁËÒ»·¬¡£µ«ÊÇ£¬ÔÚµ÷ÕûTabµÄÑùʽµÄʱºò£¬Ò²×ÅʵÈÃÎÒ³ÔÁËÒ»¾ª¡£
ÓÚÊÇ£¬±§×ÅûÓÐÀ§ÄÑÒ²ÒªÖÆÔìÀ§ÄѵÄÔÔò£¬¿ªÊ¼ÁËÕ÷;£º
°´ÕÕTab×÷ÕßRonald BucktonËù˵£¬TabµÄCSS°üº¬Èçϼ¸¸öÀࣺ
(1).ajax__tab_header: A container element that wraps all of the tabs at the top of the TabContainer.
(2).ajax__tab_outer:An outer element of a tab,often used to set the left-side background image of the tab.
(3).ajax__tab_inner:An inner element of a tab,often used to set the right-side image of the tab.
(4).ajax__tab_tab:An element of a tab that contains the text content.
(5).ajax__tab_body:A container element that wraps the area where a TabPanel is displayed.
(6).ajax__tab_hover:This is applied to a tab when the mouse is hovering over.
(7).ajax__tab_active:This is applied to a tab when it is the currently selected tab.
ÎÒ»Á˸ö¼òͼ£¬µ±È»£¬Êó±ê·ÅÉÏÈ¥(.ajax__tab_hover)£¬ºÍµ±Ç°Tab(.ajax__tab_active)µÄÄǸö¾Íû»ÉÏÈ¥¡£
²ã´Î¹ØÏµÈçͼËùʾ£¬ÅªÇå³þÕâ¸ö²ã´Î¹ØÏµ£¬¶ÔÉè¼ÆTabÑùʽÓкܴó°ïÖú¡£
Ïà¹ØÎĵµ£º
IE6ÏÂÁ´½ÓαÀࣨ:hover£©CSS±³¾°Í¼Æ¬ÓÐÉÁ¶¯BUG£¬Ö÷ÒªÔÒòie»áÔÙÒ»´ÎÇëÇóÕâÕÅͼƬ£¬»òÕß˵ͼƬû±»»º´æ¡£
ÀýÈ磺
CSS´úÂë
a:hover{background:url(imagepath)}
³£ÓõĽâ¾ö·½°¸£º
ÔÚÒ³Ãæµ×²¿Ìí¼ÓÒÔÏÂIE6רÓôúÂ룬ÈÃIE6»º´æCSS±³¾°Í¼Æ¬ÖÁ±¾µØ£¬ÕâÑùa:hoverʱIE6¾Í²»»áÔÙÖØÐÂÏò·þÎñÆ÷ÇëÇó¼ÓÔØ±³¾°Í¼Æ¬ÁË¡£
......
ÎÊÌâÃèÊö£ºCSSµÄ±àÂë²»¶ÔµÄʱºò£¬CSSЧ¹ûÔÚIE8¡¢IE7¡¢FirefoxÏ¿ÉÒÔÕý³£ÏÔʾ£¬µ«ÊÇÔÚIE6Ï»áʹCSSʧЧ£¬²»Æð×÷Óá£
Çé¿ö·ÖÎö£º½ñÌì×öÒ»¸öÍøÕ¾µÄʱºòÅöµ½Õâ¸öÎÊÌ⣬¸ãÁ˰ëËÞûÓÐÕÒµ½ÎÊÌâËùÔÚ£¬×ÅʵÈÃÎÒÓôÃÆÁ˺ÃÒ»»á£¬ºóÀ´ÉÏGoogleºÍ°Ù¶ÈÁËһϣ¬ÕÒµ½ÁËÎÊÌâËùÔÚ£¬CSSÎļþµÄ±àÂë²»ÕýÈ·£¬ÍøÒ³²ÉÓõÄÊÇutf-8±àÂëµÄ£¬¶øCSSÊÇʹÓà ......
Webǰ¶Ë
ÍøÒ³Éè¼ÆÖÐCSS²¼¾ÖÊǺÜÖØÒªµÄ²¿·Ö£¬ÏÂÃæ½éÉܼ¸ÖÖ¼ì²éµ÷ÊÔCSS²¼¾ÖµÄÓÐЧ·½·¨¡£
¡¡¡¡1. ¼ì²éHTMLÔªËØÊÇ·ñÓÐÆ´Ð´´íÎó¡¢ÊÇ·ñÍü¼Ç½áÊø±ê¼Ç
¡¡¡¡¼´Ê¹ÊÇÀÏÊÖÒ²¾³£»áŪ´ídivµÄǶÌ×¹ØÏµ¡£¿ÉÒÔÓÃdreamweaverµÄÑéÖ¤¹¦Äܼì²éÒ»ÏÂÓÐÎÞ´íÎó¡£
¡¡¡¡2. ¼ì²éCSSÊÇ·ñÊéдÕýÈ·
¡¡¡¡¼ì²éÒ»ÏÂÓÐÎÞÆ´Ð´´íÎó¡¢ÊÇ·ñÍü¼Ç½áβµÄ ......
APS.NETÒ¹»°µÄÀý×Ó¼ÓÔØºó±¨´íÈçÏ£º
System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35´íÎó
ÔÒòÊÇδÄܼÓÔØÎļþ»ò³ÌÐò¼¯ system.web.extensions
½â¾ö°ì·¨:
1,Èç¹ûÄãµÄ³ÌÐòÔËÐÐÔÚÄãÄÜ¿ØÖƵķþÎñÆ÷ÉÏ£¬ÄÇô°²×°asp.net ajax¾ÍÐÐÁË£¬ÕâÊÇSystem.Web.ExtensionsµÈdll×öΪGAC² ......
1£©·¢ËÍ·¾¶ÖеIJÎÊýÓÐÖÐÎÄ£¬ÔÚ·þÎñÆ÷¶Ë½ÓÊÕ²ÎÊýÖµÊÇÂÒÂë
½â¾ö·½·¨£º
PHP:
·þÎñÆ÷¶Ë£ºiconv("UTF-8","gb2312",$_POST[±äÁ¿Ãû]);
JSP:
¿Í»§¶Ë:
ÀûÓÃjavascriptµÄÌṩµÄescape()»òencodeURI()·½·¨, Àý
var url="a.jsp?name=СÀî"£»
url=encodeURI(url);
url=encodeURI(url); //Á½´Î£¬ºÜ¹Ø¼ü[¾ßÌåΪʲô£¬ÎÒÒ²²»Çå³þ ......