Not Solved Forum Affiliates Scrolling Images
#1
Not Solved
Link to plugin: http://mods.mybb.com/view/forum-affiliate-manager

I would like to have images scroll from left to right. I searched the forums and found that someone use a marquee to move the images, but it seems from user response that it causes some issues in browsers.

Could someone perhaps point me in the right direction?

The current code is below:

<span style="width:{$maxwidth}px;height:{$maxheight}px;float:left;margin-right:5px;margin-bottom: 2px;text-align:left;"><a href="{$mybb->settings['bburl']}/index.php?action=visit&amp;id={$affiliate['id']}&amp;key={$mybb->post_code}" target="_blank"><img src="{$mybb->settings['uploadspath']}/affiliates/{$affiliate['image']}" alt="" width="auto" height="auto" title="{$affiliate['name']}"></a></span> 
Reply
#2
Not Solved
<marquee direction="right" behavior="scroll" onmouseover="this.setAttribute('scrollamount', 0, 0);" onmouseout="this.setAttribute('scrollamount', 6, 0);"><span style="width:{$maxwidth}px;height:{$maxheight}px;float:left;margin-right:5px;margin-bottom: 2px;text-align:left;"><a href="{$mybb->settings['bburl']}/index.php?action=visit&amp;id={$affiliate['id']}&amp;key={$mybb->post_code}"><img src="{$mybb->settings['uploadspath']}/affiliates/{$affiliate['image']}" alt="" width="auto" height="auto" title="{$affiliate['name']}"></a></span></marquee>

this is how you get it to scroll
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)