Invite a friend link to tellfriend.php problem with a stray >

I am having a problem with the link from index.php to tellfriend.php.

http://www.loving-the-difference.com/index.php (site is in development with all caches turned off)

When i click on the link for 'invite a friend' (at bottom of page) the link opens

http://loving-the-difference.com/>tellfriend.php, -

it's the stray > that's causing me a problem.(if i go to http://loving-the-difference.com/tellfriend.php it works fine).

To me, function.js looks ok.

function launchTellFriend() {

var sBaseUrl = document.getElementsByTagName('base')[0].href;

var win = 'width=380,height=270,left=200,top=100,copyhistory=no,directories=no,menubar=no,location=no,resizable=no,scrollbars=no';

return !window.open(sBaseUrl + 'tellfriend.php', 'tellfriend', win);

}

So I think that this js is ok, and maybe its picking up the stray > via sbaseurl but i'm not sure.

Can anyne give a pointer to where I should start looking next to find this error?

Thanks

Ant.

Quote · 18 May 2011

for the time being i have changed the sbaseurl to a hard coded site address to get round the problem.

Quote · 20 May 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.