Hi,
My webapp is not being hosted online, it is simply a series of html/css/js files on my machine.
I am using a splitview with 2 panes, a simplified structure of the left pane can be seen below:
There are 3 buttons in the UL. The first looks for a view in the current HTML document - this works fine.
The second and third look for remote files, and these do not work. The locations are correct and I have viewed page source and opened the links to check this.
When I click them nothing happens and the webapp becomes unresponsive until I refresh the page.
The contents of testview.html is as follows:
It is necessary for my webapp to be hosted for this to work? Can remote files not work offline?
Thanks in advance,
Andrew.
My webapp is not being hosted online, it is simply a series of html/css/js files on my machine.
I am using a splitview with 2 panes, a simplified structure of the left pane can be seen below:
<
div
data-role
=
"pane"
id
=
"left-pane"
data-layout
=
"side-default"
data-transition
=
"slide"
>
<
div
data-role
=
"layout"
data-id
=
"side-default"
data-show
=
"toggleBackButton"
>
<!-- layout stuff here -->
</
div
>
<
div
data-role
=
"view"
id
=
"side-view"
>
<!-- Left Panel Content -->
<
ul
data-role
=
"listview"
data-style
=
"inset"
>
<
li
><
a
href
=
"#testview"
>Commercial Services</
a
></
li
>
<
li
><
a
href
=
"testview.html"
>Litigation Services</
a
></
li
>
<
li
><
a
href
=
"views/paneviews/private_client_services/index.html"
>Private Client Services</
a
></
li
>
</
ul
>
<!-- -->
</
div
>
<
div
data-role
=
"view"
id
=
"testview"
>
<
p
>Test view</
p
>
</
div
>
</
div
>
The second and third look for remote files, and these do not work. The locations are correct and I have viewed page source and opened the links to check this.
When I click them nothing happens and the webapp becomes unresponsive until I refresh the page.
The contents of testview.html is as follows:
<
div
data-role
=
"view"
id
=
"side-view"
>
<
p
>This is a remote view</
p
>
</div
It is necessary for my webapp to be hosted for this to work? Can remote files not work offline?
Thanks in advance,
Andrew.