Staff Widget Problems?!

Go down

Staff Widget Problems?!

Post by NewFoundStories on July 16th 2017, 3:43 am

Technical Details

Forum version : #phpBB2
Position : Founder
Concerned browser(s) : Mozilla Firefox, Google Chrome, Internet Explorer, Opera, Safari
Screenshot of problem : ,
Who the problem concerns : All members
When the problem appeared : 7/15/2017
Forum link :

Description of problem

Alrighty, so heres whats going on. I made this code many moons ago for another site I was on, and decided I wanted to reuse this bad boy. But I lost the actual saved page (as my computer crashed) and when back to said site in question to re-grab the code. But the thing is, and I can't figure this out for the life of me,

The pictures and words aren't going in the proper spots, as you can see with the screen shots the hover image is ontop where the banner is, the name of the staff members, much to low. (It should look like this; )

However it doesn't. I have the full code here;

<div class="customwidg">
   <div class="otms">
      <div style="text-shadow: 0px 0px 1px #000000; font-family: Nixie One; text-transform: uppercase; font-size: 25px; font-weight: bold;">
                                                           <span style="color: #ebb87d;"> STAFF TEAM,</span>                                             
         <div style="margin-top: 190px; border-bottom: 1px dotted #e1e1e1; font-family:Calibri; font-size:11px; color:#e1e1e1; text-transform:uppercase; text-align:justify; padding:5px; letter-spacing:1; line-height:1;">
                                        <script type="text/javascript">

// copyright 1998 Idocs, Inc.
// 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;

function swapBack()

</script><br />                             
            <div style="position: absolute; top: 50px; left: 50px; border:2px solid #e1e1e1; width:100px; height:100px;">
                                         <img style="width: 100px; height: 100px;" id="showperson" border="2px solid #e1e1e1" align="right" src="" />                           
            </div><script type="text/javascript">

'Kuro-pyon', '',
'Leam', '',
'Kana', '',
'Chimi', '',
'Toby', '',
'Rogue', '');
</script><a style="text-decoration: none" onmouseover="swap(this,'showperson','Kuro-pyon')" href="">Kuro-pyon<br /><br /></a> <a style="text-decoration: none" onmouseover="swap(this,'showperson','Leam')" href="">Leam<br /><br /></a> <a style="text-decoration: none" onmouseover="swap(this,'showperson','Kana')" href="">Kana<br /><br /></a> <a style="text-decoration: none" onmouseover="swap(this,'showperson','Chimi')" href="">Chimi<br /><br /></a> <a style="text-decoration: none" onmouseover="swap(this,'showperson','Toby')" href="">Toby<br /><br /></a> <a style="text-decoration: none" onmouseover="swap(this,'showperson','Rogue')" href="">Rogue<br /><br /></a>                           

With that the border wraps I have around it are customs; I'm unsure if you'll need that code but here it is;

.customwidg {

.otms {
padding:0px 0px 0px 3px;
  align: left;

I've tried using margin codes as well as the position code as you'll see inside of the code. The fully original code is as I said lost, I just really want this to work. Someone please help me! It would mean a lot.

Female Posts : 59
Reputation : 1
Language : English

Back to top Go down

Back to top

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