You are not logged in.
I have changed the above link to a wiki page explaining how to create a ticket
Please continue the discussion here: http://xinha.python-hosting.com/ticket/929
var xinhas = __xinhas; // or __htmlareas in loder versions
for (var i=0;i<xinhas.length;i++)
{
xinhas[i]._textArea.value = xinhas[i].outwardHtml(xinhas[i].getHTML());
}Just give it a try and rename my_config.js to my_config.php
Try
xinha_config.baseURL = "http://localhost"; //without the slash at the endthis will leave you
src="/server/files/images/pantheon.jpg"which should work
Sorry, of course I meant the unparsed php code is an obvious error and there are various ways to fix it ![]()
Yes, that's obvious. The solution is simple: just rename my_config.js to my_config.php
P.S. You can also put
AddType application/x-httpd-php .jsin a .htaccess file in folder (if you're running apache)
Which is the file that contains the line? (The URL reported by IE error message is not always the file that contains the faulty js; also the line reported is usually not quite right).
The syntax you quote is OK, supposed you define the vars beforehand using
var varName;Why do you use the $-naming? that is not usual in js.
Please give more information, an URL to have a look at might help solve the problem quickly.
Please give more information, an URL to have a look at might help solve the problem quickly.
Well, from a quick look I don't see why it shouldn't have stopped working.
Please give more information, an URL to have a look at might help solve the problem quickly.
Well, shouldn't the popup blocker prevent opening the window at all?
Sorry can't reproduce the problem, everything works fine for me.
Only a blind guess: Clear the cache.
I'm glad to hear that! ![]()
Remember: If somethings not working right, give a link, so we can have a look and quickly sort this out. This helps you, us, and everybody.
Also you should create a ticket.
Always have been thinking about something like this. looks quite nice on the first glance, will have a deeper look into that later
But you should really create a ticket! You can login with guest/guest
Thank you for the example, that helped!
I have located the problem and I think how to fix it.
1. Open XinhaCore.js
2. locate the function Xinha.viewportSize
3. replace it by this version
Xinha.viewportSize = function(scope)
{
scope = (scope) ? scope : window;
var x,y;
if (scope.innerHeight) // all except Explorer
{
x = scope.innerWidth;
y = scope.innerHeight;
}
else if (scope.document.documentElement && scope.document.documentElement.clientHeight)
// Explorer 6 Strict Mode
{
x = scope.document.documentElement.clientWidth;
y = scope.document.documentElement.clientHeight;
}
else if (scope.document.body) // other Explorers
{
x = scope.document.body.clientWidth;
y = scope.document.body.clientHeight;
}
return {'x':x,'y':y};
};Please report, if this solves the problem for you.
I have also commited this to the trunk.
If you have too much time and know, or would like to learn, javascript this might be a good opportunity ![]()
Honestly , I can't recall it exactly, sorry. But it was mainly stripping out the various input fields and adjusting the according js. IMO it's not possible with the current state of code to use it with various amounts of input fields without js errors.
Some time in the rather distant future I'd like to make the code more abstract to use it in various configurations, e.g. standalone, to insert Flash, or as a file Open/Save as.. box in Xinha
Tested on FF 1.5.0.9 Mac & FF 2.0.0.1 Mac and it works for me (assumed you mean CharCounter)
there is no function called int. What you do by this is creating a javascript error and stop executing the resize function that originally should care for a resizing of the iframe relative to the window size.
If it keeps not to work, you better disable the calling of the function itself, which is in the last line of the file
//addEvent(window, 'resize', resize);I'd like to have a look at a page where this error occurs, because, like I said, I could not reproduce it in my test browsers
plugins/ExtendedFileManager/assets/manager.js
You can download a (hopefully ) fixed version from here http://xinha.python-hosting.com/file/tr … format=txt
I could not reproduce the error and therefore not test the fix
There are two settings:
1. $IMConfig['images_dir'] this is the directory in which the php script scans for the files
2. $IMConfig['images_url'] this is the url to the above path, the browser has to be able to see this
You have to $IMConfig['images_url'] correctly. Your files folder should be inside the root folder, how else could the browser load the pictures?
niko is already working
is working is maybe not quite the right tense. This branch is a year old ![]()
window.top.Dialog should be it
Maybe you have a look at this (rather old) branch that has some work in this direction http://xinha.python-hosting.com/browser … w-dialogs/