HighDots Forums  

PD html editor (Mac problem)

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss PD html editor (Mac problem) in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Andi Fenner
 
Posts: n/a

Default PD html editor (Mac problem) - 07-08-2003 , 04:57 AM






Hi

Could anyone help me. I have recently developed a page which contains an
HTML/WYSIWYG editor. I used the PD Online HTML Editor and found it really
easy to use. The only problem I have is that the page calls up an error
when viewed on a Mac.

I was wondering is anyone else has had this problem and what they did to
resolve the problem?

Is there an alternative editor anyone could recommend?

What actually causes the error and is there a work around? PD uses frames
and the Java Script that creates the error is shown below. If more
information is required please let me know


var errorString = "Sorry but this web page needs\nWindows95 and Internet
Explorer 5 or above to view."
var Ok = "false";
var name = navigator.appName;
var version = parseFloat(navigator.appVersion);
var platform = navigator.platform;

if (platform == "Win32" && name == "Microsoft Internet Explorer" && version
Quote:
= 4){
Ok = "true";
} else {
Ok= "false";
}

if (Ok == "false") {
alert(errorString);
}


Thanks for reading my problem, Andi




Reply With Quote
  #2  
Old   
Alan Ames
 
Posts: n/a

Default Re: PD html editor (Mac problem) - 07-08-2003 , 07:17 AM






It's not a fixable thing- that online editor and most of the other's like
it use features of Windows/Internet Explorer 5+ to control the rich text
editing. Those features just don't exist on mac/IE.

There may be an error in the javascript that tests for browser version, i
don't know. But if the js worked on mac- it would display this:
Sorry but this web page needs Windows95 and Internet
Explorer 5 or above to view

--
Team Macromedia Volunteer for Dreamweaver
Certified Dreamweaver MX Developer


Reply With Quote
  #3  
Old   
Andi Fenner
 
Posts: n/a

Default Re: PD html editor (Mac problem) - 07-08-2003 , 09:00 AM



Thanks Alan

It looks like it's back to the drawing board.... again


"Alan Ames" <blu (AT) formdude (DOT) com> wrote

Quote:
It's not a fixable thing- that online editor and most of the other's like
it use features of Windows/Internet Explorer 5+ to control the rich text
editing. Those features just don't exist on mac/IE.

There may be an error in the javascript that tests for browser version, i
don't know. But if the js worked on mac- it would display this:
Sorry but this web page needs Windows95 and Internet
Explorer 5 or above to view

--
Team Macromedia Volunteer for Dreamweaver
Certified Dreamweaver MX Developer




Reply With Quote
  #4  
Old   
Les Matthews
 
Posts: n/a

Default Re: PD html editor (Mac problem) - 07-08-2003 , 02:49 PM



You might want to try this one: http://www.fredck.com/FCKeditor/

"Andi Fenner" <andi.fenner (AT) domnickhunter (DOT) com> wrote

Quote:
Hi

Could anyone help me. I have recently developed a page which contains an
HTML/WYSIWYG editor. I used the PD Online HTML Editor and found it really
easy to use. The only problem I have is that the page calls up an error
when viewed on a Mac.

I was wondering is anyone else has had this problem and what they did to
resolve the problem?

Is there an alternative editor anyone could recommend?

What actually causes the error and is there a work around? PD uses frames
and the Java Script that creates the error is shown below. If more
information is required please let me know


var errorString = "Sorry but this web page needs\nWindows95 and Internet
Explorer 5 or above to view."
var Ok = "false";
var name = navigator.appName;
var version = parseFloat(navigator.appVersion);
var platform = navigator.platform;

if (platform == "Win32" && name == "Microsoft Internet Explorer" &&
version
= 4){
Ok = "true";
} else {
Ok= "false";
}

if (Ok == "false") {
alert(errorString);
}


Thanks for reading my problem, Andi





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.