Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Pointer/cursor not changing when hover over a link

Participant ,
Apr 15, 2017 Apr 15, 2017

Hello

I have created some hotspots on a large image so that certain things can be clicked on.

The issue I have is that the cursor only changes from the arrow to the hand on a few of the hotspots which are all roughly the same size. Sometimes the pointer changes for a brief moment before reverting to the arrow once again. I dont know if the page code is required for this but here it is -

<!DOCTYPE HTML>

<html>

<head>

<meta name="robots" content="INDEX,FOLLOW"/>

  <meta name="robots" content="noimageindex"/>

        <meta charset="UTF-8">

        <meta name="description" content="Ultimate Trumps - the most intelligent and educational brand of Trumps also known as Top Trumps. Play, learn and have fun discovering the real world with real facts!">

        <meta name="keywords" content="Top Trumps, Bridges, Dogs, Countries of the World, Ultimate Battles">

    <title> Ultimate Trumps | The home of intelligent and factual Trumps</title>

<title>Ultimate Trumps</title>

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

<style type="text/css">

</style>

<link href="css/stylesheet.css" rel="stylesheet" type="text/css">

<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>

<link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css">

</head>

<body>

<div id="logo"><img src="images/Logo.png" width="245" height="223" alt="Ultimate Trumps"></div>

<div id="nav">

  <ul id="MenuBar1" class="MenuBarHorizontal">

    <li><a href="contact.html">Contact</a></li>

    <li><a href="aboutus.html">About</a></li>

    <li><a href="https://store5205056.ecwid.com/#!/Ultimate-Trumps/c/10277038/offset=0&sort=nameAsc">Shop</a></li>

    <li><a href="history.html">History</a></li>

    <li><a href="packs.html">Packs</a></li>

    <li><a href="index.html">Home</a></li>

  </ul>

</div>

<div id="social">

  <p>Get more info on Trumps</p>

  <a title="See what Ultimate Top Trumps says on Facebook" href="https://www.facebook.com/ultimatetrumps1/?ref=aymt_homepage_panel"><img src="images/Facebook.png" width="35" height="35" alt="Facebook"></a>

  <a title="See Top Trumps images on Fickr" href="https://www.flickr.com/photos/95195765@N02/"><img src="images/Flickr .png" width="35" height="35" alt="Flickr"></a>

  <a title="See what pictures we're taking" href="https://www.instagram.com/ultimatetrumps"><img src="images/instagram.png" width="35" height="35" alt="Instagram"></a>

  <a title="See what Ultimate Trumps is tweeting about" href="https://twitter.com/UTTNigel"><img src="images/Twitter.png" width="35" height="35" alt="Twitter"></a>

  <a title="See some Ultimate Top Trumps videos on Youtube" href="https://www.youtube.com/channel/UCSzaAPT0h8Ot6aV6op4cTOQ"><img src="images/Youtube.png" width="35" height="35" alt="Youtube"></a>

</div>

<div id="banner"><img src="images/cotw.gif" width="104" height="160" alt="Countries of the World">

<img src="images/dogs.gif" width="105" height="160" alt="Dogs">

<img src="images/bridges.gif" width="104" height="160" alt="Bridges">

<img src="images/battles.gif" width="104" height="160" alt="Ultimate Battles">

<img src="images/cotw1.gif" width="106" height="160" alt="Countries of the World"></div>

<div id="bridges">

  <h1><img src="images/bridges.png" alt="bridges" width="700" height="2061" usemap="#Map">

    <map name="Map">

      <area shape="rect" coords="234,2,347,169" href="bridges/alvsborg.html" target="_blank" alt="A1 Alvsborg Bridge" title="Alvsborg Bridge">

      <area shape="rect" coords="467,173,585,341" href="bridges/balinghe_river_bridge.html" target="_blank" alt="B1 Balinghe River Bridge" title="Balinhge River Bridge">

