Forum Support

Shape 5
March 28, 2024, 09:53:08 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Hide/Show Stop and Play also Hides Navigation Arrows  (Read 374 times)
sneadm
Jr. Member
**
Offline Offline

Posts: 90



« on: July 27, 2011, 05:59:51 AM »

Installed Paradigm 1.6 site shaper.  When I select Hide for the Stop and Play buttons, the navigation arrows also disappear.
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #1 on: July 27, 2011, 12:36:55 PM »

This is due to a custom html override, if you remove the mod_s5_imageslide folder under the html folder in this template it will fix the issue.
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
sneadm
Jr. Member
**
Offline Offline

Posts: 90



« Reply #2 on: July 30, 2011, 07:36:57 AM »

My template name should have said 'paradigm_shift".  In any case, there was no html override in it for mod_s5_imageslide only for mos_s5_accordion_menu.  I did however track down the problem and here is my fix:

In /modules/mod_s5_imageslide/s5_imageslide/class.noobSlide.packed.js:
Change line 24 from
Code:
document.getElementById("s5_ismod_onhover").style.display = "block";
to:
Code:
if (s5_stopplayhide == "block") {
 document.getElementById("s5_ismod_onhover").style.display = "block";
 }

In /modules/mod_s5_imageslide/mod_s5_imageslide.php:
change line 257 to:
Code:
<div <?php if ($s5_stopplayhide == "block" || $s5_arrowshide == "block") { ?>onmouseout="s5_ismod_outhover();" onmouseover="s5_ismod_onhover();"<?php ?> >
and change line 365 and below to read:
Code:
<script type="text/javascript">
var s5_arrowshide = "none";
var s5_stopplayhide = "none";
</script>
<?php if ($s5_arrowshide == "block") { ?>
<script type="text/javascript">
var s5_arrowshide = "block";
</script>
<?php ?>
<?php if ($s5_stopplayhide == "block") { ?>
<script type="text/javascript">
var s5_stopplayhide = "block";
</script>
<?php ?>

My line numbers may be off but hopefully this will give the idea.

It now works perfectly!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.