PDA

View Full Version : Dialog box را چگونه در nestedPage (فرمی که از مستر ارث می برد) استفاده کنم؟



hgh.just.hony
شنبه 17 تیر 1391, 08:29 صبح
سلام دوستان
من در تالار سرچ کردم اما 2 تا مورد بیشتر نبود
من میخوام از مسج باکس هایی استفاده کنم که تو تگ


<asp: content<

کار کنن و اینکه تو این مسج باکسم دکمه و ویرایشگر و .... بتونم قرار بدم و پشت زمینم هم با امدن این باکس شفاف بشه

hgh.just.hony
شنبه 17 تیر 1391, 09:05 صبح
نمونش این کد:


<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("p").click(function(){
$(this).hide();
});
});
</script>
</head>
<body>
<p>If you click on me, I will disappear.</p>
<p>Click me away!</p>
<p>Click me too!</p>
</body>
</html>


از اینجا (http://www.w3schools.com/jquery/tryit.asp?filename=tryjquery_hide) زمانیکه میره تو نستد فرم واسه من کار نمیکنه


<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<script src="js/jquery.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function () {
$("button").click(function () {
$("div").animate({ height: 300 }, "slow");
$("div").animate({ width: 300 }, "slow");
$("div").animate({ height: 100 }, "slow");
$("div").animate({ width: 100 }, "slow");
});
});
</script>
<button>Start Animation</button>
<br /><br />
<div style="background:#98bf21;height:100px;width:100px;positi on:relative">
</div>

</asp:Content>


تراخدا یکی کمکم کنهههههههههه