Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 464
  • Last Modified:

JackBe multiple tables with tabs in IE10

Hi Experts,

We have been using JackBe multiple tables(sortable column) with tabs for a few years and it doesn't work anymore in IE10. It still works ok in FF.

There seems to be some problems in gs_4.js file

var ie_ver=5.5,
    nav=navigator.appName,
    ver=navigator.userAgent,
    accept='',
    sfr=ver.indexOf('Safari');

if(nav=='Microsoft Internet Explorer'){
	var a=ver.substr(ver.indexOf('MSIE'),ver.substr(ver.indexOf('MSIE')).indexOf(';')),
	app_ver=parseFloat(a.substr(a.indexOf(' ')));
	if(app_ver>=ie_ver){
		accept='ie';
	}
}
else if(sfr>-1){
	accept='sf';
}
else{
	accept='ff';
}

if(accept!=''){
	JkB={LCL:navigator[(accept=='ie'?'userL':'l')+'anguage']};
	JkB.namespace=function(a,b){
		var c=b?b:window,
			d=a.split('.'),
			i;
		for(i=0;i<d.length;i++){
			if(!c[d[i]]){
				c[d[i]]={};
				c=c[d[i]];
		    }
		}
		return c;
     };
}
Gcs=EHRCONTEXT+"/jackbe/css/";
Gfb=EHRCONTEXT+"/jackbe/fb/";
Gjf=EHRCONTEXT+"/jackbe/jf/";
Gjj=EHRCONTEXT+"/jackbe/";
Gjd=EHRCONTEXT+"/jackbe/";
IP=Gjj+"img/"+""+EHRCONTEXT+"/jackbe/img/";
CVM={css:{apl:1,axischart:1,calendar:1,contextMenu:1,jbtable:1,menu:1,pager:1,slider:1,tabs:1,toolbar:1,treeview:1,menuS:1},rb:{jackbeMessages:1},jc:{},fb:{document:4,pd:1},jf:{filter:1,filterForm:1}};
JkB.userPatterns={};
JkB.userMasks={};
Gv=1;
document.write('<LINK REL=stylesheet id="_$cSs0" MEDIA="all" TYPE="text/css" href="'+Gcs+'apl_'+CVM["css"]["apl"]+'.css">');
if(accept=="ie"){
	document.write('<script LANGUAGE="JScript.encode" charset="ISO-8859-1" src="'+Gjj+'jkb/ini_'+Gv+'.jpg"></script>');
}
else if(accept=="ff"||accept=="sf"){
	var ext=accept=="sf"?".js":".gif";
	document.write('<script charset="ISO-8859-1" src="'+Gjj+'jkb/ini_'+Gv+ext+'"></script>');
}
else{
	alert("Your browser doesn't support JackBe.\nIf you want to browse use:\n-Microsoft Internet Explorer 5.5+\n-Netscape 7.1+\n-Firefox 1.0+\n-Safari 2.0+");
}

Open in new window


Has anyone used jackbe and experienced this issue?

thanks in advance
0
dkim18
Asked:
dkim18
  • 11
  • 10
1 Solution
 
GaryCommented:
Have you tried disabling compatibility view? Either thru the tools menu or clicking what looks like a torn page to the right of the address bar
0
 
dkim18Author Commented:
thanks for your quick reply.
yes, it works.
does it mean it tells the browser to render the page as if it were older IE version ?
since this is a large intranet web app, could it affect other pages then?
0
 
dkim18Author Commented:
indeed, this changes some other area's look&feel....
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
GaryCommented:
If it is blue then it is going into compatibility mode, which can mean older websites will render better.
You can specify specific websites if needed or switch between the views by clicking the torn page icon

Though just to be sure are you saying it is working in compatibility view or with compatibility turned off?  Normally IE will not go into compat mode and you can disable it by adding an header to your intranet pages.
0
 
dkim18Author Commented:
if I turn the compat mode off, then I can make on/off by just clicking the torn page icon. If the icon is blue, then it changes person's info on the top of the each page so far.

Can I just set the compat on for this particular page that display jackbe stuff?(w/o user click the torn page icon..)
0
 
GaryCommented:
Under Tools/Compatibility settings you can add it to the list
0
 
dkim18Author Commented:
Under Tools/Compatibility settings, I can't set particular page. It will affect entire site.
0
 
GaryCommented:
Yes it is site wide, you can just click the Compat icon as and when you need it - that's the best you can get.
0
 
dkim18Author Commented:
hm....we can't ask that kind of additional task to users. when the page is loaded, it should be working page at first glance.
0
 
GaryCommented:
As I said earlier you could add an header to the page/s .e.g
<meta http-equiv="X-UA-Compatible" content="IE=9">
0
 
dkim18Author Commented:
I added that in the header, but didn't work.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

<html>
  <head>
     <meta http-equiv="Cache-Control" content="no-store,max-age=-1">
     <meta http-equiv="X-UA-Compatible" content="IE=10"> 
		<meta name="expires" content="0">
		<title>xxxxxx</title>
...
...
...

Open in new window

0
 
GaryCommented:
Needs to be IE=9 or less not 10
0
 
dkim18Author Commented:
this particular page with jackbe doesn't work properly on IE10 as the title of this question stated. So, I need to make it work on IE10.
(It works ok on IE8.)
0
 
GaryCommented:
That's why you need to set the compat mode to a lower version of IE
0
 
dkim18Author Commented:
I already tried that on IE10 and it doesn't work. I thought it didn't work b/c I put lower version number and ran it on IE10.
0
 
GaryCommented:
When you click F12 in the top bar does is it show IE 10 Compatibility View?
0
 
dkim18Author Commented:
yes, it does.
Browser mode: IE10  
Document Mode: IE9 standards
0
 
GaryCommented:
If it was in Compat mode it would say IE 10 Compat View - so it isn't going into compatibility mode.
Move the meta tag so it is the first line and try again.
0
 
dkim18Author Commented:
still doesn't work...

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

<html>
  <head>
          <meta http-equiv="X-UA-Compatible" content="IE=9">
          <meta http-equiv="Cache-Control" content="no-store,max-age=-1">
     
            <meta name="expires" content="0">
            <title>

Open in new window

0
 
GaryCommented:
Don't know what else to suggest - it should work, it's quite bad on their part that they don't support a browser that has been around for a year.
You may just have to tell your users to use a different browser like Chrome.
0
 
dkim18Author Commented:
it worked with "IE=8" instead of "IE=9"
thanks!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 11
  • 10
Tackle projects and never again get stuck behind a technical roadblock.
Join Now