I'm using frontpage as the editor. The first button opens a new
browser and loads the jpg for each button. The second button opens the
new browser but don't load up the graphics. Why?
<pre><u><input type="Button" value="Floor plan"
onClick="InfoWindow=window.open('Final%20Drafts/Cholla.htm','InfoWindow','toolbar=no,
location=no, directories=no, status=no, menubar=no, scrollbars=no,
resizable=no, width=685, height=640, left=10, top=10'); return
false;"></pre
<pre><u><input type="Button" value="Floor plan"
onClick="InfoWindow=window.open('Final%Drafts/Octillo.htm','InfoWindow','toolbar=no,
location=no, directories=no, status=no, menubar=no, scrollbars=no,
resizable=no, width=635, height=685, left=10, top=10'); return
false;"></u> 9 1675
On 4 Mar 2004 21:39:03 -0800, Devin <do********@hotmail.com> wrote: I'm using frontpage as the editor. The first button opens a new browser and loads the jpg for each button. The second button opens the new browser but don't load up the graphics. Why?
<pre><u><input type="Button" value="Floor plan" onClick="InfoWindow=window.open('Final%20Drafts/Cholla.htm','InfoWindow','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, width=685, height=640, left=10, top=10'); return false;"></pre
<pre><u><input type="Button" value="Floor plan" onClick="InfoWindow=window.open('Final%Drafts/Octillo.htm','InfoWindow','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, width=635, height=685, left=10, top=10'); return false;"></u>
First strike - inspect the htm files. Fault is likely there.
Second strike - put the first htm file in the second's code and see if it
opens that. Scientifically separate the code from the file in that way -
if the first file opens fine in the second code, the code's not to blame,
the file is.
On 4 Mar 2004 21:39:03 -0800, do********@hotmail.com (Devin) wrote: I'm using frontpage as the editor. The first button opens a new browser and loads the jpg for each button. The second button opens the new browser but don't load up the graphics. Why?
Don't know, but Neal has given you some suggestions.
However, you have several other problems.
<pre><u><input type="Button" value="Floor plan" onClick="InfoWindow=window.open('Final%20Drafts/Cholla.htm','InfoWindow','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, width=685, height=640, left=10, top=10'); return false;"></pre
- This will only work for readers who have Javascript enabled. 10%-20%
do not (for good reasons). See http://www.xs4all.nl/~sbpoley/webmatters/whatnojs.html
As you don't seem to be doing anything that intrinsically requires
Javascript, now would be a good time to replace the button with a link.
- Do you really need a new window at all? Do you have a clear reason why
the reader needs to see both the new and old windows at the same time?
- scrollbars=no is appalling. Don't ever use it. It has two possible
effects: (1) the user cannot get to part of the page, or (2) nothing.
Which do you want to achieve?
- resizable=no isn't much better.
- The <u> element is not closed. Does it do anything anyway? (Not in my
browser)
- Not much point in putting a PRE element around something with no text.
All in all, this seems to provide further evidence (if any were needed)
that the best place for FrontPage is the dustbin.
--
Stephen Poley http://www.xs4all.nl/~sbpoley/webmatters/
Devin wrote: I'm using frontpage as the editor. The first button opens a new browser and loads the jpg for each button. The second button opens the new browser but don't load up the graphics. Why?
<pre><u><input type="Button" value="Floor plan" onClick="InfoWindow=window.open('Final%20Drafts/Cholla.htm','InfoWindow','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, width=685, height=640, left=10, top=10'); return false;"></pre
<pre><u><input type="Button" value="Floor plan" onClick="InfoWindow=window.open('Final%Drafts/Octillo.htm','InfoWindow','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, width=635, height=685, left=10, top=10'); return false;"></u>
Blah.. blah... usual warnings about JavaScript, and popup windows...
Blah... blah...
Now to the problem itself:
The first one specifies the file name as 'Final%20Drafts/Cholla.htm',
whereas the second one specifies it as 'Final%Drafts/Octillo.htm'
See any obvious difference between these (besides the .htm name)?
What does the '%' character mean in the second file name? It means a
character whose ASCII value is specified in hexadecimal in the following
two characters - DR in this case. That's an illegal hexadecimal number,
and thus is unsupported (and unpredictable).
I assume you wanted to specify 'Final%20Drafts/Octillo.htm' as the file
name for the second button...
Devin wrote: I'm using frontpage as the editor. The first button opens a new browser and loads the jpg for each button. The second button opens the new browser but don't load up the graphics. Why?
<pre><u><input type="Button" value="Floor plan" onClick="InfoWindow=window.open('Final%20Drafts/Cholla.htm','InfoWindow','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, width=685, height=640, left=10, top=10'); return false;"></pre
<pre><u><input type="Button" value="Floor plan" onClick="InfoWindow=window.open('Final%Drafts/Octillo.htm','InfoWindow','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, width=635, height=685, left=10, top=10'); return false;"></u>
Blah.. blah... usual warnings about JavaScript, and popup windows...
Blah... blah...
Now to the problem itself:
The first one specifies the file name as 'Final%20Drafts/Cholla.htm',
whereas the second one specifies it as 'Final%Drafts/Octillo.htm'
See any obvious difference between these (besides the .htm name)?
What does the '%' character mean in the second file name? It means a
character whose ASCII value is specified in hexadecimal in the following
two characters - DR in this case. That's an illegal hexadecimal number,
and thus is unsupported (and unpredictable).
I assume you wanted to specify 'Final%20Drafts/Octillo.htm' as the file
name for the second button...
Devin wrote: I'm using frontpage as the editor.
That's your first mistake... FrontPage sucks! Real Men write HTML by
hand! :-)
The first button opens a new browser and loads the jpg for each button.
That's your second mistake. Opening up new browser windows is generally
regarded as annoying.
The second button opens the new browser but don't load up the graphics. Why?
Maybe due to some of your several syntax errors...
<pre><u><input type="Button" value="Floor plan" onClick="InfoWindow=window.open('Final%20Drafts/Cholla.htm','InfoWindow','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, width=685, height=640, left=10, top=10'); return false;"></pre
1) The <u> element is never closed (and must be closed before the <pre>
element to be properly nested)
2) You're missing the closing ">" character in the </pre> tag.
<pre><u><input type="Button" value="Floor plan" onClick="InfoWindow=window.open('Final%Drafts/Octillo.htm','InfoWindow','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, width=635, height=685, left=10, top=10'); return false;"></u>
3) 'Final%Drafts' is probably supposed to be 'Final%20Drafts', where %20
is the hexadecimal code for the space character. (You're better off
using file and directory names that don't have spaces in them, so you
don't have characters in your URLs that need escaping.)
4) The <pre> element is never closed.
Furthermore, it's a bad idea to make your site navigation depend on
JavaScript, or the <input type="button"> element (which is not supported
in older browsers). Also, I believe Netscape browsers ignore <input>
elements when they're not within a <form> element.
I see no references to .jpg graphics in your code; probably, they're
loaded with <img> elements in the HTML documents referenced there.
--
== Dan ==
Dan's Mail Format Site: http://mailformat.dan.info/
Dan's Web Tips: http://webtips.dan.info/
Dan's Domain Site: http://domains.dan.info/
"Keld R. Hansen" <ne**@www.heartware.dk> wrote in message news:<40************@www.heartware.dk>... Devin wrote:
I'm using frontpage as the editor. The first button opens a new browser and loads the jpg for each button. The second button opens the new browser but don't load up the graphics. Why?
<pre><u><input type="Button" value="Floor plan" onClick="InfoWindow=window.open('Final%20Drafts/Cholla.htm','InfoWindow','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, width=685, height=640, left=10, top=10'); return false;"></pre
<pre><u><input type="Button" value="Floor plan" onClick="InfoWindow=window.open('Final%Drafts/Octillo.htm','InfoWindow','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, width=635, height=685, left=10, top=10'); return false;"></u>
Blah.. blah... usual warnings about JavaScript, and popup windows... Blah... blah...
Now to the problem itself:
The first one specifies the file name as 'Final%20Drafts/Cholla.htm', whereas the second one specifies it as 'Final%Drafts/Octillo.htm'
See any obvious difference between these (besides the .htm name)?
What does the '%' character mean in the second file name? It means a character whose ASCII value is specified in hexadecimal in the following two characters - DR in this case. That's an illegal hexadecimal number, and thus is unsupported (and unpredictable).
I assume you wanted to specify 'Final%20Drafts/Octillo.htm' as the file name for the second button...
That did it! I can't believe I missed it. I reviewed those lines over
and over. Good eye-thanks a million!
"Daniel R. Tobias" <da*@tobias.name> wrote in message news:<x_********************@adelphia.com>... Devin wrote: I'm using frontpage as the editor.
That's your first mistake... FrontPage sucks! Real Men write HTML by hand! :-)
The first button opens a new browser and loads the jpg for each button.
That's your second mistake. Opening up new browser windows is generally regarded as annoying.
The second button opens the new browser but don't load up the graphics. Why?
Maybe due to some of your several syntax errors...
<pre><u><input type="Button" value="Floor plan" onClick="InfoWindow=window.open('Final%20Drafts/Cholla.htm','InfoWindow','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, width=685, height=640, left=10, top=10'); return false;"></pre
1) The <u> element is never closed (and must be closed before the <pre> element to be properly nested)
2) You're missing the closing ">" character in the </pre> tag.
<pre><u><input type="Button" value="Floor plan" onClick="InfoWindow=window.open('Final%Drafts/Octillo.htm','InfoWindow','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, width=635, height=685, left=10, top=10'); return false;"></u>
3) 'Final%Drafts' is probably supposed to be 'Final%20Drafts', where %20 is the hexadecimal code for the space character. (You're better off using file and directory names that don't have spaces in them, so you don't have characters in your URLs that need escaping.)
4) The <pre> element is never closed.
Furthermore, it's a bad idea to make your site navigation depend on JavaScript, or the <input type="button"> element (which is not supported in older browsers). Also, I believe Netscape browsers ignore <input> elements when they're not within a <form> element.
I see no references to .jpg graphics in your code; probably, they're loaded with <img> elements in the HTML documents referenced there.
That solved it! Both your posting and Keld's about 'Fina%20Drafts'
syntax was causing it. Just about everyone's expressions with passion
in their postings is freakin' hillarous but convincing! I also will
seriously consider dumping frontpage as I've seen some syntax that
seems silly. Thanks! Devin do********@hotmail.com (Devin) wrote in message news:<e4**************************@posting.google. com>... I'm using frontpage as the editor. The first button opens a new browser and loads the jpg for each button. The second button opens the new browser but don't load up the graphics. Why?
<pre><u><input type="Button" value="Floor plan" onClick="InfoWindow=window.open('Final%20Drafts/Cholla.htm','InfoWindow','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, width=685, height=640, left=10, top=10'); return false;"></pre
<pre><u><input type="Button" value="Floor plan" onClick="InfoWindow=window.open('Final%Drafts/Octillo.htm','InfoWindow','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, width=635, height=685, left=10, top=10'); return false;"></u>
I appreciate everyone suggestions and the problem was the syntax
'Final%20Drafts'. Thanks again! Devin This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Matthew |
last post by:
I am not the most talented programmer to grace the earth by a long
shot. But I've got a gripe I need to air about the .NET implementaion
of Visual Basic. I can live with alot of the major changes...
|
by: Stacey |
last post by:
Hi,
I'm hoping for a bit of advise-- I have a (relatively, from the
point-of-view of this dilettante) complex script that attempts to preload
certain images in order to trigger one of a series of...
|
by: nsgi_2004 |
last post by:
Hello,
I've noticed System.Drawing.Bitmap. I'm wondering if there is an equivalent
class that works with jpegs, or at least loads jpegs and converts them to
bitmaps.
Thanks in advance.
|
by: Vin |
last post by:
Hi,
I am using the following code to draw whatever the user draws using
x,y.
// draws lines directly on a winform.
CreateGraphics().DrawLine(APen, x, y, OldX, OldY);
Now how do I save the...
|
by: Detlef Hüttenbach |
last post by:
Whereas loading tiffs and pngs from file into an Image WebControl work, the
images aren't shown when loaded from streams:
In a WebForm, the image's property "ImageUrl" is set to a handler, and...
|
by: Cenk Genisol |
last post by:
Hi NG,
I am relatively new to Web developement and have some questions to you.
I've got a Masterpage where some graphics are embedded by CSS. They format
the borders of tables, which store...
|
by: brianflannery |
last post by:
Greetings! My situation is this. I currently have a database of
which in a form displays jpeg pictures (one at a time) which are
linked to the db and stored in a separate folder. I have set up a...
|
by: JoeC |
last post by:
I have successfully saved and re-loaded binary data but I am having
some trouble with some data:
I wrote a binary graphics object and it takes data in a BYTE form.
Here is the data I have and...
|
by: msch.prv |
last post by:
I have been experimenting with VWD Express Extension 3.5 and noticed
that quite often it takes up to 1..2 min to load external js or css
files. This occurs often after rebuilding the site. The...
|
by: vunet |
last post by:
This may be a strange question from a non-technical person who asked
me to make his whole site and images load all at once. I.e. the
completely loaded site would show up immediately even with a big...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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$) {
}
...
|
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...
|
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
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
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: 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...
| |