Hi all,
I am trying to build a pop-up into a Web page. The pop-up should open when
clicking a button. It works fine on Mozilla and Opera, but Internet Explorer
refuses to open the pop-up. How can I make it work?
The code is:
<input type="button" value="Help"
onClick="javasc ript:window.ope n('help.htm','H elp on units
field','width=4 00,height=200,l eft=200,top=200 ,resizable')" />
and the page is here: http://www.amtrad.it/feewizardol.php (The "Help" buttons do not work in IE.)
Thanks for any hint!
Alessandra 2 58936
In article <be**********@l acerta.tiscalin et.it>, "Alessandra "
<al********@inw indxyz.it> writes: Hi all,
I am trying to build a pop-up into a Web page. The pop-up should open when clicking a button. It works fine on Mozilla and Opera, but Internet Explorer refuses to open the pop-up. How can I make it work? The code is:
<input type="button" value="Help" onClick="javas cript:window.op en('help.htm',' Help on units field','width= 400,height=200, left=200,top=20 0,resizable')" />
and the page is here: http://www.amtrad.it/feewizardol.php (The "Help" buttons do not work in IE.)
Thanks for any hint!
Alessandra
remove the spaces from the window name, and remove the un-needed javascript :
<input type="button" value="Help"
onClick="window .open('help.htm ','Help_on_unit s_field','width =400,height=20
0,left=200,top= 200,resizable') " />
Works in my IE6.
--
Randy
All code posted is dependent upon the viewing browser
supporting the methods called, and Javascript being enabled.
HikksNotAtHome wrote: remove the spaces from the window name, and remove the un-needed javascript:
<input type="button" value="Help" onClick="window .open('help.htm ','Help_on_unit s_field','width =400,height=20 0,left=200,top= 200,resizable') " />
Works in my IE6.
Thanks Randy, it works now!
Alessandra This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: venkatesh |
last post by:
Hi Members,
I have used the below mentioned code to open a html page in a new
browser. The window size is 200 x 300. In that browser, I've given
code to open another browser of the same size. However, this is not
happening in IE 5. Can anyone help me solve this problem?
Code:
Script:
|
by: Mountain Man |
last post by:
Hi,
I'm trying to use window.open from inside a user defined function, and
it's not working. A code example is shown below. Thanks for any help
you can give.
Mountain Man
============
<script>
|
by: carlor |
last post by:
Hi there,
I have a form that contains a link button. When the user clicks the link
button I need to enable a couple of other buttons on the page and open a new
browser window giving it focus (keeping it on top). I have most of it working
but I can't get it all working. I can either have the window open and disable
the buttons with the new window in the background, or I can have the new
window in the foreground but not be able to disable...
|
by: Csaba Gabor |
last post by:
Up until a few weeks ago, javascript code like
window.open("http://mydomain.com", "windowName");
would always bring my new or reused window to the top, with focus.
Lately, Firefox (Deer park alpha 2) only brings it to the top if the
window is new. If it's being reused, the window does not come to
the foreground (with IE 6 it does).
Is there a new way in Mozilla/Firefox that I can ensure that this
|
by: DOM_scripter |
last post by:
Hi, I want to set a picture on the fly. For this I have a html file
with only an <img> tag - kind of a placholder.
So I do myWindow=window.open("data/myFile.html"). Then I set the src
attribute of the img object to the image I ant to show. I thought I
could do this by myWindow.img.src but this does not work. Even
myWindow.img.src.URL gives me an undefined so I wonder, is DOM access
of an object I get via "window.open" possible at all?
| |
by: JNariss |
last post by:
Hello,
Within a form I created I have placed links that users can click on to
view information. I am trying to write a javascript code so it opens in
a sized window but I can't seem to figure this out. So far I have come
up with the following:
<script language="JavaScript" type="text/javascript">
var WindowObjectReference; // global variable
|
by: Jeff |
last post by:
hey guys,
this may not be the right place, but i wanted to give it a shot.
i have an if statement, based on the data of a mssql db.
if the if is .eof
do nothing
else
|
by: shotokan99 |
last post by:
i have this function:
function doit(){
if (dow.cpmake.selectedIndex==1 && dow.cpmodel.selectedIndex==0){
window.open('http://www.mysite.com/mycab.cab');
}
}
using ie this using will download the file..however in ff, its not
working. how to do it in ff?
|
by: ting ting |
last post by:
I am working on a ASP.net 2.0 version and I want to click a button to open a window. I was using window.open to write at vb side.
Response.Write("<Script language='JavaScript'>window.open('Report.aspx"')</Script>")
It works fine and open the Report.aspx at another window, however, my parent window contains a collapsible panel which can't function after clicking that button. Why is it happen? Can the collapsible panel and window.open...
|
by: CreativeMind |
last post by:
hi,
i have a page calendar.aspx which returns selected date i.e
window.returnValue=selectedDate; window.close(); it works fine with IE
but not for Firefox.
i tried window.opener.document.getElementById(<%=txthidden.ClientID
%>").value=selectedDate; where window.opener is pageA.aspx
but am confused bkoz many pages r using this calendar.aspx page and it
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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 we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |