babelfish
10-22-2002, 03:31 PM
why doesnt this work?
http://www.gazeleyprojects.com/bingen/issue1_english.html
now everything works apart from the swap language part (clicking on the flags)
i have this:
function switchLanguage(what) {
//pathURL=thispage.split('issue')[0];
document.location.href = 'issue' + issueNumber + '_' + what + '.html';
}
and its called like this:
<a href="javascript:;" onMouseOver="document.germanFlag.src='images/germanflagOver.gif'" onMouseOut="document.germanFlag.src='images/germanflag.gif'; languageCustomise()" onClick="switchLanguage('german')">
any ideas why the document.location.href dont work?
thanks!
http://www.gazeleyprojects.com/bingen/issue1_english.html
now everything works apart from the swap language part (clicking on the flags)
i have this:
function switchLanguage(what) {
//pathURL=thispage.split('issue')[0];
document.location.href = 'issue' + issueNumber + '_' + what + '.html';
}
and its called like this:
<a href="javascript:;" onMouseOver="document.germanFlag.src='images/germanflagOver.gif'" onMouseOut="document.germanFlag.src='images/germanflag.gif'; languageCustomise()" onClick="switchLanguage('german')">
any ideas why the document.location.href dont work?
thanks!