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

All over and click issues

Participant ,
Dec 23, 2022 Dec 23, 2022

Copy link to clipboard

Copied

I have just noticed that roll over images and clicking said images does not work now. When I click the image to open another page, you go straight to the top of the page. It was fine before I updated to PHP8.0.

Could someone please help with this. I have copied the and pasted a typical page below.

Thanks in advance!

 

<!DOCTYPE HTML><html lang="en">
<head>
<meta name="robots" content="INDEX,FOLLOW">
<meta name="robots" content="noimageindex">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Winning Moves is currently the biggest Trumps producer and have a rich range of popular titles ranging from TV and cinema to popular events such as the 2012 Olympics.">
<meta name="keywords" content="Top Trumps, Winning Moves, STT, berhooz araz, Jacqueline Wilson, Tracy Beaker, Star Wars, Bonecrusher, Bart Simpson, Batista, Arthur Weasley">
 
<title>Super Top Trumps and Supercards</title>
 
<link href="css/table.css" rel="stylesheet" type="text/css" media="screen">
 
<!-- Global site tag (gtag.js) - Google Analytics -->
<script>
 (function () { 
   var e,i=["https://fastbase.com/fscript.js","9nlgqJLAEy","script"],a=document,s=a.createElement(i[2]);
   s.async=!0,s.id=i[1],s.src=i[0],(e=a.getElementsByTagName(i[2])[0]).parentNode.insertBefore(s,e)
 })();
</script>
 
<script type="text/javascript">
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&amp;&amp;i<a.length&amp;&amp;(x=a[i])&amp;&amp;x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
 
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&amp;&amp;parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&amp;&amp;d.all) x=d.all[n]; for (i=0;!x&amp;&amp;i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&amp;&amp;d.layers&amp;&amp;i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x &amp;&amp; d.getElementById) x=d.getElementById(n); return x;
}
 
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.osrc=x.src; x.src=a[i+2];}
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
</script>
</head><body>
    
<div id="wrapper">
    
<button onclick="topFunction()" id="myBtn" title="Go to top">Top</button>
 
<script>
// When the user scrolls down 200px from the top of the document, show the button
window.onscroll = function() {scrollFunction()};
 
function scrollFunction() {
    if (document.body.scrollTop > 200 || document.documentElement.scrollTop > 200) {
        document.getElementById("myBtn").style.display = "block";
    } else {
        document.getElementById("myBtn").style.display = "none";
    }
}
 
// When the user clicks on the button, scroll to the top of the document
function topFunction() {
    document.body.scrollTop = 0;
    document.documentElement.scrollTop = 0;
}
</script>
 
    <div id="breadcrumbs">
<a title="Go back to Home page" href="index.html">Home</a> &bull; Page 1
</div>
    
<div id="banner-logo">
        <img alt="Title" src="images/Title.png">
  </div>
 
<div id="caption">
     <h1>Super Top Trumps, Supercards &amp; Exclusive Cards</h1><h4>page 1</h4>
        <h5>Additional info and special thanks: Marc Brooksbank, Paul Hawkins &amp; Mark Sidwell</h5> 
  </div>
        
        <div class="image_gallery_wrapper" id="backtotop">        
 
<section class="gallery_thumbnail">
<a href="https://store5205056.ecwid.com/"><h2>BUY</h2></a>
<h3 id="30rockefellerca">30 Rockefeller Plaza (2007) (Canada)</h3>
<figure>
<a href="#" onClick="MM_openBrWindow('winning_moves_stts_exclusives/30_rockefeller_plaza_ca.html','','width=320px,height=240px');return false;" onMouseOver="MM_swapImage('30 Rockefeller Plaza Ca','','images/stts/Rockefeller-Plaza-Back2.gif',1)" onMouseOut="MM_swapImgRestore()"><img id="30 Rockefeller Plaza Ca" src="images/stts/Rockefeller-Plaza.gif" alt="30 Rockefeller Plaza Ca"></a> </figure>
<h5>Click the image</h5>
</section>
 
<section class="gallery_thumbnail">
<a href="https://store5205056.ecwid.com/"><h2>BUY</h2></a>
<h3 id="30rockefeller">30 Rockefeller Plaza (2007) (USA)</h3>
<figure>
<a href="#" onClick="MM_openBrWindow('winning_moves_stts_exclusives/30_rockefeller_plaza_us.html','','width=320px,height=300px');return false;" onMouseOver="MM_swapImage('30 Rockefeller Plaza USA','','images/stts/Rockefeller-Plaza-Back.gif',1)" onMouseOut="MM_swapImgRestore()"><img id="30 Rockefeller Plaza USA" src="images/stts/Rockefeller-Plaza.gif" alt="30 Rockefeller Plaza USA"></a> </figure>
<h5>Click the image</h5>
</section>
 
<section class="gallery_thumbnail">
<a href="https://store5205056.ecwid.com/"><h2>BUY</h2></a>
<h3 id="30thingsinscotland">30 Things To Do In Scotland (2015) (England)</h3>
<figure>
<a href="#" onClick="MM_openBrWindow('winning_moves_stts_exclusives/30_things_scotland.html','','width=320px,height=220px')" onMouseOver="MM_swapImage('30 Things to do in Scotland','','images/stts/30_things_scotland_backgif',1)" onMouseOut="MM_swapImgRestore()"><img id="30 Things to do in Scotland" src="images/stts/30_things_scotland.gif" alt="30 Things to do in Scotland"></a> 
  </figure>
