gandom66
یک شنبه 11 اسفند 1392, 15:32 عصر
سلام
دوستان میخوام یه منو مثل منوی این سایت در بیارم http://www.autodesk.comکه وقتی با موس روش کلیک کنی باز بشه و اجزای زیریش رو هل بده پایین
اومدم این کدو گذاشتم
<style type="text/css">
p.item {
text-align:center;
padding-top:5px;
float:left;
border:solid 1px yellow;
width:100px;
height:30px;
background:red;
transition-property: background-color,color,transform,width,height;
transition-duration: 2s;
-webkit-transition-property: background-color,color,transform,width,height; /* Safari */
-webkit-transition-duration: 2s; /* Safari */
}
</style>
<div>
<div style="height:auto">
<p class="item">
<a onclick="document.getElementById('tradeDetailsSelector').st yle.display='';return false;"
href="#" style="text-decoration: none; border-bottom: 1px dotted blue;" class="TradeDetailsLink" >
Home
</a>
</p>
<div id="tradeDetailsSelector" class="ContextMenuPanel" style="display: none;height:auto;background-color:yellow;">
<div id="backlogin">
<a onclick="document.getElementById('tradeDetailsSelector').st yle.display='none';return false;"
href="#" style="text-decoration: none; border-bottom: 1px dotted blue;padding:10px;">
<img src="../Images/site/close.png" alt="خروج" title="خروج" />
</a>
</div>
</div>
</div>
<div style="height:auto">
<p class="item">
<a onclick="document.getElementById('tradeDetailsSelector2').s tyle.display='';return false;"
href="#" style="text-decoration: none; border-bottom: 1px dotted blue;" class="TradeDetailsLink" >
Gallery
</a>
</p>
<div id="tradeDetailsSelector2" class="ContextMenuPanel" style="display: none;height:auto;background-color:yellow;">
<div id="backlogin2">
<a onclick="document.getElementById('tradeDetailsSelector2').s tyle.display='none';return false;"
href="#" style="text-decoration: none; border-bottom: 1px dotted blue;padding:10px;">
<img src="../Images/site/close.png" alt="خروج" title="خروج" />
</a>
</div>
</div>
</div>
</div>
ولی خروجی اینی ک میخوام نمیشه
میشه کمک کنید و کاملش کنیم ممنون میشم
دوستان میخوام یه منو مثل منوی این سایت در بیارم http://www.autodesk.comکه وقتی با موس روش کلیک کنی باز بشه و اجزای زیریش رو هل بده پایین
اومدم این کدو گذاشتم
<style type="text/css">
p.item {
text-align:center;
padding-top:5px;
float:left;
border:solid 1px yellow;
width:100px;
height:30px;
background:red;
transition-property: background-color,color,transform,width,height;
transition-duration: 2s;
-webkit-transition-property: background-color,color,transform,width,height; /* Safari */
-webkit-transition-duration: 2s; /* Safari */
}
</style>
<div>
<div style="height:auto">
<p class="item">
<a onclick="document.getElementById('tradeDetailsSelector').st yle.display='';return false;"
href="#" style="text-decoration: none; border-bottom: 1px dotted blue;" class="TradeDetailsLink" >
Home
</a>
</p>
<div id="tradeDetailsSelector" class="ContextMenuPanel" style="display: none;height:auto;background-color:yellow;">
<div id="backlogin">
<a onclick="document.getElementById('tradeDetailsSelector').st yle.display='none';return false;"
href="#" style="text-decoration: none; border-bottom: 1px dotted blue;padding:10px;">
<img src="../Images/site/close.png" alt="خروج" title="خروج" />
</a>
</div>
</div>
</div>
<div style="height:auto">
<p class="item">
<a onclick="document.getElementById('tradeDetailsSelector2').s tyle.display='';return false;"
href="#" style="text-decoration: none; border-bottom: 1px dotted blue;" class="TradeDetailsLink" >
Gallery
</a>
</p>
<div id="tradeDetailsSelector2" class="ContextMenuPanel" style="display: none;height:auto;background-color:yellow;">
<div id="backlogin2">
<a onclick="document.getElementById('tradeDetailsSelector2').s tyle.display='none';return false;"
href="#" style="text-decoration: none; border-bottom: 1px dotted blue;padding:10px;">
<img src="../Images/site/close.png" alt="خروج" title="خروج" />
</a>
</div>
</div>
</div>
</div>
ولی خروجی اینی ک میخوام نمیشه
میشه کمک کنید و کاملش کنیم ممنون میشم