Go Back   CodingForums.com > :: Client side development > JavaScript programming > JavaScript frameworks

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-29-2012, 08:10 AM   PM User | #1
Aeroblizz
New to the CF scene

 
Join Date: Nov 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Aeroblizz is an unknown quantity at this point
Javascript/Browser problem

Hi,

Our programmer is having problems with a text-tool made with javascript.
His description is:

There is no function that don't work, what work in Firefox not work in Chrome

if ($.browser.webkit) {
this.setZoom();
};
line 269
if you will remove it (so no change of zoom), then you will see bug in Chrome
and line 265
if($.browser.mozilla && $.browser.version > 12) {
$('#workarea').css('overflow', 'hidden');
};
if you will remove it - you will see bug in Firefox


Does anyone recognize this problem?
If you think you can fix it, pm me your price.
Aeroblizz is offline   Reply With Quote
Old 11-29-2012, 08:12 AM   PM User | #2
Aeroblizz
New to the CF scene

 
Join Date: Nov 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Aeroblizz is an unknown quantity at this point
this.toEditMode = function(obj) {
this.setVars(obj);
if($.browser.mozilla && $.browser.version > 12) {
$('#workarea').css('overflow', 'hidden');
};
$(curbody).enableSelection();
if ($.browser.webkit) {
this.setZoom();
};
editmode = true;
selected = true;
$(curbody).css('cursor', 'auto');
curbody.contentEditable = "true";
$(curbody).attr('contenteditable', 'true');
curframe.contentWindow.document.contentEditable=true;
curframe.contentWindow.document.designMode="on";
curbody.contentEditable=true;
curbody.designMode="on";
svgCanvas.setEnhtextMode('edit');
this.refreshWindow();
};
Aeroblizz is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

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

Forum Jump


All times are GMT +1. The time now is 02:30 PM.


Advertisement
Log in to turn off these ads.