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 1956
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','height=475,width=475') ;
newWindow.document.write("<img src=ashley1.jpg>");
}
If all you want is to open an image in the new window use
var newWindow = window.open('ashley1.jpg', 'ashley',
'height=475,width=475');
If you have reason to use document.write to write HTML to the new window
then don't forget the
newWindow.document.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','height=475,width=475') ;
newWindow.document.write("<img src=ashley1.jpg>");
}
If all you want is to open an image in the new window use
var newWindow = window.open('ashley1.jpg', 'ashley',
'height=475,width=475');
If you have reason to use document.write to write HTML to the new window
then don't forget the
newWindow.document.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...
|
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...
|
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...
|
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...
|
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...
|
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:...
|
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......
|
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...
|
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...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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,...
|
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: 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,...
|
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...
|
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...
| |