reload the page - Forum

Forum Navigation
You need to log in to create posts and topics.

reload the page

hi, does Neowin has a command like reloadapp for a page that is able to reload the page, not the whole app.

regards

@kazem VisualNEO Web produces "one page apps". That means all pages are loaded from a single .html file. But you can reload the app in a given page using something like this:

BeginJS
  window.document.location.href="./index.html#!/PageName";
EndJS

Regards.

Vadim and asmat have reacted to this post.
Vadimasmat

thank you very much for your teaching and help. I did it but it seems to reload the page only once. is it possible to do reloading the page several times in a loop?

regards

@kazem, please explain me why you want to do that.
You can add the above code into a Timer object to be sure the action is repeated each given period of time. But I don't understand why you need to do that.

Regards.

hi, I have written pages with drag and drop teaching words. for example I have 5 words that are not shown. by a loop, one by one is shown and after the end I want the whole page to be reloaded that the students be able to this page several times. if it is needed I can upload one of the pages.

thanks for your patience.

@kazem but why to reload? Just reset your variables and word positions or visibility.
If you decide to share a sample, probably I would be able to better understand your problem, but I think reloading is not what you need.

Regards.

hi, this is a short part of the app.

regards

Uploaded files:
  • You need to login to have access to uploads.

Sorry @kazem, I have downloaded and tested your compiled app, but I don't understand how it should work.
Is it something similar to the included Solar System sample app?
Please next time share the .neoapp file, not the compiled publication.

Regards.