R
Rolf Welskes
Hello,
I have simple in one folder FolderA
MyMaster.master and
script01.js
styles01.css
The content pages are in
FolderA/FolderB/ContentPage01.aspx
and
FolderA/FolderB/FolderC/ContentPage02.aspx
in MyMaster.master I have so
<link href="styles01.css" type="text/css" rel="Stylesheet" />
<script type="text/javascript" src="script01.js"></script>
Now if I call ContentPage01
I see in the generated source css ref is correct maped to ../styles01.css
but javascript include not, it is script01.js
must be ../script01.ja
The same if I call ContentPage02
I see in the generated source css ref is correct maped to
.../../styles01.css
but javascript include not, it is script01.js
must be ../../script01.ja
I can in my design only use relativ pathes no other.
Why is stylesheet include mapped correctly and javascript include is not ?
What to do?
Thank you
Rolf Welskes
I have simple in one folder FolderA
MyMaster.master and
script01.js
styles01.css
The content pages are in
FolderA/FolderB/ContentPage01.aspx
and
FolderA/FolderB/FolderC/ContentPage02.aspx
in MyMaster.master I have so
<link href="styles01.css" type="text/css" rel="Stylesheet" />
<script type="text/javascript" src="script01.js"></script>
Now if I call ContentPage01
I see in the generated source css ref is correct maped to ../styles01.css
but javascript include not, it is script01.js
must be ../script01.ja
The same if I call ContentPage02
I see in the generated source css ref is correct maped to
.../../styles01.css
but javascript include not, it is script01.js
must be ../../script01.ja
I can in my design only use relativ pathes no other.
Why is stylesheet include mapped correctly and javascript include is not ?
What to do?
Thank you
Rolf Welskes