DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2007
    Posts
    42

    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%>&amp;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%>&amp;AID=<%=AID%>"><img src="comment_imgs/e_email.gif" width="49" height="12" alt="" border="0" /></a>
    <%END IF%>
    &nbsp;</td>


    Both the above are in .asp pages Thanks in advance for any help.

  2. #2
    Join Date
    Jan 2007
    Location
    India
    Posts
    9
    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');

  3. #3
    Join Date
    Apr 2007
    Posts
    6
    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

  1. query tuning
    By dhaya in forum Database
    Replies: 11
    Last Post: 08-25-2003, 05:24 PM
  2. Replies: 0
    Last Post: 03-25-2003, 12:47 PM
  3. Reading Text From Pages
    By Ariel in forum ASP.NET
    Replies: 3
    Last Post: 07-18-2002, 08:23 PM
  4. .NET vs. Enterprise Java: Who's Got Better Security?
    By Glen Kunene in forum Talk to the Editors
    Replies: 17
    Last Post: 03-23-2002, 12:43 AM
  5. Array of showing / hidden windows..
    By Matt Williamson in forum VB Classic
    Replies: 0
    Last Post: 03-27-2000, 05:35 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


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


Sponsored Links