Thanks Ronald for reminding me of this...
And just for you... well obviously not JUST for you but you know what I mean...
If you add this code to your xenith.js file then it will fix the issue once and for all... hopefully...
At around line 900 in the latest version (might be slightly different in yours) you should see a function:
function x_pageLoaded() {
x_pageInfo[x_currentPage].built = $("#x_page" + x_currentPage);
$("#x_page" + x_currentPage)
.hide()
.css("visibility", "visible")
.fadeIn();
}
Change this to:
function x_pageLoaded() {
x_pageInfo[x_currentPage].built = $("#x_page" + x_currentPage);
$("#x_page" + x_currentPage + " img").each(function(index) {
var $this = $(this),
src = $this.attr("src");
if (src.substring(0, 16) == "FileLocation + '") {
src = eval(src);
}
$this.attr("src", src);
});
$("#x_page" + x_currentPage)
.hide()
.css("visibility", "visible")
.fadeIn();
}
This mean that you can use the exact same FileLocation + '.......' code in the main text and xenith will find and replace. Makes it a lot easier for this type of situation.
It works here but I will probably move this snippet somewhere more relevant later (just in case anyone is reading this retrospectively) and I will try to extend to work with other html tags like <a> <audio> <video> etc but this is a good start.
John