Click here to Skip to main content
15,887,405 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Javascript not working for local application Pin
Robymon30-Mar-10 23:54
Robymon30-Mar-10 23:54 
Questionneed help with Ajax modal popup extender Pin
S.Aijaz30-Mar-10 20:39
S.Aijaz30-Mar-10 20:39 
AnswerRe: need help with Ajax modal popup extender Pin
sashidhar30-Mar-10 23:30
sashidhar30-Mar-10 23:30 
AnswerRe: need help with Ajax modal popup extender Pin
MyDevBank31-Mar-10 9:46
MyDevBank31-Mar-10 9:46 
Questionadd popmenu at run time Pin
Abdul Rahman Hamidy30-Mar-10 20:05
Abdul Rahman Hamidy30-Mar-10 20:05 
AnswerRe: add popmenu at run time Pin
Sandeep Mewara30-Mar-10 20:19
mveSandeep Mewara30-Mar-10 20:19 
GeneralRe: add popmenu at run time Pin
Abdul Rahman Hamidy30-Mar-10 22:38
Abdul Rahman Hamidy30-Mar-10 22:38 
QuestionAutoClose of DivisionTag Window ....... Pin
priyareguri30-Mar-10 18:58
priyareguri30-Mar-10 18:58 
HI ,
the following code if am using..
i want autoclose to "dwindow" division tag after displaying for specific seconds..

<script>

var dragapproved = false
var minrestore = 0
var initialwidth, initialheight
var ie5 = document.all && document.getElementById
var ns6 = document.getElementById && !document.all
function iecompattest() {
return (!window.opera && document.compatMode && document.compatMode != "BackCompat") ? document.documentElement : document.body
}
function loadwindow(width, height) {
if (!ie5 && !ns6)
window.open("width=width,height=height,scrollbars=1")
else {
document.getElementById("dwindow").style.display = ''
document.getElementById("dwindow").style.width = initialwidth = width + "px"
document.getElementById("dwindow").style.height = initialheight = height + "px"
document.getElementById("dwindow").style.left = "30px"
document.getElementById("dwindow").style.top = ns6 ? window.pageYOffset * 1 + 30 + "px" : iecompattest().scrollTop * 1 + 30 + "px"
document.getElementById("cframe").src = url

}
}


function closeit() {
document.getElementById("dwindow").style.display = "none"

}

</script>

<script>


var howLong = 10000;

t = null;
function closeMe() {
t = setTimeout("dwindow.close()", howLong);

}
</script>

<script>
function closeHelpDiv() {
document.getElementById("dwindow").style.display = "none";
}
</script>

</head>
<body>
<form id="form1" runat="server">
<div id="dwindow" style="position: absolute; cursor: hand; left: 0px; top: 0px; display: none"
onselectstart="return false" >
<div align="right" style="background-color: #FFFF99;">
<a onclick="closeit()" style="color: Red; font-weight: bold; cursor: pointer;">Close</a>
</div>
<div id="dwindowcontent">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
width="600" height="400">
<param name="movie" value="image/text rotation.swf" />
<param name="quality" value="high" />
<embed src="image/text rotation.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" width="600px" height="500px"></embed>
</object>

<script>

if (ns6) {
window.onload = new Function('loadwindow(600,400)')

}
else
loadwindow(600, 400)
</script>



</div>
</div>
</form>
</body>


txs in adavance..
Supriya
AnswerRe: AutoClose of DivisionTag Window ....... Pin
Sandeep Mewara30-Mar-10 20:16
mveSandeep Mewara30-Mar-10 20:16 
AnswerRe: AutoClose of DivisionTag Window ....... Pin
Arindam Tewary30-Mar-10 21:11
professionalArindam Tewary30-Mar-10 21:11 
Questionhow to databind a adrotator [modified] Pin
ships_agr30-Mar-10 18:33
ships_agr30-Mar-10 18:33 
Questionproblem with datetime datatype of sqlserver 2005 using asp.net Pin
ships_agr30-Mar-10 18:30
ships_agr30-Mar-10 18:30 
AnswerRe: problem with datetime datatype of sqlserver 2005 using asp.net Pin
test-0930-Mar-10 18:49
test-0930-Mar-10 18:49 
AnswerRe: problem with datetime datatype of sqlserver 2005 using asp.net Pin
Arindam Tewary30-Mar-10 19:25
professionalArindam Tewary30-Mar-10 19:25 
AnswerRe: problem with datetime datatype of sqlserver 2005 using asp.net Pin
Dinesh Mani30-Mar-10 20:16
Dinesh Mani30-Mar-10 20:16 
GeneralRe: problem with datetime datatype of sqlserver 2005 using asp.net Pin
ships_agr31-Mar-10 3:50
ships_agr31-Mar-10 3:50 
Questionrepeater control Pin
test-0930-Mar-10 18:26
test-0930-Mar-10 18:26 
AnswerRe: repeater control Pin
Arun Jacob30-Mar-10 20:02
Arun Jacob30-Mar-10 20:02 
GeneralRe: repeater control Pin
test-0930-Mar-10 20:10
test-0930-Mar-10 20:10 
AnswerRe: repeater control Pin
Arun Jacob30-Mar-10 20:12
Arun Jacob30-Mar-10 20:12 
GeneralRe: repeater control Pin
test-0930-Mar-10 20:19
test-0930-Mar-10 20:19 
AnswerRe: repeater control Pin
Arun Jacob30-Mar-10 20:23
Arun Jacob30-Mar-10 20:23 
GeneralRe: repeater control Pin
test-0930-Mar-10 20:46
test-0930-Mar-10 20:46 
AnswerRe: repeater control Pin
Arun Jacob30-Mar-10 20:53
Arun Jacob30-Mar-10 20:53 
GeneralRe: repeater control Pin
test-0930-Mar-10 21:03
test-0930-Mar-10 21:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.