Hi all

I want to add a new page and add a link to in in an aticle as an example of Jquery Mobile html code.

How can I create a new html file? In Drupal or in a folder?

this is what I want to create:

 <!DOCTYPE html>
<html> 
<head> 
        <title>My Page</title>
        <meta name="viewport" content="width=device-width, initial-scale=1"> 
           
            <link rel="stylesheet" href="http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.css" />
            <script src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
            <script src="http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.js"></script>
         
            
             
            </head>
    <body> 
        
        <div data-role="page">
            
            <div data-role="header">
                <h1>My Title</h1>
            </div><!-- /header -->
            
            <div data-role="content"> 
                <p>Hello world</p> 
            </div><!-- /content -->
            
        </div><!-- /page -->
        
    </body>
</html>

Comments

Anthony Pero’s picture

Hmmm... I'm thinking that you would have to create an HTML5 Theme, then use Context module, or theme switcher, to switch to the HTML5 theme on your link. You can add the content via the BODY field.

Anthony Pero
Project Lead
Virtuosic Media
http://www.virtuosic.me/