A
AAaron123
In the master header I have
<script type="text/javascript" src="JavaScripts\OpenWindow.js"></script>
OpenWindow.js contains the function openWindow
In the body of the master I have
<a href="JavaScriptpenWindow('Aerial','Images/Aer..snip
When I click the anchor while the page showing is Default.aspx (which is at
the root level as is .Master) the window opens OK.
The folder JavaScripts is also at the root level and OpenWindow.js then one
level below the root.
If instead of showing Default.aspx which is at the root level I show the
page Articles/Articles.aspx I find openWindow is undefined when I click the
anchor.
Do you see what is wrong?
Thanks
project
Default.aspx
Main.Master
JavaScript(folder)
OpenWondow.js (contains function openWindow)
Articles(folder)
Articles.aspx
<script type="text/javascript" src="JavaScripts\OpenWindow.js"></script>
OpenWindow.js contains the function openWindow
In the body of the master I have
<a href="JavaScriptpenWindow('Aerial','Images/Aer..snip
When I click the anchor while the page showing is Default.aspx (which is at
the root level as is .Master) the window opens OK.
The folder JavaScripts is also at the root level and OpenWindow.js then one
level below the root.
If instead of showing Default.aspx which is at the root level I show the
page Articles/Articles.aspx I find openWindow is undefined when I click the
anchor.
Do you see what is wrong?
Thanks
project
Default.aspx
Main.Master
JavaScript(folder)
OpenWondow.js (contains function openWindow)
Articles(folder)
Articles.aspx