Languages

Menu
Sites
Language
<a> tag for url address(http://...) is not work.... Is it right?

in Emulator under code is not work... <a> tag is not work... is it right???  any other way exist??

<body>
    <div data-role="page">
        <div data-role="header" data-position="fixed">
            <h1>Single-page application </h1>
        </div><!-- /header -->

        <div data-role="content">
            <p>This is a single page boilerplate template that you can copy to build your first Tizen Web UI Framework page.</p>
            <a href="http://www.google.com">Google</a>
        </div><!-- /content -->
    </div><!-- /page -->
</body>

 

thank you for reading..

Responses

6 Replies
colin Rao

I think the tizen web application is not as same as the traditional web application wihch running in browser. The tizen web application should be considered as a local app even though it's used the web app skills. 

Suggest to use a http request to get the remote html page and parse it and update the content on UI in backgourd js file. Or use the iframe to instead of the a tag.

Alex Dem

Hi,
On emulator (Tizen SDK 2.3.0 ) I have added into config.xml of web app  

<access origin="*" subdomains="true">

(for all domains) and was able to open google page in the same window this way.
Alexey.

Alex Dem

Hi,
One more important note : this approach with 'access origin'  works with  required_version="2.2" in config.xml.
https://developer.tizen.org/forums/web-application-development/internet-access-2.3
Alexey.

Konrad Lipner

Have you tried to run  <a href="http://www.google.com" target="something">Google</a> ?

AVSukhov

Hello,

According to the W3C Access Requests Policy (WARP), you cannot access external network resources by default. If you require access to an external network resource, you must request network resource permissions for the widget using the Policy tab of the widget configuration editor.

You may use "access" policy propertie.

병옥 이

thank you ... I'll try