Skip navigation
Digital Ink LLC
Currently Being Moderated

js slider image link won't work

Nov 26, 2012 2:33 PM

Tags: #js_slider #tm_slider

I am trying to add a link to an image in a tm_slider banner slideshow image. The a href tag isn't working. Adding it through add behavior also did not work. Adding a hotspot to the .png also did not work. Any suggestions?

https://micounties.org/

 
Replies
  • Currently Being Moderated
    Nov 26, 2012 3:13 PM   in reply to Digital Ink LLC

    First things first.  Fix your HTML  errors.

    http://validator.w3.org/check?verbose=1&uri=https%3A%2F%2Fmicounties.o rg%2F

     

    And on lines 709 & 727 of style.css, you have used invalid property:values.  Delete them.

     

    .cse .gsc-control-cse div,

    .gsc-control-cse div {

    position: normal;

    }

     

    .cse .gsc-resultsHeader,

    .gsc-resultsHeader {

    border: block;

    }

     

    When you get your code errors sorted & uploaded, post back.

     

     

    Nancy O.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 26, 2012 4:44 PM   in reply to Digital Ink LLC

    44 errors is unacceptable. You're using an HTML5 doc type which is

         a) not the same as HTML4 or XHTML1 and

         b) much less forgiving of code errors. 

     

    On line 117 you have this:

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">

     

    Which should be changed to this.

    <meta charset="utf-8">

     

    And again on line 137,

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">


    Delete it.

     

    You have carelessly used <br /> instead of <br> throughout your document. 

     

    You  have <br /> inside lists (not allowed).  If you need more padding between list items use CSS line-height, not break tags.

     

    You have style tags inside <div> tags. Styles don't belong there.  They belong in your style sheet.

     

    Finally, you have used ampersands in your folder and filenames.   Special characters should never be used in folder/ filenames.  On the web, it's OK to use dashes - or underscores _ but no spaces or special characters (@#$%^&*+) which are used by programming languages .

     

    Keep working.

     

     

    Nancy O.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 27, 2012 3:53 PM   in reply to Digital Ink LLC

    For some reason, your page doesn't like </a> tags in the TMSlider.  I don't know why that is.

     

    Try replacing what you have now on lines 249 - 253 with this code and see if it works for you.

     

    <div class="slider">

      <ul class="items">

      <li><a href="events.php"><img src="images/page1-slide2update.png" alt="New Commissioner Workshops 2012" /></li>

      <li><a href="about.php"><img src="images/page1-slide1update.png" alt="Grand Rapids, Michigan" /></li>

    </ul>

    </div>

     

     

    Good luck!

     

     

    Nancy O.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 28, 2012 10:03 AM   in reply to Digital Ink LLC

    Nivo and Wow sliders support URLs.

     

     

    Nancy O.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points