The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

WIDGET ISSUE

View previous topic View next topic Go down

WIDGET ISSUE

Post by S.A.H. on February 7th 2013, 10:43 am

I need help I have a widget I would like to install where when I hover over the bottom images the top one changes, it worked till I added two new people onto it...now it won't hover please help

Code:
<center><img src="http://i1208.photobucket.com/albums/cc365/AlexxErmxWtf/Staff-1_zpse0caed6a.png" border="0" alt="" /></center><div style="margin:auto;text-align:center;width:100%"><div style="text-align: center;"><img name="showperson" style="border: 0px
    black solid;" src="http://i1208.photobucket.com/albums/cc365/AlexxErmxWtf/hover-4_zps1b3ecbbc.png" align="middle" border="1" height="204px" width="154px">

   
    <br></div>

    <script type="text/javascript">
    <!--
    // copyright 1998 Idocs, Inc. http://www.idocs.com/tags/
    // Distribute this script freely, but please keep this
    // notice with the code.

    // var image information object
    var mloi=new Object();

    // set the image for swapping
    function setswap()
    {
    if (! document.images)return;
    var imgInfo=new Object();
    imgInfo.defaultImg = new Image();
    imgInfo.defaultImg.src = document.images[arguments[0]].src;
    imgInfo.opts = new Object();
    for (var i=1; i < arguments.length; i=i+2)
      {
      imgInfo.opts[arguments[i]]=new Image();
      imgInfo.opts[arguments[i]].src = arguments[i+1];
      }
    mloi[arguments[0]] = imgInfo;
    }

    // set up the link for swapping
    function swap(link,imgName,optName)
    {
    if (! document.images)return;
    if (! link.swapReady)
      {
      link.imgName    = imgName;
      link.onmouseout = swapBack;
      link.swapReady  = true;
      }
    document.images[imgName].src=mloi[imgName].opts[optName].src;
    }

    function swapBack()
      {document.images[this.imgName].src=mloi[this.imgName].defaultImg.src}

    //-->
    </script><script type="text/javascript">
    setswap("showperson",
    'Mugen',
    'http://i1208.photobucket.com/albums/cc365/AlexxErmxWtf/Mugen_zpsb1096fdf.png',
    'Cypher',
    'http://i1208.photobucket.com/albums/cc365/AlexxErmxWtf/Ceph_zpsdf01fda3.png',
    'Kotone',
    'http://i1208.photobucket.com/albums/cc365/AlexxErmxWtf/Kotone_zpsdb746004.png',
    'Nakara',
    'http://i1208.photobucket.com/albums/cc365/AlexxErmxWtf/Nakara_zpscab51298.png'),
    'Ray',
    'http://i1208.photobucket.com/albums/cc365/AlexxErmxWtf/Ray_zps538bf93d.png'),
    'Naomi',
    'http://i1208.photobucket.com/albums/cc365/AlexxErmxWtf/Naomi_zps79c9a81f.png');
    //
    </script>
   

    <div style="text-align: center;"><a onmouseover="swap(this,'showperson','Mugen')" href="http://midnightacademy.omgforum.net/u1"><img alt="Founder." style="border: 0px black solid; height: 54px; width: 54px;" src="http://i1208.photobucket.com/albums/cc365/AlexxErmxWtf/MugenRound_zps82e27caf.png" border="1"></a><a onmouseover="swap(this,'showperson','Cypher')" href="http://midnightacademy.omgforum.net/u5"><img alt="Second Charge" style="border: 0px black solid; height: 54px; width: 54px;" src="http://i1208.photobucket.com/albums/cc365/AlexxErmxWtf/CypherRound_zps87bb9788.png" border="1"></a><a onmouseover="swap(this,'showperson','Kotone')" href="http://midnightacademy.omgforum.net/u8"><img alt="third charge." style="border: 0px black solid; height: 54px; width: 54px;" src="http://i1208.photobucket.com/albums/cc365/AlexxErmxWtf/KotoneRound_zpsa8519c71.png" border="1"></a><a onmouseover="swap(this,'showperson','Nakara')" href="http://midnightacademy.omgforum.net/u3"><img alt="Global Mod 1." style="border: 0px black solid; height: 54px; width: 54px;" src="http://i1208.photobucket.com/albums/cc365/AlexxErmxWtf/NakaraRound_zpsad34d1f8.png" border="1"></a><a onmouseover="swap(this,'showperson','Ray')" href="http://midnightacademy.omgforum.net/u9"><img alt="Global Mod 2." style="border: 0px black solid; height: 54px; width: 54px;" src="http://i1208.photobucket.com/albums/cc365/AlexxErmxWtf/RayRound_zps55e47331.png" border="1"></a><a onmouseover="swap(this,'showperson','Naomi')" href="http://midnightacademy.omgforum.net/u6"><img alt="Chatbox Mod 1." style="border: 0px black solid; height: 54px; width: 54px;" src="http://i1208.photobucket.com/albums/cc365/AlexxErmxWtf/NaomiRound_zps1ff31110.png" border="1"></a></div></div></div>

Site:http://midnightacademy.omgforum.net/

S.A.H.
New Member

Posts : 4
Reputation : 1
Language : english

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum