This question is locked. New answers and comments are not allowed.
Hi Guys,
I am going to use Icenium for my hybrid application, I am a newbie here so just wanted to know if we can redirect through javascript to other pages? My index.html will have lots of options for users and coding all the functions in a single index.html will be complex.. so is there any idea how can i do this?
Thanks in Advance
I am going to use Icenium for my hybrid application, I am a newbie here so just wanted to know if we can redirect through javascript to other pages? My index.html will have lots of options for users and coding all the functions in a single index.html will be complex.. so is there any idea how can i do this?
Thanks in Advance
11 Answers, 1 is accepted
0
Hello Kanika,
You can use hyperlink:
<a href="index2.html">Index2</a>
or window.open, for more info here.
Generally your question is not directly related to Icenium (which is basically the environment you would work in) and you can get more thorough feedback about such general questions in community forums like StackOverFlow.
Greetings,
Steve
the Telerik team
Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Kendo UI Dojo.
You can use hyperlink:
<a href="index2.html">Index2</a>
or window.open, for more info here.
Generally your question is not directly related to Icenium (which is basically the environment you would work in) and you can get more thorough feedback about such general questions in community forums like StackOverFlow.
Greetings,
Steve
the Telerik team
Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Kendo UI Dojo.
0
Hi,
In case you referred to maintaining views in separate files during development, you might want to check the Kendo UI remote views.
Regards,
Steve
the Telerik team
Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Kendo UI Dojo.
In case you referred to maintaining views in separate files during development, you might want to check the Kendo UI remote views.
Regards,
Steve
the Telerik team
Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Kendo UI Dojo.
0
Kanika
Top achievements
Rank 1
answered on 10 Apr 2013, 04:01 AM
Hi Steve, thanks for your reply but i read somewhere in your forum that if we use window.location.href or hyperlink then Apple might disapprove our application, is it true?
Thanks
Thanks
0
Hi Kanika,
You can always use window.open if you think/read that other methods might have any drawback.
Kind regards,
Steve
the Telerik team
Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Kendo UI Dojo.
You can always use window.open if you think/read that other methods might have any drawback.
Kind regards,
Steve
the Telerik team
Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Kendo UI Dojo.
0
emmapabale
Top achievements
Rank 1
answered on 26 Jun 2013, 02:09 AM
window.open opens a new window. it doesn't show it on the phone simulator.
0
Hi Emma,
Regards,
Kristian D. Dimitrov
Telerik
Looking for tips & tricks directly from the Icenium team? Check out our blog!
Missed our first webinar, watch it here.
Share feedback and vote for features on our Feedback Portal.
Yes, window.open opens another window. Could you please provide us some more information about your issue:
- Which Icenium client are you using Graphite or Mist ?
- What is the Cordova version of the project?
- Which device and OS Version of the Simulator you use?
Regards,
Kristian D. Dimitrov
Telerik
Looking for tips & tricks directly from the Icenium team? Check out our blog!
Missed our first webinar, watch it here.
Share feedback and vote for features on our Feedback Portal.
0
Joey Navarro
Top achievements
Rank 1
answered on 14 Nov 2013, 10:44 PM
Redirect does not work.
I created a blank project and added the line
<a href='www.google.com' target='_blank'>Google</a>
In Android, when I click on the link, I get the message:
Application Error
There was a network error. (file:///android_asset/www/www.google.com)
In iOS, the link doesn't do anything.
I created a blank project and added the line
<a href='www.google.com' target='_blank'>Google</a>
In Android, when I click on the link, I get the message:
Application Error
There was a network error. (file:///android_asset/www/www.google.com)
In iOS, the link doesn't do anything.
0
Hi Joey,
Cordova uses file:// protocol and you should not omit http:// when you specify URLs.
Regards,
Steve
Telerik
You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here.
Looking for tips & tricks directly from the Icenium team? Check out our blog!
Share feedback and vote for features on our Feedback Portal.
Cordova uses file:// protocol and you should not omit http:// when you specify URLs.
Regards,
Steve
Telerik
You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here.
Looking for tips & tricks directly from the Icenium team? Check out our blog!
Share feedback and vote for features on our Feedback Portal.
0
Joey Navarro
Top achievements
Rank 1
answered on 15 Nov 2013, 05:21 PM
I added the http:// to the link but it still doesn't redirect to a new browser window.
0
Hi Joey,
I've attached a sample project based on the blank template as you explained. This project works properly on both Android and iOS on our end. Please compare the differences on your end and let us know if further help is needed.
Regards,
Steve
Telerik
You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here.
Looking for tips & tricks directly from the Icenium team? Check out our blog!
Share feedback and vote for features on our Feedback Portal.
I've attached a sample project based on the blank template as you explained. This project works properly on both Android and iOS on our end. Please compare the differences on your end and let us know if further help is needed.
Regards,
Steve
Telerik
You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here.
Looking for tips & tricks directly from the Icenium team? Check out our blog!
Share feedback and vote for features on our Feedback Portal.
0
Audrey
Top achievements
Rank 1
answered on 18 Nov 2013, 03:24 PM
To redirect in a page which is in the project use :
window.location = "page2.html";
window.location = "page2.html";