I've created a popup in js and it's working fine as far as I do not use FU.
To give you the idea, this is the very simple code:
<script>
var doPopUpX = (screen.width/2)-168;
var doPopUpY = (screen.height/2)-280;
var pos = "left="+doPopUpX+",top="+doPopUpY;
function doPopUp(){
doPopUpWindow = window.open("[[~8]]","my_popup","width=336,height=560,"+pos);
}
</script>
and the call is as follows:
<a href="javascript:doPopUp()">CLICK and the popup will show</a>
When Friendly URLs are activated, though, the popup works but it cannot recall the correct page [[~8]] and it defaults to the home page instead. Is there a way to let Friendly URLs work into a js script or is no way to go?
thx
[ed. note: alby54 last edited this post 14 years, 8 months ago.]