<h5>Click the image</h5>
</section>
 
<section class="gallery_thumbnail">
<a href="https://store5205056.ecwid.com/"><h2>BUY</h2></a>
<h3 id="39regtra">39 REGT RA (2007) (England)</h3>
<figure>
<a href="#" onClick="MM_openBrWindow('winning_moves_stts_exclusives/39_regt.html','','width=320 px,height=360px');return false;" onMouseOver="MM_swapImage('39 REGT RA','','images/stts/39-REGT-RA-Back.gif',1)" onMouseOut="MM_swapImgRestore()"><img id="39 REGT RA" src="images/stts/39-REGT-RA.gif" alt="39 REGT RA"></a> </figure>
<h5>Click the image</h5>
</section>
 
<section class="gallery_thumbnail">
<a href="https://store5205056.ecwid.com/"><h2>BUY</h2></a>
<h3 id="2001lambo">2001 Lamborghini Diablo 6.OVT (2007) (The Netherlands)</h3>
<figure>
<a href="#" onClick="MM_openBrWindow('winning_moves_stts_exclusives/2001_lambo_ne.html','','width=320px,height=270px');return false;" onMouseOver="MM_swapImage('2001 Lamborghini Diablo','','images/stts/Sportswagens_STT_back.gif',1)" onMouseOut="MM_swapImgRestore()"><img id="2001 Lamborghini Diablo" src="images/stts/2001_Lamborghini_Diablo.gif" alt="2001 Lamborghini Diablo"></a> 
</figure>
<h5>Click the image</h5>
</section>
 
<section class="gallery_thumbnail">
<a href="https://store5205056.ecwid.com/"><h2>BUY</h2></a>
<h3 id="2002aston">2002 Aston Martin DB7 Vantage Volante (2007) (The Netherlands)</h3>
<figure>
<a href="#" onClick="MM_openBrWindow('winning_moves_stts_exclusives/2002_aston_db7_ne.html','','width=320px,height=270px');return false;" onMouseOver="MM_swapImage('2002 Aston Martin ne','','images/stts/Sportswagens_STT_back.gif',1)" onMouseOut="MM_swapImgRestore()"><img id="2002 Aston Martin ne" src="images/stts/Aston_Martin_DB7-VV.gif" alt="2002 Aston Martin DB7"></a> 
</figure>
<h5>Click the image</h5>
</section>
 
<section class="gallery_thumbnail">
<a href="https://store5205056.ecwid.com/"><h2>BUY</h2></a>
<h3 id="2003pagani">2003 Pagani Zonda S (2005) (The Netherlands)</h3>
<figure>
<a href="#" onClick="MM_openBrWindow('winning_moves_stts_exclusives/2003_pagani_zonda_ne.html','','width=320px,height=330px');return false;" onMouseOver="MM_swapImage('2003 Pagani Zonda ne','','images/stts/Pagani_Dutch_ex.gif',1)" onMouseOut="MM_swapImgRestore()"><img id="2003 Pagani Zonda ne" src="images/stts/Pagani_Dutch.gif" alt="2003 Pagani Zonda ne"></a> 
  </figure>
<h5>Click the image</h5>
</section>
 
<section class="gallery_thumbnail">
<a href="https://store5205056.ecwid.com/"><h2>BUY</h2></a>
<h3 id="2003pagani2">2003 Pagani Zonda S (2003) (England)</h3>
<figure>
<a href="#" onClick="MM_openBrWindow('winning_moves_stts_exclusives/2003_pagani_zonda.html','','width=320px,height=250px');return false;" onMouseOver="MM_swapImage('2003 Pagani Zonda S','','images/stts/Pagani_Zonda_ex.gif',1)" onMouseOut="MM_swapImgRestore()"><img id="2003 Pagani Zonda S" src="images/stts/Pagani_Zonda.gif" alt="2003 Pagani Zonda S"></a>
   </figure>
<h5>Click the image</h5>
</section>
 
<section class="gallery_thumbnail">
<a href="https://store5205056.ecwid.com/"><h2>BUY</h2></a>
<h3 id="6bnreme">6 BN REME (2007/8) (England)</h3>
<figure>
<a href="#" onClick="MM_openBrWindow('winning_moves_stts_exclusives/6_bn_reme.html','','width=320px,height=470px');return false;" onMouseOver="MM_swapImage('6 BN REME','','images/stts/6-BN-REME_ex.gif',1)" onMouseOut="MM_swapImgRestore()"><img id="6 BN REME" src="images/stts/6-BN-REME.gif" alt="6 BN REME"></a> 
</figure>
<h5>Click the image</h5>
</section>
 
<section class="gallery_thumbnail">
<a href="https://store5205056.ecwid.com/"><h2>BUY</h2></a>
<h3 id="aaylasecurade">Aayla Secura (2009) (German)</h3>
<figure>
<a href="#" onClick="MM_openBrWindow('winning_moves_stts_exclusives/aayla_secura_de.html','','width=320px,height=300px');return false;" onMouseOver="MM_swapImage('Aayla Secura de','','images/stts/aayla_secura_DVD_Ger_Back.gif',1)" onMouseOut="MM_swapImgRestore()"><img id="Aayla Secura de" src="images/stts/aayla_secura_DVD_Ger.gif" alt="Aayla Secura de"></a> </figure>
<h5>Click the image</h5>
</section>
 
