Forum Support

Shape 5
March 29, 2024, 06:42:55 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: Info Slide java script errors  (Read 497 times)
joegrande
Jr. Member
**
Offline Offline

Posts: 18



« on: February 02, 2015, 09:33:18 PM »

Hello,

I have 4 modules using the info slide classes.  They were working but now are not and I cannot figure out why. Looking through Firefox Inspector, the errors are bringing me to this piece of code and the line

jQuery(items).each(function (index, item) {
            jQuery(item).mouseenter(function (d) {
              var height = items.eq(index).children('img')[0].offsetHeight;
      if(d.target.nodeName != 'IMG' && jQuery('img',d.target).length > 0) d.target = jQuery('img',d.target);
                jQuery('.' + options.items5_is_slide, jQuery(d.target).parents('.' + options.s5_is)).eq(0).animate({
                        height: height + 'px'
                    }, 300);



It is enabled under Vertex - Java Script- Info Slide

Here is the code for one of the modules

<div class="s5_is hide_700" style="float: left; width: 100%; padding-right: 0px;"><a href="index.php/2012-04-10-18-56-53.html"><img src="images/mod_resources/BCI-about3.png" alt="Join BCI" />[/url]
<div class="s5_is_slide">
<h3>About BCI</h3>
<a href="index.php/home-mainmenu-1/members-clubs-ambassadors/australia-artists"> BCI advances the ancient and living art of bonsai,viewing stones and related arts.[/url]</div>
</div>


I got rid of the extra styling in the divs ( took the original code I found from another post on this site), and it made no difference.

The URL is http://testserver.bonsai-bci.com/.

The info slides are on the 4 top modules.

Any insight would be greatly appreciated.  Grin
Logged
mikenicoll
Global Moderator
*****
Offline Offline

Posts: 20162



WWW
« Reply #1 on: February 04, 2015, 03:18:43 PM »

Hello,

Most likely a script conflict with something you have added to the site. Try using the CSS version of the Info Slide instead of the Jquery version to avoid this type of conflict. You can also try removing anything 3rd party from that page you may have added to resolve the script conflict.
Logged

Mike Nicoll
------------
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
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.