pop up windows in .asp pages


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: pop up windows in .asp pages

  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, 06:24 PM
  2. Replies: 0
    Last Post: 03-25-2003, 01:47 PM
  3. Reading Text From Pages
    By Ariel in forum ASP.NET
    Replies: 3
    Last Post: 07-18-2002, 09: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, 01:43 AM
  5. Array of showing / hidden windows..
    By Matt Williamson in forum VB Classic
    Replies: 0
    Last Post: 03-27-2000, 06: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
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center