Symbian-Developers
The Official Developers Section => Symbian Software Development Discussions => The Developers Section => Symbian Web Runtime => Topic started by: lakshmidci on May 31, 2013, 12:42:07 pm
-
Please anyone can help me out i could not able to find the server path for the .html file inside the application folder.
-
Normally the usual html tags would work
<a href="welcome.html"> link text [/url]
-
alert(window.location.pathname);
var url = "file:///c:/private/10282822/com.WRT.widget/WRT/Welcome.html";
widget.openURL(url);
In the above code, file could not be open Welcome.html. This Welcome.html file has also located in WRT folder,p lease help me out.
-
Get rid of the "file:///c:/private/10282822/com.WRT.widget/WRT/"
it should work just pointing to Welcome.html
-
I already tried the step above you mentioned, herewith i have attached my code please go through because i am struggling with this problem for the 20 days.
[attachment deleted by admin]
-
As per your reply i have used
var url = "Welcome.html";
Widget.openurl(url);
but i am getting "browser unable to connect to the website" error while navigating.
-
I'll take a look at it for you
-
Thank you for your reply i am waiting for your answer.. Thanks a lot
-
I've looked, and was honestly puzzled, it is the right code for sure, I launched it from the default browser which seemed to load it better, with both input boxes, the button and the link ( I created a separate html file and linked it in, loaded fine, but the WRT launcher doesn't ::) )..
-
Do u have any idea for page navigation, because i am very new to symbian application. Please help me
-
Something like this [a image link] should work, but doesn't want to work from the WRT viewer :-\
<a href="index.html"><img src="back.png" alt="back" width="70" height="70" align="center"></a>