Hi all, firstly thanks for helping.
I have this bit of code that currently looks for the helper.html file in the same directory.
I want it to look for the helper.html file in the root directory without referencing the URL of the site.
Can anyone edit this for me please?
function iframeResizePipe(){
var height = document.getElementById('container').scrollHeight;
var pipe = document.getElementById('helpframe');
pipe.src = '[b]helper.html[/b]?height='+height+'&cacheb='+Math.random();
pipe.src = '<?php echo @dirname($_SERVER['HTTP_REFERER']); ?>/helper.html?height='+height+'&cacheb='+Math.random();
}