<section class="gallery_thumbnail">
<a href="https://store5205056.ecwid.com/"><h2>BUY</h2></a>
<h3 id="aaylasecurawool">Aayla Secura (2008) (England)</h3>
<figure>
<a href="#" onClick="MM_openBrWindow('winning_moves_stts_exclusives/aayla_secura_wool.html','','width=320px,height=260px');return false;" onMouseOver="MM_swapImage('Aayla Secura Wool','','images/stts/aayla_secura_back.gif',1)" onMouseOut="MM_swapImgRestore()"><img id="Aayla Secura Wool" src="images/stts/aayla_secura_gen.gif" alt="Aayla Secura Wool"></a>
  </figure>
<h5>Click the image</h5>
</section>
   
<section class="gallery_thumbnail">
<a href="https://store5205056.ecwid.com/"><h2>BUY</h2></a>       
<h3 id="aaylasecura">Aayla Secura (2008) (USA)</h3>
<figure>
<a href="#" onClick="MM_openBrWindow('winning_moves_stts_exclusives/aayla_secura_dvd_us.html','','width=320px,height=250px');return false;" onMouseOver="MM_swapImage('Aayla Secura us2','','images/stts/aayla_secura_DVD_back.gif',1)" onMouseOut="MM_swapImgRestore()"><img id="Aayla Secura us2" src="images/stts/aayla_secura_gen.gif" alt="Aayla Secura us2"></a>
</figure>
<h5>Click the image</h5>
</section>
   
<section class="gallery_thumbnail">
<a href="https://store5205056.ecwid.com/"><h2>BUY</h2></a>          
<h3 id="aaylasecura2">Aayla Secura (2008) (USA)</h3>
<figure>
<a href="#" onClick="MM_openBrWindow('winning_moves_stts_exclusives/aayla_secura_usa.html','','width=320px,height=220px');return false;" onMouseOver="MM_swapImage('Aayla Secura USA','','images/stts/aayla_secura_gen_back.gif',1)" onMouseOut="MM_swapImgRestore()"><img id="Aayla Secura USA" src="images/stts/aayla_secura_gen.gif" alt="Aayla Secura USA"></a>
  </figure>
<h5>Click the image</h5>
</section>
               
<section class="gallery_thumbnail">
<a href="https://store5205056.ecwid.com/"><h2>BUY</h2></a>
<h3 id="aaylasecurafao">Aayla Secura (2008) (USA)</h3>
<figure>
<a href="#" onClick="MM_openBrWindow('winning_moves_stts_exclusives/aayla_secura_fao_schwartz.html','','width=320px,height=310px');return false;" onMouseOver="MM_swapImage('Aayla Secura Schwartz','','images/stts/aayla_secura_us_ex.gif',1)" onMouseOut="MM_swapImgRestore()"><img id="Aayla Secura Schwartz" src="images/stts/aayla_secura_gen.gif" alt="Aayla Secura Schwartz"></a>
  </figure>
<h5>Click the image</h5>
</section>
             
<section class="gallery_thumbnail">
<a href="https://store5205056.ecwid.com/"><h2>BUY</h2></a>
<h3 id="ac302mkivcrs">AC 302 MKIV CRS (2007) (German)</h3>
<figure>
<a href="#" onClick="MM_openBrWindow('winning_moves_stts_exclusives/ac_302_mkiv_crs.html','','width=320px,height=300px');return false;" onMouseOver="MM_swapImage('AC 302 MKIV CRS','','images/stts/Sportswagens_STT_back.gif',1)" onMouseOut="MM_swapImgRestore()"><img id="AC 302 MKIV CRS" src="images/stts/AC-302-MKIV-CRS.gif" alt="AC 302 MKIV CRS"></a>
</figure>
<h5>Click the image</h5>
</section>
 
<section class="gallery_thumbnail">
<a href="https://store5205056.ecwid.com/"><h2>BUY</h2></a>
<h3 id="adelaideoval">Adelaide Oval (2014) (Australia)</h3>
<figure>
<a href="#" onClick="MM_openBrWindow('winning_moves_stts_exclusives/adelaide_oval.html','','width=320px,height=260px');return false" onMouseOver="MM_swapImage('Adelaide Oval','','images/stts/adeliade_oval_back.gif',1)" onMouseOut="MM_swapImgRestore()"><img id="Adelaide Oval" src="images/stts/adelaide_oval.gif" alt="Adelaide Oval"></a> </figure>
<h5>Click the image</h5>
</section>
 
<section class="gallery_thumbnail">
<a href="https://store5205056.ecwid.com/"><h2>BUY</h2></a>
<h3 id="aerialtram">Aerial Tram Palm Springs (2022) (USA)</h3>
<figure>
<a href="#" onClick="MM_openBrWindow('winning_moves_stts_exclusives/aerial_tram_palm_springs.html','','width=320px,height=240px');return false" onMouseOver="MM_swapImage('Aerial Tram Palm Springs','','images/stts/aerial_tram_palm_springs_back.gif',1)" onMouseOut="MM_swapImgRestore()"><img id="Aerial Tram Palm Springs" src="images/stts/aerial_tram_palm_springs.gif" alt="Aerial Tram Palm Springs"></a> </figure>
<h5>Click the image</h5>
</section>
 
<section class="gallery_thumbnail">
<a href="https://store5205056.ecwid.com/"><h2>BUY</h2></a>
<h3 id="africanlionwhite">African Lion (2007) (USA)</h3>
<figure>
<a href="#" onClick="MM_openBrWindow('winning_moves_stts_exclusives/african_lion_white.html','','width=320px,height=200px');return false" onMouseOver="MM_swapImage('African Lion (White border)','','images/stts/african_lion_white_back.gif',1)" onMouseOut="MM_swapImgRestore()"><img id="African Lion (White border)" src="images/stts/african_lion_white.gif" alt="African Lion (White border)"></a> </figure>
<h5>Click the image</h5>
</section>
 
<section class="gallery_thumbnail">
<a href="https://store5205056.ecwid.com/"><h2>BUY</h2></a>
<h3 id="africanlionblue">African Lion (2007) (USA)</h3>
<figure>
<a href="#" onClick="MM_openBrWindow('winning_moves_stts_exclusives/african_lion_blue.html','','width=320px,height=240px');return false" onMouseOver="MM_swapImage('African Lion (Blue border)','','images/stts/african_lion_blue_back.gif',1)" onMouseOut="MM_swapImgRestore()"><img id="African Lion (Blue border)" src="images/stts/african_lion_blue.gif" alt="African Lion (Blue border)"></a> </figure>
<h5>Click the image</h5>
</section>
               
<section class="gallery_thumbnail">
<a href="https://store5205056.ecwid.com/"><h2>BUY</h2></a>
<h3 id="africanpenguin">African Penguin (2007) (USA)</h3>
<figure>
<a href="#" onClick="MM_openBrWindow('winning_moves_stts_exclusives/african_penguin.html','','width=320px,height=200px');return false;" onMouseOver="MM_swapImage('African Penguin','','images/stts/Leatherback-Sea-Turtle_Back.gif',1)" onMouseOut="MM_swapImgRestore()"><img id="African Penguin" src="images/stts/African-Penguin.gif" alt="African Penguin"></a> </figure>
<h5>Click the image</h5>
</section>
             
<section class="gallery_thumbnail">
<a href="https://store5205056.ecwid.com/"><h2>BUY</h2></a>
<h3 id="africanwilddog">African Wild Dog (2007) (USA)</h3>
<figure>
<a href="#" onClick="MM_openBrWindow('winning_moves_stts_exclusives/african_wild_dog.html','','width=320px,height=250px');return false;" onMouseOver="MM_swapImage('African Wild Dog','','images/stts/African-Wild-Dog-Back.gif',1)" onMouseOut="MM_swapImgRestore()"><img id="African Wild Dog" src="images/stts/African-Wild-Dog.gif" alt="African Wild Dog"></a>
  </figure>
<h5>Click the image</h5>
</section>
              
<section class="gallery_thumbnail">
<a href="https://store5205056.ecwid.com/"><h2>BUY</h2></a>
<h3 id="agent3">Agent E (2011) (USA)</h3>
<figure>
<a href="#" onClick="MM_openBrWindow('winning_moves_stts_exclusives/agent_e.html','','width=320px,height=200px');return false;" onMouseOver="MM_swapImage('Agent E','','images/stts/agent_e_back.gif',1)" onMouseOut="MM_swapImgRestore()"><img id="Agent E" src="images/stts/agent_e.gif" alt="Agent E"></a>
</figure>
<h5>Click the image</h5>
</section>
              
<section class="gallery_thumbnail">
<a href="https://store5205056.ecwid.com/"><h2>BUY</h2></a>
<h3 id="ahsokatano">Ahsoka Tano (2008) (German)</h3>
<figure>
<a href="#" onClick="MM_openBrWindow('winning_moves_stts_exclusives/ahsoka_tano_de.html','','width=320px,height=250px');return false;" onMouseOver="MM_swapImage('Ahsoka Tano de','','images/stts/Ahsoka_Tano_ex.gif',1)" onMouseOut="MM_swapImgRestore()"><img id="Ahsoka Tano de" src="images/stts/Ahsoka_Tano.gif" alt="Ahsoka Tano de"></a>
</figure>
<h5>Click the image</h5>
</section>
 
<section class="gallery_thumbnail">
<a href="https://store5205056.ecwid.com/"><h2>BUY</h2></a>
<h3 id="ahsokatano2">Ahsoka Tano (2009) (German)</h3>
<figure>
<a href="winning_moves_stts_exclusives/ahsoka_tano_de_cereal.html"><img src="images/stts/Ahsoka_Tano_cereal.gif" alt="Ahsoka Tano" onClick="MM_openBrWindow('winning_moves_stts_exclusives/ahsoka_tano_de_cereal.html','','menubar=yes,width=320px,height=250px');return false;" img></a>
</figure>
<h5>Click the image</h5>
</section>
 
<section class="gallery_thumbnail">
<a href="https://store5205056.ecwid.com/"><h2>BUY</h2></a>
<h3 id="airhoptrampolinepark">Airhop Trampoline Park (2016) (England)</h3>
<a href="#" onClick="MM_openBrWindow('winning_moves_stts_exclusives/airhop_trampoline.html','','width=320px,height=260px');return false" onMouseOver="MM_swapImage('Airhop Trampoline Park','','images/stts/airhop_trampoline_park_back.gif',1)" onMouseOut="MM_swapImgRestore()"><img id="Airhop Trampoline Park" src="images/stts/airhop_trampoline_park.gif" alt="Airhop Trampoline Park"></a>
<figure></figure>
<h5>Click the image</h5>
</section>
 
<section class="gallery_thumbnail">
<a href="https://store5205056.ecwid.com/"><h2>BUY</h2></a>
<h3 id="albion4burnley0">Albion 4 Burnley 0 (2016) (England)</h3>
<figure>
<a href="#" onClick="MM_openBrWindow('winning_moves_stts_exclusives/albion4_burnley0.html','','width=320px,height=230px');return false" onMouseOver="MM_swapImage('Albion 4 Burnley 0','','images/stts/wba_back.gif',1)" onMouseOut="MM_swapImgRestore()"><img id="Albion 4 Burnley 0" src="images/stts/albion_4_burnley_0.gif" alt="Albion 4 Burnley 0"></a> </figure>
<h5>Click the image</h5>
</section>
 
<section class="gallery_thumbnail">
<a href="https://store5205056.ecwid.com/"><h2>BUY</h2></a>
<h3 id="albion4westham2">Albion 4 West Ham United 2 (2016) (England)</h3>
<figure>
<a href="#" onClick="MM_openBrWindow('winning_moves_stts_exclusives/albion4_west_ham_2.html','','width=320px,height=260px');return false" onMouseOver="MM_swapImage('Albion 4 West Ham 2','','images/stts/wba_back.gif',1)" onMouseOut="MM_swapImgRestore()"><img id="Albion 4 West Ham 2" src="images/stts/albion_4_west_ham_2.gif" alt="Albion 4 West Ham 2"></a> </figure>
<h5>Click the image</h5>
</section>
               
<section class="gallery_thumbnail">
<a href="https://store5205056.ecwid.com/"><h2>BUY</h2></a>
<h3 id="aleksandrkarelin">Aleksandr Karelin (2012) (England)</h3>
<figure>
<a href="#" onClick="MM_openBrWindow('winning_moves_stts_exclusives/aleksandr_karelin.html','','width=320px,height=250px');return false;" onMouseOver="MM_swapImage('Aleksandr Karelin','','images/stts/Seb-Coe-back.gif',1)" onMouseOut="MM_swapImgRestore()"><img id="Aleksandr Karelin" src="images/stts/Aleksandr.gif" alt="Aleksandr Karelin"></a>
</figure>
<h5>Click the image</h5>
</section>
           
<section class="gallery_thumbnail">
<a href="https://store5205056.ecwid.com/"><h2>BUY</h2></a>
<h3 id="alexabliss">Alexa Bliss (2017) (England)</h3>
<figure>
<a href="#" onClick="MM_openBrWindow('winning_moves_stts_exclusives/alexa_bliss.html','','width=320px,height=280px');return false"  onMouseOver="MM_swapImage('Alexa Bliss','','images/stts/alexa_bliss_back.gif',1)" onMouseOut="MM_swapImgRestore()"><img id="Alexa Bliss" src="images/stts/alexa_bliss.gif" alt="Alexa Bliss"></a> </figure>
<h5>Click the image</h5>
</section>           
              
<section class="gallery_thumbnail">
<a href="https://store5205056.ecwid.com/"><h2>BUY</h2></a>
<h3 id="alleniverson">Allen Iverson (2007) (England)</h3>
<figure>
<a href="#" onClick="MM_openBrWindow('winning_moves_stts_exclusives/allen_iverson.html','','width=320px,height=220px');return false;" onMouseOver="MM_swapImage('Allen Iverson','','images/stts/NBA-Back.gif',1)" onMouseOut="MM_swapImgRestore()"><img id="Allen Iverson" src="images/stts/Allen-Iverson.gif" alt="Allen Iverson"></a> 
</figure>
<h5>Click the image</h5>
</section>
               
<section class="gallery_thumbnail">
<a href="https://store5205056.ecwid.com/"><h2>BUY</h2></a>
<h3 id="amarestoudemire">Amare Stoudemire (c. 2007) (USA)</h3>
<figure>
<a href="#" onClick="MM_openBrWindow('winning_moves_stts_exclusives/amare_stoudemire.html','','width=320px,height=270px');return false;" onMouseOver="MM_swapImage('Amare Stoudemire','','images/stts/US-NBA-Booster-Back.gif',1)" onMouseOut="MM_swapImgRestore()"><img id="Amare Stoudemire" src="images/stts/Amare-Stoudemire.gif" alt="Amare Stoudemire"></a>
</figure>
<h5>Click the image</h5>
</section>
               
<section class="gallery_thumbnail">
<a href="https://store5205056.ecwid.com/"><h2>BUY</h2></a>
<h3 id="amosdiggory">Amos Diggory (2005) (England)</h3>
<figure>
<a href="#" onClick="MM_openBrWindow('winning_moves_stts_exclusives/amos_diggory.html','','width=320px,height=390px');return false;" onMouseOver="MM_swapImage('Amos Diggory','','images/stts/Amos_Diggory_ex.gif',1)" onMouseOut="MM_swapImgRestore()"><img id="Amos Diggory" src="images/stts/Amos_Diggory.gif" alt="Amos Diggory"></a>
</figure>
<h5>Click the image</h5>
</section>
 
<section class="gallery_thumbnail">
<a href="https://store5205056.ecwid.com/"><h2>BUY</h2></a>
<h3 id="ampleforth">Ampleforth (2011)</h3>
<figure>
<a href="#" onClick="MM_openBrWindow('../../winning_moves_stts_exclusives/ampleforth.html','','width=320px,height=230px');return false" ><img alt="Amplforth" src="images/no-title-card.gif"></a>
</figure>
<h5>Click the image</h5>
</section>
 
<section class="gallery_thumbnail">
<a href="https://store5205056.ecwid.com/"><h2>BUY</h2></a>
<h3 id="amurleopard">Amur Leopard (2020) (England)</h3>
<figure>
<a href="#" onClick="MM_openBrWindow('winning_moves_stts_exclusives/amur_leopard.html','','menubar=yes,width=320px,height=250px');return false;" onMouseOver="MM_swapImage('Amur Leopard','','images/stts/amur_lepoard_back.gif',1)" onMouseOut="MM_swapImgRestore()"><img id="Amur Leopard" src="images/stts/amur_leopard.gif" alt="Amur Leopard"></a> </figure>
<h5>Click the image</h5>
</section>
 
<section class="gallery_thumbnail">
<a href="https://store5205056.ecwid.com/"><h2>BUY</h2></a>
<h3 id="amx50">AMX 50 (2019) (French)</h3>
<figure>
<a href="#" onClick="MM_openBrWindow('winning_moves_stts_exclusives/amx_50.html','','menubar=yes,width=320px,height=200px');return false" onMouseOver="MM_swapImage('AMX 50','','images/stts/amx_50_back.gif',1)" onMouseOut="MM_swapImgRestore()"><img id="AMX 50" src="images/stts/amx_50.gif" alt="AMX 50"></a>
</figure>
<h5>Click the image</h5>
</section>
              
<section class="gallery_thumbnail">
<a href="https://store5205056.ecwid.com/"><h2>BUY</h2></a>
<h3 id="amypond">Amy Pond (2012) (England)</h3>
<figure>
<a href="#" onClick="MM_openBrWindow('winning_moves_stts_exclusives/amy_pond.html','','menubar=yes,width=320px,height=200px');return false" onMouseOver="MM_swapImage('Amy Pond','','images/stts/amy_pond_back.gif',1)" onMouseOut="MM_swapImgRestore()"><img id="Amy Pond" src="images/stts/amy_pond.gif" alt="Amy Pond"></a>
</figure>
<h5>Click the image</h5>
</section>
              
<section class="gallery_thumbnail">
<a href="https://store5205056.ecwid.com/"><h2>BUY</h2></a>
<h3 id="anakinskywalker">Anakin Skywalker (2004) (England)</h3>
<figure>
<a href="#" onClick="MM_openBrWindow('winning_moves_stts_exclusives/anakin_skywalker.html','','width=320px,height=260px');return false;" onMouseOver="MM_swapImage('Anakin Skywalker','','images/stts/Anakin_Skywalker_ex.gif',1)" onMouseOut="MM_swapImgRestore()"><img id="Anakin Skywalker" src="images/stts/Anakin_Skywalker.gif" alt="Anakin Skywalker"></a>
</figure>
<h5>Click the image</h5>
</section>
             
<section class="gallery_thumbnail">
<a href="https://store5205056.ecwid.com/"><h2>BUY</h2></a>
<h3 id="anakinskywlakerde">Anakin Skywalker (2008) (Germany)</h3>
<figure>
<a href="#" onClick="MM_openBrWindow('winning_moves_stts_exclusives/anakin_skywalker_de.html','','width=320px,height=220px');return false;" onMouseOver="MM_swapImage('Anakin Skywalker de','','images/stts/Anakin_Skywalker_de_ex.gif',1)" onMouseOut="MM_swapImgRestore()"><img id="Anakin Skywalker de" src="images/stts/Anakin_Skywalker_de.gif" alt="Anakin Skywalker de"></a>
</figure>
<h5>Click the image</h5>
</section>
 
<section class="gallery_thumbnail">
<a href="https://store5205056.ecwid.com/"><h2>BUY</h2></a>
<h3 id="andeancondor">Andean Condor (2020) (England)</h3>
<figure>
<a href="#" onClick="MM_openBrWindow('winning_moves_stts_exclusives/andean_condor.html','','menubar=yes,width=320px,height=190px');return false;" onMouseOver="MM_swapImage('Andean Condor','','images/stts/hawk_trust_rear.gif',1)" onMouseOut="MM_swapImgRestore()"><img id="Andean Condor" src="images/stts/andean_condor.gif" alt="Andean Condor"></a> </figure>
<h5>Click the image</h5>
</section>
 
<section class="gallery_thumbnail">
<a href="https://store5205056.ecwid.com/"><h2>BUY</h2></a>
<h3 id="angelshark">Angel Shark (2018) (England)</h3>
<figure>
<a href="#" onClick="MM_openBrWindow('winning_moves_stts_exclusives/angel_shark.html','','menubar=yes,width=320px,height=220px');return false" onMouseOver="MM_swapImage('Angel Shark','','images/stts/angel_shark_back.gif',1)" onMouseOut="MM_swapImgRestore()"><img id="Angel Shark" src="images/stts/angel_shark.gif" alt="Angel Shark"></a></figure>
<h5>Click the image</h5>
</section>
 
<section class="gallery_thumbnail">
<a href="https://store5205056.ecwid.com/"><h2>BUY</h2></a>
<h3 id="animalkeeper2">Animal Keeper (2017) (England)</h3>
<figure>
<a href="#" onClick="MM_openBrWindow('winning_moves_stts_exclusives/animal_keeper_colchester.html','','width=320px,height=230px');return false" onMouseOver="MM_swapImage('Animal Keeper (Colchester Zoo)','','images/stts/animalkeepercol_back.gif',1)" onMouseOut="MM_swapImgRestore()"><img id="Animal Keeper (Colchester Zoo)" src="images/stts/animalkeepercol.gif" alt="Animal Keeper (Colchester Zoo)"></a> </figure>
<h5>Click the image</h5>
</section>
 
<section class="gallery_thumbnail">
<a href="https://store5205056.ecwid.com/"><h2>BUY</h2></a>
<h3 id="animalkeeper">Animal Keeper (2016) (England)</h3>
<figure>
<a href="#" onClick="MM_openBrWindow('winning_moves_stts_exclusives/animal_keeper_longleat.html','','width=320px,height=230px');return false" onMouseOver="MM_swapImage('Animal Keeper (Longleat)','','images/stts/animal_keeper_back.gif',1)" onMouseOut="MM_swapImgRestore()"><img id="Animal Keeper (Longleat)" src="images/stts/animal_keeper.gif" alt="Animal Keeper (Longleat)"></a> </figure>
<h5>Click the image</h5>
</section>
 
<section class="gallery_thumbnail">
<a href="https://store5205056.ecwid.com/"><h2>BUY</h2></a>
<h3 id="anna">Anna (2015) (England)</h3>
<figure>
<a href="#" onClick="MM_openBrWindow('winning_moves_stts_exclusives/anna.html','','width=320px,height=240px');return false" onMouseOver="MM_swapImage('Anna','','images/stts/anna_back.gif',1)" onMouseOut="MM_swapImgRestore()"><img id="Anna" src="images/stts/anna.gif" alt="Anna"></a> </figure>
<h5>Click the image</h5>
</section>
              
<section class="gallery_thumbnail">
<a href="https://store5205056.ecwid.com/"><h2>BUY</h2></a>
<h3 id="antoinethealligator">Antoine The American Alligator (2008) (USA)</h3>
<figure>
<a href="#" onClick="MM_openBrWindow('winning_moves_stts_exclusives/antoine_the_alligator.html','','width=320px,height=250px');return false;" onMouseOver="MM_swapImage('Antoine The Alligator','','images/stts/Antoine-back.gif',1)" onMouseOut="MM_swapImgRestore()"><img id="Antoine The Alligator" src="images/stts/Antoine.gif" alt="Antoine The Alligator"></a>
</figure>
<h5>Click the image</h5>
</section>
 
<section class="gallery_thumbnail">
<a href="https://store5205056.ecwid.com/"><h2>BUY</h2></a>
<h3 id="applejack">Applejack (2014) (England)</h3>
<figure>
<a href="#" onClick="MM_openBrWindow('winning_moves_stts_exclusives/applejack.html','','width=320px,height=240px');return false" onMouseOver="MM_swapImage('Applejack','','images/stts/applejack_back.gif',1)" onMouseOut="MM_swapImgRestore()"><img id="Applejack" src="images/stts/applejack.gif" alt="Applejack"></a> </figure>
<h5>Click the image</h5>
</section>
 
<section class="gallery_thumbnail">
<a href="https://store5205056.ecwid.com/"><h2>BUY</h2></a>
<h3 id="arcee">Arcee (c. 2009) (USA)</h3>
<figure>
<a href="#" onClick="MM_openBrWindow('winning_moves_stts_exclusives/arcee.html','','width=320px,height=330px');return false" onMouseOver="MM_swapImage('Arcee','','images/stts/Arcee-Back.gif',1)" onMouseOut="MM_swapImgRestore()"><img id="Arcee" src="images/stts/Arcee.gif" alt="Arcee"></a> </figure>
<h5>Click the image</h5>
</section>   
 
<section class="gallery_thumbnail">
<a href="https://store5205056.ecwid.com/"><h2>BUY</h2></a>
<h3 id="archeysfrog">Archey's Frog (c. 2008) (New Zealand)</h3>
<figure>
<a href="#" onClick="MM_openBrWindow('winning_moves_stts_exclusives/archeys_frog.html','','width=320px,height=200px');return false" onMouseOver="MM_swapImage('Archeys Frog','','images/stts/Archeys_back.gif',1)" onMouseOut="MM_swapImgRestore()"><img id="Archeys Frog" src="images/stts/Archeys.gif" alt="Archey's Frog"></a> </figure>
<h5>Click the image</h5>
</section>
               
<section class="gallery_thumbnail">
<a href="https://store5205056.ecwid.com/"><h2>BUY</h2></a>
<h3 id="arthurweasley">Arthur Weasley (2007) (England)</h3>
<figure>
<a href="#" onClick="MM_openBrWindow('winning_moves_stts_exclusives/arthur_weasley.html','','width=320px,height=350px');return false;" onMouseOver="MM_swapImage('Arthur Weasley','','images/stts/Arthur-Weasley-Back.gif',1)" onMouseOut="MM_swapImgRestore()"><img id="Arthur Weasley" src="images/stts/Arthur-Weasley.gif" alt="Arthur Weasley"></a>
</figure>
<h5>Click the image</h5>
</section> 
 
</div>
<!-- end image_gallery_wrapper --> 
 
