-
AuthorPosts
-
May 21, 2009 at 5:27 pm #141363
Hi.
There is a little problem on browsing in IE8. The main body is non centered but on the left of the page.
Is it possible to solve this ?
Thanks.Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
May 22, 2009 at 6:59 am #305464Hi aikonfuture,
Could you please send me your live url via PM so that i could have a closer look on the issue?
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
May 22, 2009 at 7:15 am #305471HI
we have fixed some problems in IE8 and update to the latest version.
I checked your website and saw that it is the old vesion.1 user says Thank You to JA Developer for this useful post
May 22, 2009 at 7:54 am #305485I updated and now it work.
PS. The installation file contains an old error in then ja.script.js: the file do not contains the functions toggleHeader and toggleHeaderGo needed to the toggle animation.
Thank you very much.
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
May 23, 2009 at 7:13 am #305613Hi
Please add following code to the end of that file:
function toggleHeader (aobj) {
if (!tophd) return;
headerToggle = -(headerToggle);
if (aobj)
{
if (headerToggle > 0)
{
aobj.className = "ja-cb";
aobj.href = "#collapse";
aobj.title = "Collapse Spotlight";
} else {
aobj.className = "ja-ob";
aobj.href = "#expend";
aobj.title = "Expend Spotlight";
}
}
if (headerToggle > 0) {
tophd.style.display = "block";
} else {
tophd.style.overflow = "hidden";
if (document.getElementById('ja-bigicon')) document.getElementById('ja-bigicon').style.display = "none";
}
headerTimeout = setTimeout (toggleHeaderGo, headerInt);
}function toggleHeaderGo () {
if (headerTimeout) {
clearTimeout (headerTimeout);
headerTimeout = 0;
}
if (!tophd) {
return;
}
headerTimeout = setTimeout (toggleHeaderGo, headerInt);
var stop = false;
var h = tophd.offsetHeight;
h += headerStep * headerToggle;
//alert(h);
if (h <= 0){
h = 0;
tophd.style.display = "none";
stop = true;
}
if (h > headerHeight){
//alert(tophd.scrollHeight);
h = headerHeight;
stop = true;
tophd.style.overflow = "";
tophd.style.display = "";
if (document.getElementById('ja-bigicon')) document.getElementById('ja-bigicon').style.display = "";
}
if (tophdleft) tophdleft.style.height = h + "px";
if (tophdright) tophdright.style.height = h + "px";
if (tophd) tophd.style.height = h + "px";if (stop) {
clearTimeout (headerTimeout);
headerTimeout = 0;
createCookie("HeaderToggle", headerToggle, 365);
}
}1 user says Thank You to JA Developer for this useful post
May 23, 2009 at 7:31 am #305616Thank you.
-
AuthorPosts
This topic contains 6 replies, has 2 voices, and was last updated by aikonfuture 15 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum