New Landing How can we help? Themeforest Theme Support Neighborhood Problem with Bootstrap Modal

Viewing 5 posts - 1 through 5 (of 5 total)
  • #110333
    disisid
    Member
    Post count: 36

    I am trying to use a small script in the bootstrap modal that basically places a call using a script. Now the script works perfectly fine when used otherwise: http://jsfiddle.net/1us7o2g5/

    However when used inside a bootstrap modal it is not working. The bootstrap modal closes as soon as the call button is pressed. It seems that the script is not getting executed.

    To test it out visit: http://school.nimt.ac.in/academics/subject-combination/

    click on talk to counsellor button in the bottom left of the page.

    Regards,

    Siddhant

    #110467
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    That two buttons in the left sidebar? For me it loads without any problem, when click it opens up the modal dialog too, also no need to implement the bootstrap in to it, we already used bootstrap so no need to include again, you can use this markup like this.

    For example, try to create a page and move to text mode ( not Visual ) in the Editor, and paste this code, and you can understand how it works.

    <a class="inline" data-toggle="modal" href="#email-form">Email customer care</a>
    <div aria-hidden="false" aria-labelledby="email-form-modal" role="dialog" tabindex="-1" class="modal hide fade in" id="email-form" style="display: none;"> 
    <div class="modal-header">
    <button aria-hidden="true" data-dismiss="modal" class="close" type="button">×</button>
    <h3 id="email-form-modal">Email customer care</h3>
    </div>
    <div class="modal-body">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. </div></div>

    Let us know,

    Thanks,
    laranz.

    #110474
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    Well, wait. You can also use the Modal shortcode in the shortcode builder too, easy way than the above one.. http://take.ms/9wYnd

    Let us know,

    Thanks,
    laranz.

    #110496
    disisid
    Member
    Post count: 36

    Hey,
    The problem is not that the modal does not open up. The problem is as soon as I click anything inside modal it closed without execution of the script.

    The script I am trying to use in modal is here: http://jsfiddle.net/1us7o2g5/

    However I am getting the issue when the same script is used inside the modal as on this page.

    If you try placing a call in the two urls you will understand the difference.

    Regards,

    Siddhant

    #110934
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    I suggest you to use the theme’s default modal window rather writing your own scripts, and we can’t able to help with the scripts you write, sorry about that. Try using our modal and tell us that goes fine or not.

    Let us know,

    Thanks,
    laranz.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register