-
pop up windows in .asp pages
Please could anyone help here. What code do i need to add to this to make the pop up window have no scrollbars or anything else when it opens?
<td colspan="2"><a class="CommentLink" href="_comment_view.asp?ID=<%=C_ID%>&AID=<%=NID%>" onClick="NewWindow(this.href,'name','450','410','Yes');return false;"><%=C_SUBJECT%></a>,</td>
</tr><tr>
And this link, should open up in a pop up , it can be the same size as above, with no scrollbars etc.
<td width="20%" height="1%" align="left" valign="bottom"><%IF ALLOW_E = "1" THEN%>
<a href="_email.asp?ID=<%=ID%>&AID=<%=AID%>"><img src="comment_imgs/e_email.gif" width="49" height="12" alt="" border="0" /></a>
<%END IF%>
</td>
Both the above are in .asp pages Thanks in advance for any help.
-
hi,
check this out,
http://msdn.microsoft.com/library/de...ce/methods.asp
or
window.open('pagename','name',
'height=255,width=250,toolbar=no,directories=no,status=no,
continued from previous linemenubar=no,scrollbars=no,resizable=no');
-
The question is more related to Javascript not ASP.NET.
window.open('url','windowhandlename','height=255,width=250,toolbar=no,directories=no,statu s=no,linemenubar=no,scrollbars=no,resizable=no');
Similar Threads
-
By dhaya in forum Database
Replies: 11
Last Post: 08-25-2003, 05:24 PM
-
By Gwen Smith in forum vb.announcements
Replies: 0
Last Post: 03-25-2003, 12:47 PM
-
By Ariel in forum ASP.NET
Replies: 3
Last Post: 07-18-2002, 08:23 PM
-
By Glen Kunene in forum Talk to the Editors
Replies: 17
Last Post: 03-23-2002, 12:43 AM
-
By Matt Williamson in forum VB Classic
Replies: 0
Last Post: 03-27-2000, 05:35 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks