473,387 Members | 3,821 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,387 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 1110
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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

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.