You are not logged in.
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 Working out how to guesstimate browser window size in IE was a bugger
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
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
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
Leave out the doctype definition (=>quirksmode), and wonder!
Google "ie overflow quirksmode"
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
Leave out the doctype definition (=>quirksmode), and wonder!
Google "ie overflow quirksmode"
Great! that worked, thanks!
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.
You need to go to Edit Mode->Select "Valid Region" to see a xinha area - Still greyed out
Thanks for all your help so far Ray, you have been invaluable!
Offline
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
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
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
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
Offline