This is my first time to post to this group, so, please be kind.
In my class, we have a project to create a new window. Mine works in IE with
an image, however, in Netscape the image will not appear. Is there someone
who can help me, or guide me? http://www.kathypainter.com/iwa/js/W...ssignment.html
Thank you.
Kathy 4 1960
kathy painter wrote: This is my first time to post to this group, so, please be kind.
In my class, we have a project to create a new window. Mine works in IE with an image, however, in Netscape the image will not appear. Is there someone who can help me, or guide me?
http://www.kathypainter.com/iwa/js/W...ssignment.html
You have
function newWindow()
{
var newWindow=open( '','ashley','he ight=475,width= 475');
newWindow.docum ent.write("<img src=ashley1.jpg >");
}
If all you want is to open an image in the new window use
var newWindow = window.open('as hley1.jpg', 'ashley',
'height=475,wid th=475');
If you have reason to use document.write to write HTML to the new window
then don't forget the
newWindow.docum ent.close();
after the last document.write
--
Martin Honnen http://JavaScript.FAQTs.com/
kathy painter wrote: This is my first time to post to this group, so, please be kind.
In my class, we have a project to create a new window. Mine works in IE with an image, however, in Netscape the image will not appear. Is there someone who can help me, or guide me?
http://www.kathypainter.com/iwa/js/W...ssignment.html
You have
function newWindow()
{
var newWindow=open( '','ashley','he ight=475,width= 475');
newWindow.docum ent.write("<img src=ashley1.jpg >");
}
If all you want is to open an image in the new window use
var newWindow = window.open('as hley1.jpg', 'ashley',
'height=475,wid th=475');
If you have reason to use document.write to write HTML to the new window
then don't forget the
newWindow.docum ent.close();
after the last document.write
--
Martin Honnen http://JavaScript.FAQTs.com/
"Martin Honnen" <Ma***********@ t-online.de> wrote in message
news:3F******** ******@t-online.de...
Thank you Martin, it now works perfectly. I just couldn't see the forest
through the trees. I appreciate your input greatly.
Kathy
"Martin Honnen" <Ma***********@ t-online.de> wrote in message
news:3F******** ******@t-online.de...
Thank you Martin, it now works perfectly. I just couldn't see the forest
through the trees. I appreciate your input greatly.
Kathy This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Roger Shrubber |
last post by:
I have a page with images that the user can drag from one frame to
another. I need them to see a "ghost image" of the image they are
dragging, while the original stays put. I use the onmousemove event
to keep the ghost image under the mouse pointer. There are three
problems:
(1) if the ghost image is dragged so it is partially off the edge of
the screen, scrollbars appear. This not only looks bad, it can cause
the page to autoscroll...
|
by: Aaron |
last post by:
I have a div with an image which needs to appear in it's bottom left. I
currently have the padding top of the image set to 100%, which should
move the image to the bottom of the the div, but for some strange
reason, there is still space below the image which I can't get rid of.
I've set the image margins to 0 and it does nothing, so it's not the
margins. The stranger thing is, if I reduce the height of the enclosing
div to 326px, the space...
|
by: D. Alvarado |
last post by:
Hello,
I am trying to open a window containing an image and I would like
the image to be flush against the window -- i.e. have no padding or
border. Can I make this happen with a single call to a window.open
function? I would prefer not to create a separate HTML page. So far
all I have is the basic
var cwin = window.open('images/KJV-THANKS.gif',
'Thanks', 'width=243,height=420,');
cwin.focus();
|
by: Zahid Khan |
last post by:
I need little help in my situation.
I am reading a graphic file (jpg) from disk and then
resizing it and save resized image. What happens, it gets
blured, I want to retain same quality so that small image
won't be blur?
any tips or idea or technique?
Thanks in Advance.
|
by: Jake |
last post by:
Does cookieless session state (with the sessionid embedded into the url)
interfere with the browser's retrieval of cached images from one session to
the next? Does the sessionid embedded into the url effectively limit
client-side image caching to the lifetime of the session?
Thanks
Jake
| |
by: Gabriella |
last post by:
Hi,
I have the CSS class below, and the image (pro.gif) is not showing on
my page.
It is showing ONLY where's some text in the div, but all I need is the
image itself.
..pro {background-image: url(/Backpage/Images/pro.gif); display: inline;
}
Am I doing something wrong?
|
by: shapper |
last post by:
Hello,
What is the best way to place an image and a text side by side using
CSS?
Basicaly what I am trying to do is to make the image and the text to
appear as follows:
Image My Text...
XXXXX ---------------
|
by: therio7 |
last post by:
Anyone can help me with my code?
If you look at my page
http://www.vitrail-entete.com/tdj/quoi_de_neuf_test.php
When you mouseover the thumbnails on each row all the larger images appear in the top image holder (the one in the first row).
I'd like to have the images appear in the large image holder just above their thumbnail set
Any idea ?
|
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: 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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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: 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.
| |