<div id="pages">
 
<a href="winning_moves_stts_exclusives_1.html">1</a> 
<a href="winning_moves_stts_exclusives_2.html">2</a> 
<a href="winning_moves_stts_exclusives_3.html">3</a> 
<a href="winning_moves_stts_exclusives_4.html">4</a>
<a href="winning_moves_stts_exclusives_5.html">5</a>
<a href="winning_moves_stts_exclusives_6.html">6</a>
<a href="winning_moves_stts_exclusives_7.html">7</a>
<a href="winning_moves_stts_exclusives_8.html">8</a>
<a href="winning_moves_stts_exclusives_9.html">9</a>
<a href="winning_moves_stts_exclusives_10.html">10</a>
<a href="winning_moves_stts_exclusives_11.html">11</a>
<a href="winning_moves_stts_exclusives_12.html">12</a>
<a href="winning_moves_stts_exclusives_13.html">13</a>
    <a href="winning_moves_stts_exclusives_14.html">14</a>
<a href="winning_moves_stts_exclusives_15.html">15</a>
 
</div>
 
<div id="search">
 
<!-- start of search box html -->
<table>
<tr>
<td>
<table>
<tr>
</tr>
</table>
<form style="margin:0px; margin-top:4px;" action="http://search.freefind.com/find.html" method="get" accept-charset="utf-8" target="_self">
<input type="hidden" name="si" value="65781838">
<input type="hidden" name="pid" value="r">
<input type="hidden" name="n" value="0">
<input type="hidden" name="_charset_" value="">
<input type="hidden" name="bcd" value="&amp;#247;">
<input type="text" name="query" size="15"> 
<input type="submit" value="search">
</form>
</td>
</tr>
</table>
<!-- end of search-->
 
</div>
<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].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><br>
 
 <div id="foot">
    &copy; 2005 - 2022 Ultimate Top Trumps. All rights reserved</div>
</div>
 
</body>
 
</html>

Views

337

Translate

Translate

Report

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

LEGEND , Dec 28, 2022 Dec 28, 2022

The javascript blocks seem to be corrupt (according to what I have found by Googling the Dreamweaver functions) or some of them are:

 

Look at how the the correct formatting should be for the MM_swapImgRestore function:

Note the multiple occurrences of &&

 

function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++)
x.src=x.oSrc;
}

 

As opposed to how your code is formatted: Note the multiple occurrences of &amp;&amp;

 

function MM_swapImgRestore() { //
...

Votes

Translate

Translate
Community Expert ,
Dec 23, 2022 Dec 23, 2022

Copy link to clipboard

Copied

Those legacy Macromedia rollovers are entirely JavaScript driven.  And I see no PHP code here.  So the server's PHP version would have zero effect on your rollovers. 

 

What's the URL to your problem page online?

 

 

Nancy O'Shea— Product User, Community Expert & Moderator

Votes

Translate

Translate

Report

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 ,
Dec 28, 2022 Dec 28, 2022

Copy link to clipboard

Copied

Hi Nancy,

 

The link is https://ultimate-top-trumps.co.uk/winning_moves_stts_exclusives_1.html

 

Thank you in advance

 

Votes

Translate

Translate

Report

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
LEGEND ,
Dec 28, 2022 Dec 28, 2022

Copy link to clipboard

Copied

quote

Hi Nancy,

 

The link is https://ultimate-top-trumps.co.uk/winning_moves_stts_exclusives_1.html

 

Thank you in advance

 


By @nigelh70638339

 

 

There is something corrupt with the below blocks of javascript (see marked in red below) BUT I have no idea what as I dont do javascript created by Dreamweaver. If you comment the code marked in red out or temporarily remove it then the last function - MM_openBrWindow - works as expected.

 

Do you have a previous page where the javascript is working which you can compare?

 

<script type="text/javascript">
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&amp;&amp;i<a.length&amp;&amp;(x=a[i])&amp;&amp;x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
 
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&amp;&amp;parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&amp;&amp;d.all) x=d.all[n]; for (i=0;!x&amp;&amp;i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&amp;&amp;d.layers&amp;&amp;i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x &amp;&amp; d.getElementById) x=d.getElementById(n); return x;
}
 
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.osrc=x.src; x.src=a[i+2];}
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
</script>

Votes

Translate

Translate

Report

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
LEGEND ,
Dec 28, 2022 Dec 28, 2022

Copy link to clipboard

Copied

The javascript blocks seem to be corrupt (according to what I have found by Googling the Dreamweaver functions) or some of them are:

 

Look at how the the correct formatting should be for the MM_swapImgRestore function:

Note the multiple occurrences of &&

 

function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++)
x.src=x.oSrc;
}

 

As opposed to how your code is formatted: Note the multiple occurrences of &amp;&amp;

 

function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&amp;&amp;i<a.length&amp;&amp;(x=a[i])&amp;&amp;x.oSrc;i++)
x.src=x.oSrc;
}

 

The incorrect formating is enough to stop everything working.

Votes

Translate

Translate

Report

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 ,
Dec 29, 2022 Dec 29, 2022

Copy link to clipboard

Copied

LATEST

Thanks Osgood! Seeing that made me remember that I searched for & symbols and added the amp; after seeing issues that showed up in red in Dreamweaver. This led to loads of errors and this one being just one of them!

Bad HTML coding on my part!

Thanks again!

Votes

Translate

Translate

Report

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