WordPress.org

Ready to get started?Download WordPress

Forums

Len Slider
[resolved] changing title link destination on vania_fit (4 posts)

  1. stahnke939
    Member
    Posted 1 year ago #

    Hi Igor,
    Thanks for the update. It looks good. I'm having an odd problem with a modification of vania_fit. In output.html I'm trying to change:

    <a href="#ls-vf-%slidernum%-%banner_key%">

    to

    <a href="%ls_link%">

    like it is in default.html so clicking on the link in the .abs div will take user straight to item and not just load slide.

    The generated code looks correct and like it should function but the page loads VERY badly and seems to be suffering from some possible jquery error?

    I've tried variations of different strings and attributes in the href tag but it only seems to function if the original code is there. Any ideas?

    Thanks,
    Scott

    http://wordpress.org/extend/plugins/len-slider/

  2. Igor Sazonov
    Member
    Plugin Author

    Posted 1 year ago #

    hi, stahnke939! give me just several days, ill try to answer/fix all support threads, just busy now.

  3. Igor Sazonov
    Member
    Plugin Author

    Posted 1 year ago #

    Hi, stahnke939!
    make a code like this in html:
    <a class="someclass" href="#ls-vf-%slidernum%-%banner_key%" rel="%ls_link%">

    in js (as a part of js file, at the end of it):

    jQuery(".someclass").click(function() {
    var $link = jQuery(this).attr('rel');
    document.location.href=$link;
    });
  4. stahnke939
    Member
    Posted 1 year ago #

    That works great.
    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.