Linking html5 data src images to home page

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mushele
    New Member
    • Jul 2014
    • 1

    Linking html5 data src images to home page

    Hi,
    This is what I have at http://www.hairattheritz.com/untitled.html
    I love the way it resizes for various screen sizes, however I cannot find a way to make it link to the home page. Even the no script link I've tried doesn't work...

    <figure id="logo"><div data-picture data-alt="Hair at the Ritz logo">
    <div data-src="images/hatr_logo_s.png " class="onclick-link" href="index.htm l"> </div>
    <div data-src="images/hatr_logo_m.png " data-media="(min-width: 45em)"> </div>
    <div data-src="images/hatr_logo.png" data-media="(min-width: 60em)"></div>
    <noscript>
    <img src="images/hatr_logo.png" alt="Hair at the Ritz Logo" name="logo" id="logo">
    </noscript>
    </div>
    </figure>
    I'm hoping this is a simple <a href="index.htm l"> </a> fix...somewhere
    Thanks
  • nomad
    Recognized Expert Contributor
    • Mar 2007
    • 664

    #2
    Your missing some .js files and some css files that need to loaded/ placed on your home page.
    Make sure you have the right path for the files as well.
    Look at the view source for http://www.hairattheritz.com/untitled.html
    and you will find what is missing.

    -damon

    Comment

    • nomad
      Recognized Expert Contributor
      • Mar 2007
      • 664

      #3
      Note you can do this to change your untitled.html
      to index.html
      which will make that your home page, make a backup of
      your index page first.

      Comment

      Working...