944,087 Members | Top Members by Rank

Ad:
Aug 2nd, 2005
0

Make An Asp Popup Window--help Me About This...

Expand Post »
i have 2 asp pages, one is an index that when you click the submit button, a pop-up window will appear. this popup window is an ASP Page that connects to a database.. how can i make this a pop-window? any help would be gratly be appreciated.. thanks
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
balor is offline Offline
13 posts
since Jul 2005
Aug 2nd, 2005
0

Re: Make An Asp Popup Window--help Me About This...

window.open("Sample.htm","title", "height=200,width=400,status=yes,toolbar=no")
Reputation Points: 20
Solved Threads: 5
Junior Poster
alpha_foobar is offline Offline
182 posts
since May 2005
Aug 2nd, 2005
0

Re: Make An Asp Popup Window--help Me About This...

If your page cannot be displayed it may be a problem with your page specifically and not the function you try and use to open it. A page cannot be opened error? Can you navigate to the page directly?
Reputation Points: 20
Solved Threads: 5
Junior Poster
alpha_foobar is offline Offline
182 posts
since May 2005
Aug 2nd, 2005
0

Re: Make An Asp Popup Window--help Me About This...

yup.. in facct, im just using the action="URL.asp" so that i can view my window.. do you have a yahoo messenger.. coz i really need someone to help me with ithis prob.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
balor is offline Offline
13 posts
since Jul 2005
Aug 2nd, 2005
0

Re: Make An Asp Popup Window--help Me About This...

no, i don't have a messenger.

the mechanism you are using is very different to what I described. can you post any code? actually perhaps more important is the directory structure of your project (in relation to your code).
Reputation Points: 20
Solved Threads: 5
Junior Poster
alpha_foobar is offline Offline
182 posts
since May 2005
Aug 2nd, 2005
0

Re: Make An Asp Popup Window--help Me About This...

this is my main.asp
<meta HTTP-EQUIV="Refresh" CONTENT="50; URL=http://localhost/proj/balor.asp">
<script type="text/javascript" language="JavaScript">
function display()
{
window.open('ticker.asp','ticker','toolbar=no,menubar=no,location=no,resizable=no,status=no,width=850,height=10,scrollbars=no,scroll=no')
}
</script>
</head>
<BODY bgColor="#5386BD">

<FORM name="balor" method="post" action="ticker.asp" target="_blank" >
Category <SELECT id="category" name="category">
<OPTION value="Announcement">Announcement</OPTION>
<OPTION value="News">Breaking News</OPTION>
</SELECT>
<INPUT type="submit" value="Display" id="display" name="display">
</FORM>
Reputation Points: 10
Solved Threads: 0
Newbie Poster
balor is offline Offline
13 posts
since Jul 2005
Aug 2nd, 2005
0

Re: Make An Asp Popup Window--help Me About This...

this is the one
main.asp

function display()
{
window.open('ticker.asp','ticker','toolbar=no,menubar=no,location=no,resizable=no,status=no,width=850,height=10,scrollbars=no,scroll=no')
}
</script>
</head>
<BODY bgColor="#5386BD">
<center>
<FORM name="balor" method="post" >
Category <SELECT id="category" name="category">
<OPTION value="Announcement">Announcement</OPTION>
<OPTION value="News">Breaking News</OPTION>
</SELECT>
<INPUT type="submit" value="Display" id="display" name="display" onclick="display();">
</FORM>
Reputation Points: 10
Solved Threads: 0
Newbie Poster
balor is offline Offline
13 posts
since Jul 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in JavaScript / DHTML / AJAX Forum Timeline: Javascript problem in FIREFOX
Next Thread in JavaScript / DHTML / AJAX Forum Timeline: HTML question





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC