473,414 Members | 1,677 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,414 software developers and data experts.

very odd interaction between server and browsers

I have this javascript that works fine in Firefox and IE when viewed
from my window or Linux development servers. However when I upload it
to the clients server it only works in Firefox. The only difference is
the server the files are on. In every test I am using the same version
of Firefox and IE on the same machine. The Script in question is from
this site....

http://www.unverse.net/whizzywig-cro...ml-editor.html

Anyone have any ideas on what might be the problem?

--
Chris W
KE5GIX

Gift Giving Made Easy
Get the gifts you want &
give the gifts they want
One stop wish list for any gift,
from anywhere, for any occasion!
http://thewishzone.com
Mar 1 '06 #1
5 1280
VK

Chris W wrote:
I have this javascript that works fine in Firefox and IE when viewed
from my window or Linux development servers. However when I upload it
to the clients server it only works in Firefox. The only difference is
the server the files are on. In every test I am using the same version
of Firefox and IE on the same machine. The Script in question is from
this site....

http://www.unverse.net/whizzywig-cro...ml-editor.html


Could you explain more about "doesn't work" for IE. I open it in IE 6.0
w/o any visible error (JScript Debugger is silent). Is it some
particular feature to look at?

Mar 1 '06 #2
VK wrote:
Chris W wrote:

I have this javascript that works fine in Firefox and IE when viewed
from my window or Linux development servers. However when I upload it
to the clients server it only works in Firefox. The only difference is
the server the files are on. In every test I am using the same version
of Firefox and IE on the same machine. The Script in question is from
this site....

http://www.unverse.net/whizzywig-cro...ml-editor.html


Could you explain more about "doesn't work" for IE. I open it in IE 6.0
w/o any visible error (JScript Debugger is silent). Is it some
particular feature to look at?

Sorry I should have said that. In IE when the page is being served from
one and only one of the 3 servers I have put the page on, it shows as a
simple text area.

--
Chris W
KE5GIX

Gift Giving Made Easy
Get the gifts you want &
give the gifts they want
One stop wish list for any gift,
from anywhere, for any occasion!
http://thewishzone.com
Mar 1 '06 #3
VK

Chris W wrote:
Sorry I should have said that. In IE when the page is being served from
one and only one of the 3 servers I have put the page on, it shows as a
simple text area.


When it must be not *that* server in my case :-)

<http://www.unverse.net/wysiwyg.html> in both FF 1.5.0.1 and IE 6.0
displays properly (as much as I can see and tell on the first look).

Mar 1 '06 #4
VK wrote:
Chris W wrote:

Sorry I should have said that. In IE when the page is being served from
one and only one of the 3 servers I have put the page on, it shows as a
simple text area.


When it must be not *that* server in my case :-)

<http://www.unverse.net/wysiwyg.html> in both FF 1.5.0.1 and IE 6.0
displays properly (as much as I can see and tell on the first look).

yeah it works fine on my two testing servers too.... it is my clients
server that it doesn't work right from but only in IE. If it didn't
work in either IE or Firefox I would think I had missed some files or
something on the upload but it works in FF and not in IE, I double
checked, all the files are there. I am meeting with the client tonight
and will tell them they need to look into it, since it seems to be a
problem with the server only.

--
Chris W
KE5GIX

Gift Giving Made Easy
Get the gifts you want &
give the gifts they want
One stop wish list for any gift,
from anywhere, for any occasion!
http://thewishzone.com
Mar 1 '06 #5
Chris W wrote:
VK wrote:
Chris W wrote:
Sorry I should have said that. In IE when the page is being served from
one and only one of the 3 servers I have put the page on, it shows as a
simple text area.


When it must be not *that* server in my case :-)

<http://www.unverse.net/wysiwyg.html> in both FF 1.5.0.1 and IE 6.0
displays properly (as much as I can see and tell on the first look).


yeah it works fine on my two testing servers too.... it is my clients
server that it doesn't work right from but only in IE. If it didn't
work in either IE or Firefox I would think I had missed some files or
something on the upload but it works in FF and not in IE, I double
checked, all the files are there. I am meeting with the client tonight
and will tell them they need to look into it, since it seems to be a
problem with the server only.


I have reviewed your (and John Goodman's) code. (Is your John Goodman
somehow related to Danny Goodman? The code is just as bad.) You could
start attacking the problem by using Valid markup (among other errors,
the `textarea' element must not contain any other elements), then
continue with avoiding nonsensical browser detection, such as

,-<URL:http://www.unverse.net/whizzery/whizzywig.js>
|
| [...]
| if ((navigator.userAgent.indexOf('Safari') != - 1)
| || !document.getElementById || !document.designMode)
| {
| //no designMode
| alert("Whizzywig " + t("editor not available for your browser"));
| return;
| }

and nonsensical testing, such as

| if (document.frames)
| {
| //IE
| oWhizzy = frames['whizzyWig'];
| }

and calling document.write() (through the user-defined w() method) only
once, while you concatenate the resulting string, because writing only
incomplete parts of HTML markup (which is therefore not Valid as-is) is
well-known to be error-prone.
HTH

PointedEars
Mar 2 '06 #6

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

Similar topics

1
by: Alex Cicco | last post by:
Hi, I am new to SQL. Please bear with me and allow me to ask a dumb question. I am debugging a stored procedure (written in Trans-SQL), and I found that the SQL analyzer that I use doesn't...
8
by: Jasper | last post by:
I have a noob problem that is fairly expansive. Let me preface it by saying that I'm a beginning programmer and am using the game I'm writing as a learn-as-I-go tool. I'm trying to make a...
7
by: rdh | last post by:
Hi all, I am in process of developing a Server in C++ supporting multiple protocols. The server will be exposing various functionalities, and the clients can communicate over any of the...
0
by: Hardik Shah | last post by:
Hi, I was looking for ways to interact with server for an ASP.net app. (on-the-fly server validation and return some values) without doing postback. I found some ways on the forum to achieve...
2
by: john | last post by:
How can I do the following? When the user clicks on a certain button, I will open up another web browser, which will act like a dialog box for the first browser. When the user clicks OK in the...
2
by: David Hearn | last post by:
I have a webform that I am creating. I need for the user to be able to pass it the path and name of a file on his/her local machine without any interaction. I don't want to have to use the file...
4
by: Webster | last post by:
Hello, What's the best way to run a client-server interaction using some standardized protocol such as nntp?? That is, should you run a thread that just does a receive loop from the server so...
8
by: pamelafluente | last post by:
Hi, I would like to get some advice. I know enough vb.net on win apps, but I have never worked on web applications and asp.net. I would appreciate if you could indicate the most basic...
0
Dököll
by: Dököll | last post by:
ASP.NET and SQL Server 2005 Database interaction includes: Language: ASP.NET Connectivity: SQL Server 2005 Foreword: This database connectivity is nothing of genius, it is a simple...
0
BarryA
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...
1
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...
0
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
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...
0
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
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
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...
0
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,...
0
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...

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.