Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2007-01-20 01:36:51

evilc
Xinha Community Member
Registered: 2005-12-18
Posts: 19

Problem in IE - Background and text separate when you scroll window

I am in the process of re-coding the front end of my app to use hidden divs instead of writing out HTML from JS. Got the base template done, with all the CSS working and simulated tabs of sorts with 2 divs containing xinhaareas which I can hide and show as needs be. All good. However, in IE, when you scroll the sidebar window, the text on the xinhaarea buttons separates from the background.

Also, in IE, if you shrink the window vertically, the xinhaarea busts a frame out the bottom and looks all ugly. And I spent so much time getting that vertical sizing routine just right tongue Working out how to guesstimate browser window size in IE was a bugger wink

Any ideas why this might happen?

http://www.evilc.com/xb/
source is the zip, the .php demonstrates this issue.

TIA

Clive

Last edited by evilc (2007-01-20 01:43:10)

Offline

#2 2007-01-20 13:11:03

evilc
Xinha Community Member
Registered: 2005-12-18
Posts: 19

Re: Problem in IE - Background and text separate when you scroll window

Err, the example actually loads XINHA now.

I had left it pointing on XINHA on localhost. Of course I was running a web server with xinha in the right place, so the site displayed for me, but no-one else. It was late, OK wink

So... any ideas on why IE does this wierd separation?
I also noticed that xinha doesn't init properly - all the buttons are greyed out - when I click the greyed out buttons, I get "this.getParentElement is not a function"

Last edited by evilc (2007-01-20 13:12:59)

Offline

#3 2007-01-20 22:22:02

ray
Xinha Administrator
From: Germany
Registered: 2005-03-23
Posts: 521
Website

Re: Problem in IE - Background and text separate when you scroll window

Leave out the doctype definition (=>quirksmode), and wonder!
Google "ie overflow quirksmode"

evilc wrote:

I also noticed that xinha doesn't init properly - all the buttons are greyed out - when I click the greyed out buttons, I get "this.getParentElement is not a function"

seems to be sth wrong with your files, try an update

Offline

#4 2007-01-21 05:44:07

evilc
Xinha Community Member
Registered: 2005-12-18
Posts: 19

Re: Problem in IE - Background and text separate when you scroll window

ray wrote:

Leave out the doctype definition (=>quirksmode), and wonder!
Google "ie overflow quirksmode"

Great! that worked, thanks!

ray wrote:
evilc wrote:

I also noticed that xinha doesn't init properly - all the buttons are greyed out - when I click the greyed out buttons, I get "this.getParentElement is not a function"

seems to be sth wrong with your files, try an update

Tried all available versions of xinha, still no joy.

it looks like yo change from using the word htmlarea to xinha recently, so going further back requires pain, I may well just wait until it stabilizes.

I just finished an all-night mammoth coding session working on the front end.
I am trying to write it this time so that it can be run independantly of all plugins or server-side stuff (ie no phpBB, no Google Maps, no mySQL, no xinha) for two reasons:

1) If I have a problem, I can paste the code as an example, and people do not have to know or have installed all the components to be able to help me find the bug.

2) Being phpBB, it's all templated. The template is just an HTML file - I can open it in a WYSIWYG HTML editor such as front page and the sizing and front end menus work.

Well it's been a slog, but it was worth it - it looks and behaves much better.

http://www.evilc.com/xb

You need to go to Edit Mode->Select "Valid Region" to see a xinha area - Still greyed out sad

Thanks for all your help so far Ray, you have been invaluable!

Offline

#5 2007-01-21 07:07:08

ray
Xinha Administrator
From: Germany
Registered: 2005-03-23
Posts: 521
Website

Re: Problem in IE - Background and text separate when you scroll window

You should really update to the latest revision (we are already 30 revisions in front)!

In the version you use you have to call Xinha.loadPlugins(), even if you don't have any plugins.
(That was a misconception from my side, sorry )

Offline

#6 2007-01-21 13:08:06

evilc
Xinha Community Member
Registered: 2005-12-18
Posts: 19

Re: Problem in IE - Background and text separate when you scroll window

ray wrote:

You should really update to the latest revision (we are already 30 revisions in front)!

In the version you use you have to call Xinha.loadPlugins(), even if you don't have any plugins.
(That was a misconception from my side, sorry )

Eh?? The version on the site is 0.91 beta + hotfix2.

That is the latest version on the downloads page apart from xinha-nightly.

As I said before, I have tried all versions on the downloads page on my localhost server, including xinha-nightly, which uses htmlarea.js not XinhaCore.js, so I presume it is actually older.

Or am I seriously missing something?

Offline

#7 2007-01-21 18:39:53

ray
Xinha Administrator
From: Germany
Registered: 2005-03-23
Posts: 521
Website

Re: Problem in IE - Background and text separate when you scroll window

What I meant is in this version you have to do this step from the newbie guide

             // THIS BIT OF JAVASCRIPT LOADS THE PLUGINS, NO TOUCHING  :)
             if(!Xinha.loadPlugins(xinha_plugins, xinha_init)) return;

because it loads important parts of the code.
This has been changed in the meantime and will be no different in the next release.

Offline

#8 2007-01-22 07:43:37

evilc
Xinha Community Member
Registered: 2005-12-18
Posts: 19

Re: Problem in IE - Background and text separate when you scroll window

Nope, that isn't it.
I uploaded a version with that in it (and corrected the xinha url again to evilc.com not localhost)

I tried taking the examples and embedding them in my code, none of them work. I tried all versions of xinha, all the various versions of the demo code (some have htmlarea.js, some have XinhaCore...) but none of them work.
I spent 8 hours on sunday trying to get the bloody thing to work, I am beat, I give up sad

Offline

Board footer

Powered by FluxBB