Blood 23 ارسال شده در تیر 93 گزارش بازنشر ارسال شده در تیر 93 رویداد فعال بودن یک لینک چیه؟ که وقتی داخل اون صفحه هست اون لینک رنگش با بقیه متمایز باشه؟میشه در این کد به من بگید؟nav {margin:0 auto;text-align: center;}nav ul ul {display: none;height:30px;line-height:30px;}nav ul li:hover > ul { display: block;}nav ul {list-style: none;position: relative;display: inline-table;height:70px;line-height:70px;}nav ul:after {}nav ul li { float: right; background: transparent url(images/Menu-Image.png); background-color:#89D2FD; -webkit-transition: background 0.2s linear; -moz-transition: background 0.2s linear; -ms-transition: background 0.2s linear; -o-transition: background 0.2s linear; transition: background 0.2s linear;} nav ul li:hover { background:#248FCA; border-left:0.1em solid #B8E4FE; width:188px; } nav ul li:hover a { color: #fff; } nav ul li a { display: block; text-decoration: none; font-size: 16px; text-align:center; color: #fff; width:189px; }nav ul ul { width:188px; position: absolute; border-top: 1px solid #BFE7FE;} nav ul ul li{ float: none; background:#248FCA; position: relative; z-index: 999; } nav ul ul li a { font-size: 14px; color: #fff; -webkit-transition: background 0.2s linear; -moz-transition: background 0.2s linear; -ms-transition: background 0.2s linear; -o-transition: background 0.2s linear; transition: background 0.2s linear; } nav ul ul li a:hover { background: #78CCFD; width:188px; }nav ul ul ul { position: absolute; left: 100%; top:0;} 1 نقل قول لینک به ارسال
hamid_khaleghi 74 ارسال شده در تیر 93 گزارش بازنشر ارسال شده در تیر 93 (ویرایش شده) رویداد فعال بودن یک لینک چیه؟ که وقتی داخل اون صفحه هست اون لینک رنگش با بقیه متمایز باشه؟میشه در این کد به من بگید؟nav {margin:0 auto;text-align: center;}nav ul ul {display: none;height:30px;line-height:30px;}nav ul li:hover > ul {display: block;}nav ul {list-style: none;position: relative;display: inline-table;height:70px;line-height:70px;}nav ul:after {}nav ul li {float: right;background: transparent url(images/Menu-Image.png);background-color:#89D2FD; -webkit-transition: background 0.2s linear; -moz-transition: background 0.2s linear; -ms-transition: background 0.2s linear; -o-transition: background 0.2s linear; transition: background 0.2s linear;}nav ul li:hover {background:#248FCA;border-left:0.1em solid #B8E4FE; width:188px;}nav ul li:hover a { color: #fff;}nav ul li a {display: block;text-decoration: none;font-size: 16px; text-align:center; color: #fff;width:189px;}nav ul ul {width:188px;position: absolute;border-top: 1px solid #BFE7FE;}nav ul ul li{float: none;background:#248FCA; position: relative;z-index: 999;}nav ul ul li a { font-size: 14px; color: #fff; -webkit-transition: background 0.2s linear; -moz-transition: background 0.2s linear; -ms-transition: background 0.2s linear; -o-transition: background 0.2s linear; transition: background 0.2s linear;} nav ul ul li a:hover { background: #78CCFD; width:188px; }nav ul ul ul {position: absolute; left: 100%; top:0;}سلام تست کنید.current-cat , .current_page_item , .current-cat-parent{background:red;}ul.children li.current-cat {background:green !important;} ویرایش شده تیر 93 توسط hamid_khaleghi 1 نقل قول لینک به ارسال
Blood 23 ارسال شده در تیر 93 مالک گزارش بازنشر ارسال شده در تیر 93 ممنون حالا اگر ساب منو بخوام رنگش تغییر کنه وقتی روش کلیک میشه و داخل صفحه خود ش بره به چه صورت هست ؟ نقل قول لینک به ارسال
پست های پیشنهاد شده
به گفتگو بپیوندید
هم اکنون می توانید مطلب خود را ارسال نمایید و بعداً ثبت نام کنید. اگر حساب کاربری دارید، برای ارسال با حساب کاربری خود اکنون وارد شوید .