<area shape="rect" coords="462,2,579,170" href="bridges/oresund.html" target="_blank" alt="A2 Oresund Bridge" title="Oresund Bridge">

      <area shape="rect" coords="-3,171,115,341" href="bridges/ironbridge.html" target="_blank" alt="A3 Ironbridge" title="Ironbridge">

      <area shape="rect" coords="235,171,352,340" href="bridges/7_mile.html" target="_blank" alt="A4 Seven Mile Bridge" title="Seven Mile Bridge">

      <area shape="rect" coords="-10,344,116,516" href="bridges/beipangjiang_river_bridge.html" target="_blank" alt="B2 Beipanjiang River Bridge" title="Beipanjiang River Bridge">

      <area shape="rect" coords="233,343,348,515" href="bridges/golden_gate_bridge.html" target="_blank" alt="B3 Golden Gate Bridge" title="Golden Gate Bridge">

      <area shape="rect" coords="467,342,585,514" href="bridges/tower_bridge.html" target="_blank" alt="B4 Tower Bridge" title="Tower Bridge">

      <area shape="rect" coords="3,515,112,685" href="bridges/brooklyn_bridge.html" target="_blank" alt="C1 Brooklyn Bridge" title="Brooklyn Bridge">

      <area shape="rect" coords="235,518,349,685" href="bridges/puente_baluarte.html" target="_blank" alt="C2 Baluarte Bridge" title="Baluarte Bridge">

      <area shape="rect" coords="468,516,587,686" href="bridges/bang_na_expressway.html" target="_blank" alt="C3 Bang Na Expressway" title="Bang Na Expressway">

      <area shape="rect" coords="0,685,114,857" href="bridges/hegigio_gorge_pipeline.html" target="_blank" alt="C4 Hegigio Gorge Pipeline Bridge" title="Hegigio Gorge Pipeline Bridge">

      <area shape="rect" coords="233,689,347,856" href="bridges/bayonne_bridge.html" target="_blank" alt="D1 Bayonne Bridge" title="Bayonne Bridge">

      <area shape="rect" coords="469,687,583,859" href="bridges/tay_rail_bridge.html" target="_blank" alt="D1 Tay Rail Bridge" title="Tay Rail Bridge">

      <area shape="rect" coords="-8,858,113,1028" href="bridges/pontchartrain_causeway.html" target="_blank" alt="D3 The Pontchartrain Causeway" title="The Pontchartrain Causeway">

      <area shape="rect" coords="235,857,349,1030" href="bridges/siduhe_river_bridge.html" target="_blank" alt="D4 Siduhe River Bridge" title="Siduhe River Bridge">

      <area shape="rect" coords="469,859,581,1024" href="bridges/severn_bridge.html" target="_blank" alt="E1 Severn Bridge" title="Severn Bridge">

      <area shape="rect" coords="0,1029,113,1201" href="bridges/forth_bridge.html" target="_blank" alt="E2 Forth Rail Bridge" title="Forth Rail Bridge">

      <area shape="rect" coords="233,1029,345,1199" href="bridges/clifton_suspension_bridge.html" target="_blank" alt="E3 Clifton Suspension Bridge" title="Clifton Suspension Bridge">

      <area shape="rect" coords="465,1028,585,1202" href="bridges/new_river_gorge.html" target="_blank" alt="E4 New River Gorge Bridge" title="New River Gorge Bridge">

      <area shape="rect" coords="-1,1197,113,1373" href="bridges/akashi_kaikyo_ohashi.html" target="_blank" alt="F1 Akashi-Kaikyo Ohash" title="Akashi-Kaiyko Ohash">

      <area shape="rect" coords="233,1201,347,1373" href="bridges/sutong_bridge.html" target="_blank" alt="E2 Sutong Yangtze River Bridge" title="Sutong Yangtze River Bridge">

      <area shape="rect" coords="465,1202,580,1373" href="bridges/tasman_bridge.html" target="_blank" alt="F3 Tasman Bridge" title="Tasman Bridge">

      <area shape="rect" coords="2,1374,114,1546" href="bridges/sydney_harbour_bridge.html" target="_blank" alt="F4 Sydney Harbour Bridge" title="Sydney Harbour Bridge">

      <area shape="rect" coords="238,1375,348,1546" href="bridges/anzac_bridge.html" target="_blank" alt="G1 Anzac Bridge" title'Anzac Bridge">

      <area shape="rect" coords="466,1376,582,1546" href="bridges/danyang-kunshan.html" target="_blank" alt="G2 Danyang-Kunshan Grand Bridge" title="Danyang-Kunshan Grand Bridge">

      <area shape="rect" coords="-1,1544,113,1717" href="bridges/suez_canal_bridge.html" target="_blank" alt="G3 Suez Canal Bridge" title="Suez Canal Bridge">

      <area shape="rect" coords="233,1545,347,1717" href="bridges/millau_valley.html" target="_blank" alt="G4 Millau Viaduct" title="Millau Viaduct">

      <area shape="rect" coords="466,1545,581,1716" href="bridges/hangzhou_bay_bridge.html" target="_blank" alt="H1 Hangzhou Bay Bridge" title="Hangzhou Bat Bridge">

      <area shape="rect" coords="-5,1716,115,1889" href="bridges/general_belgrano.html" target="_blank" alt="H2 General Belgrano Bridge" title="General Belgrano Bridge">

      <area shape="rect" coords="233,1718,349,1889" href="bridges/astoria_megler.html" target="_blank" alt="H3 Astoria-Megler Bridge" title-"Astoria-Megler Bridge">

      <area shape="rect" coords="468,1717,583,1888" href="bridges/bosphorus_bridge.html" target="_blank" alt="H4 Bosphorus Bridge" title="Bosphorus Bridge">

    </map>

  </h1>

