Forum Moderators: open
For example when I call the function from a root level page (localhost/MyVirtualDirectory/MyPage.aspx), the function has contain this:
var ow = window.open("Folder1/Pages/ppgDirections.aspx, "Directions", sFeatures);
But if I were to call the function from a different page (localhost/MyVirtualDirectory/Folder2/MyOtherPage.aspx), the function would probably have to contain this:
var ow = window.open("../Folder1/Pages/ppgDirections.aspx, "Directions", sFeatures);
How can I write the function so that it will work for both pages?
Thanks in advance.