473,503 Members | 11,508 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

pop up windows on user command

We have an app in which we want to enable our users to open numerous
documents in new browser windows.

I got the new window open thing down but each time I open a new document it
opens it in the same popup window. I want to be able to select new documents
and open those selected documents one at a time in a new browser window as
the custormer selects a new document to open.

So how do I do that?
Jul 20 '05 #1
3 1543
rf

"Paul Moffitt" <pm******@houston.rr.com> wrote in message
news:c4**************************@posting.google.c om...
We have an app in which we want to enable our users to open numerous
documents in new browser windows.

I got the new window open thing down but each time I open a new document it opens it in the same popup window. I want to be able to select new documents and open those selected documents one at a time in a new browser window as
the custormer selects a new document to open.

So how do I do that?


target="_blank"

Cheers
Richard.
Jul 20 '05 #2
how would I place target="_blank" in this script? I am triggering it
from an onclick event on an input button not a link

function openTxt() {
var subWindow

subWindow = window.open("help/fieldData.asp?txtData=" + ctrValue,
"sub", "toolbar=0,location=0,status=0,menubar=0,scrollbar s=1,resizable
=1, width=650, height=340, left=52px, top=100px")

if(!subWindow.opener) {
subWindow.opener = window
}
subWindow.focus()
}
Jul 20 '05 #3
pm******@houston.rr.com (Paul Moffitt) writes:
how would I place target="_blank" in this script? I am triggering it
from an onclick event on an input button not a link
Change "sub" to "_blank".
subWindow = window.open("help/fieldData.asp?txtData=" + ctrValue,
"sub", "toolbar=0,location=0,status=0,menubar=0,scrollbar s=1,resizable
=1, width=650, height=340, left=52px, top=100px")


You should not have spaces in the window configuration string. It makes
some browsers fail to open the window.

/L
--
Lasse Reichstein Nielsen - lr*@hotpop.com
Art D'HTML: <URL:http://www.infimum.dk/HTML/randomArtSplit.html>
'Faith without judgement merely degrades the spirit divine.'
Jul 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
15206
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...
4
15503
by: Primo | last post by:
Hi, This problem has been frustrating me for days and I hope you experts can help me out. I am trying to run a command, which I would normally run from the command line, from within my C#...
4
3497
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
17
5069
by: Jon B | last post by:
Hi All! I have a ASP.NET 2.0 site that works on the Windows 2000 Server. However, when I tried to view this site on my local Windows XP machine, I get "Server Unavailable". If I switch the...
4
14035
by: reachsamdurai | last post by:
Hello, Can you please let me know the procedure to reach db2 command prompt from a cygwin window (hence without using Start-> Run -> db2cmd method). I'm planning to write shell scripts which...
0
3430
by: Kofa | last post by:
Hi, I cannot create/drop databases from the command line, only from the GUI. Below is a detailed description of my installation and configuration attempts (sorry about the long post). I'm...
0
1457
by: Troels Arvin | last post by:
Hello, On a Windows Server 2003 (Release 2, service pack 1), I've installed the latest DB2 Connect, i.e. only client software/drivers. I cannot make tools like the Command Line Processor and...
4
10487
by: Peter Nimmo | last post by:
Hi, I am writting a windows application that I want to be able to act as if it where a Console application in certain circumstances, such as error logging. Whilst I have nearly got it, it...
0
30177
AmberJain
by: AmberJain | last post by:
Windows Autorun FAQs: List of autostart locations Linked from the Original article- "Windows Autorun FAQs: Description". Que: Can you list all the autostart locations for windows? Ans: Here is...
0
7212
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
7296
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7364
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
5604
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5026
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3186
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1524
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
751
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
405
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.