</div>

<div id="aboutfooter">Copyright &copy; 2009 - 2017 &bull; Ultimate Top Trumps &bull; All rights reserved </div>

<script>

  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i=i||function(){

  (i.q=i.q||[]).push(arguments)},i.l=1*new Date();a=s.createElement(o),

  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)

  })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-77568335-1', 'auto');

  ga('send', 'pageview');

</script>

</div>

</div>

<div id="newsletter">

  <h3>Sign up to our Newsletter and keep up to date with all things Trumps!</h3>

  <h2><img src="images/letter-clipart-letter.gif" alt="newsletter" width="150" height="144"></h2>

  <h2>Ultimate Top Trumps</h2>

  <h2><img src="images/uttTitle.png" width="200" height="56" alt="Ultimate Top Trumps"></h2>

  <p>Ultimate Top Trumps is your one stop for all things Trump related. The biggest site of its kind on the web, Ultimate Trumps has to be your first port of call for all collectors and fans.<br>

    Ultimate Trumps also buys collections so if your thinking of selling, then get in contact with the team and see how they can help you make some extra money!</p>

</div>

<script type="text/javascript">

var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});

</script>

</body>

</html>

I am using CS6.

Thanks in advance!

4.0K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Apr 15, 2017 Apr 15, 2017

Image maps are an old school approach.   Most site designers avoid using them because they are not responsive.  Why don't you slice the images in Photoshop and use individual image links?

HTML:

<a href="some_page1.html"><img src="image1.jpg" alt="described"  title="link explained"></a>

<a href="some_page2.html"><img src="image2.jpg" alt="described"  title="link explained"></a>

<a href="some_page3.html"><img src="image3.jpg" alt="described"  title="link explained"></a>

<a href="some_page4.html"><img s

...
Translate
Community Expert ,
Apr 15, 2017 Apr 15, 2017

Image maps are an old school approach.   Most site designers avoid using them because they are not responsive.  Why don't you slice the images in Photoshop and use individual image links?

HTML:

<a href="some_page1.html"><img src="image1.jpg" alt="described"  title="link explained"></a>

<a href="some_page2.html"><img src="image2.jpg" alt="described"  title="link explained"></a>

<a href="some_page3.html"><img src="image3.jpg" alt="described"  title="link explained"></a>

<a href="some_page4.html"><img src="image4.jpg" alt="described"  title="link explained"></a>

CSS:

a img {

     cursor:pointer;

     opacity: 0.8;

}

img a:hover,

img a:focus,

img a:active {opacity: 1.0}

Nancy

Nancy O'Shea— Product User, Community Expert & Moderator
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Apr 16, 2017 Apr 16, 2017

Nancy, yes that seems the more logical way especially as the image mapping is not responsive. I want the site to be viewable on desktop and mobiles.

Thank you Nancy, your a star!!!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Apr 16, 2017 Apr 16, 2017

Nancy,

I have done some of the images but the pointer still shows as an arrow and not a pointing finger.

The css -

img a:hover,

img a:focus,

img a:active {opacity: 1.0}

I dont quite understand as there are not curly braces where is was expecting. Where about in my css does this go and are  the curly braces actually missing or am I missing something obvious?

Thank you!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 16, 2017 Apr 16, 2017
LATEST

By default, hyperlinks will always produce the right cursor.  If it's not working, you have either not linked your images or your code contains errors.  Use the Validation tool to check your document and fix the reported errors.

CC-BugReport.jpg

You should see a green check mark denoting error free code.   If you see a red X, your code has errors that need fixing.

CC-error-indicators.jpg

Nancy

Nancy O'Shea— Product User, Community Expert & Moderator
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines