Software Archive
Read-only legacy content
17060 Discussions

I can't link views with elements in intel xdk

Jonathan_S_
New Contributor I
473 Views

Hello, can't link a view to join with a button element. I'm using the ratchet framework to make this application, my button code is:

<button class="btn btn-negative btn-block" href="../alfabeto_vie.html">Clique para prosseguir</button>

I'm trying to join this element with a html file called "alfabeto_vie.html", this file here's on the same location folder with the index.html.
I was consulting the framework's documentation, this documentation explains that's formula bellow:

<a class="navigate-right" href="../two.html" data-transition="slide-in">
          Load new page with push
        </a>

in otherwise, I did a view using the app design, with the same contents. But I still can't link a view with this button.
how I can link this elements?

well, my project have this structure:

project hierarchy.png

0 Kudos
1 Reply
Chris_P_Intel
Employee
473 Views

  ../ in the link means "go up to parent directory". But these two files (index.html and alfabeto_vie.html) are at the same level.

Therefore the link should be  href="alfabeto_vie.html"  

Also, your Mac is set up to hide file extensions.  So make sure alfabeta_vie.html has the ".html" extension. 

0 Kudos
Reply