473,394 Members | 1,761 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

customised pop windows

114 100+

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=<%=NI D%>" onClick="NewWindow(this.href,'name','450','410','Y es');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.
Apr 1 '07 #1
2 1111
jhardman
3,406 Expert 2GB
This is handled in javascript, since it is the javascript that opens the new window. As such you might find a better answer in the javascript forum.

[HTML]
<a class="CommentLink" href="_comment_view.asp?ID=<%=C_ID%>&amp;AID=<%=NI D%>" onClick="window.open(this.href,'name','menubar=0, resizable=0, status=0, toolbar=0, location=0, directories=0, width=450, height=410, scrollbars=0');"><%=C_SUBJECT%></a>[/HTML]
Let me know if this helps

Jared
Apr 3 '07 #2
karen987
114 100+
This is handled in javascript, since it is the javascript that opens the new window. As such you might find a better answer in the javascript forum.

[HTML]
<a class="CommentLink" href="_comment_view.asp?ID=<%=C_ID%>&amp;AID=<%=NI D%>" onClick="window.open(this.href,'name','menubar=0, resizable=0, status=0, toolbar=0, location=0, directories=0, width=450, height=410, scrollbars=0');"><%=C_SUBJECT%></a>[/HTML]
Let me know if this helps

Jared
Thanks Jared,

Your code worked, but the scrollbars were still there,
anyway i've discovered a simpler solution, and that is in the new pop up page, you can put
<body style="overflow:hidden;">
that takes away the scrollbars,

thanks for your help
Apr 3 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Ken Lindner | last post by:
I have a need to become familiar with SQL Server 2000 for work. Needless to say I am new to SQL Server any version, but not IT in general. My employer has provided me with the SQL Server 2000...
3
by: riusbond | last post by:
Hello is there anyway that you can show the customised user/password screen instead of a standard "enter network password" dialog box when a user attempts to access any unauthorised file from...
0
by: mc | last post by:
Any examples how I can customised app.config besides using appSettings? --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.782...
1
by: Scott Davies | last post by:
Hi, I'm looking for some help on a small program that I'm trying to develop in VB.NET. I'm having trouble getting the code that I've written to work, can anyone shed some light as to where I'm...
3
by: Sam | last post by:
Hi, I was wondering if it's possible to replace the ugly grey box of the datagrid's rowheaders by some kind of icons or pics. I'm talking about datagrid in a windows form context (not webforms) ...
3
by: Rabbit | last post by:
Hi, I'm having a GridView with Datasource being set from CodeBehind method, its has a "RecID" databound field set as invisible. I want to utilize the "Delete" commandfield, so that on...
0
by: Kieran | last post by:
I've created a few simple webparts and they work fine. I have now created a customised TreeView webpart (it is populated by a xml file description of a directory on disk). It renders okay but...
0
by: kelvin.koogan | last post by:
Is it possible to derive your own control from a standard control and still have it work in form design view? I did: public __gc class MyListView : public System::Windows::Forms::ListView {...
9
by: shiks1305 | last post by:
Hi all, I want to submit a form after confirmation through a customised window. I have 4 buttons in <af:form>, one of which is continue button that has to navigate the form to another page while...
3
by: panteraboy | last post by:
Hi there i have been deeply frustated as last week trying to figure out how to cycle through records on a form based on a query by using images instead of command buttons . I have a customised view...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.