Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • conj Friend
    #923261

    Hello
    I have a website which is using ja university and I have a page that is using ja slideshow. The problem is when I use this code

    <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js">&lt;/script&gt;

    on the same page the slideshow disappear. How can I solve this?
    Thank you

    Saguaros Moderator
    #923992

    Hi

    If that page already loads above lib for jquery , you use that code will cause the conflict.

    conj Friend
    #926060

    hello
    Thank you for replaying.
    I know there is conflict. I need them both how can i solve this.

    Saguaros Moderator
    #926302

    You can update the login credentials of your site e.g: URL, Admin & FTP account and clarify steps so I can replicate the issue. I will have a look.

    conj Friend
    #926351

    My website is on test server which is it dose not work on public network. I only did this steps:

    • installed the ja university template
    • created new module for ja slideshow
    • created new article
    • make this slideshow to display on this article
    • write this code on this same article

    <script src="</script&gt”>https://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js“></script&gt;
    <legend class="subheader">Search CON-J Library Books <form action="index.php?option=com_content&view=article&id=389&Itemid=480" method="post" class="form-horizontal">

    <div class="row">

    <div class="form-group"> <label for="kind" class="col-lg-2 control-label">Where to Search: <div class="col-lg-3"> <select name="kind" id="kind" class="form-control"> <option value="Books" >Books <option value="Inventory_2014" >Inventory_2014

    <div class="form-group">

    <label for="col1" class="col-lg-2 control-label">What Kind:

    <div class="col-lg-3"> <select name="col1" id="col1" class="form-control">

    <option value="title">Title <option value="date">Date <option value="author">Author <option value="publisher">Publisher <option value="isbn">ISBN <option value="year">Year

    <div class="form-group">

    <div id="show-hide">

    <label for="table1" class="col-lg-2 control-label">Category:

    <div class="col-lg-3">

    <select name="table1" id="table1" class="form-control">

    <option value="accession_record_without_basic">Accession Record Without Basic <option value="basic_science_and_english" >Basic Science and English <option value="cpr">CPR <option value="nursing_basic_science-and_engl">Nursing Basic Science and English

    <div class="form-group">

    <label for="word" class="col-lg-2 control-label">Search:

    <div class="col-lg-2">

    <input type="text" name="word" id="word" class="form-control" required>

    <div class="col-lg-3"> <input type="submit" name="search" value="Search" class="button btn btn-primary search">

    <script> var categories = { "Books":[{value:’title’, text:’Title’},{value:’date’, text:’Date’},{value:’author’, text:’Author’},{value:’publisher’, text:’Publisher’},{value:’isbn’, text:’ISBN’},{value:’year’, text:’Year’}],

    "Inventory_2014":[{value:’title’, text:’Title’},{value:’author’, text:’Author’},{value:’year’, text:’Year’},{value:’publisher’, text:’Publisher’}]

    }; function selectchange(){ var select = $(‘[name=col1]’); select.empty(); $.each(categories[$(‘:selected’, this).text()], function(){ select.append(‘<option value="’+this.value+’">’+this.text+”); }); } $(function(){ $(‘[name=kind]’).on(‘change’, selectchange); });

    $(document).ready(function () {

    $(‘#show-hide’).show(); $(‘#kind’).change(function () { var test=$(‘#kind’).val(); if(test=="Books") {$(‘#show-hide’).show();} else {$(‘#show-hide’).hide();}

    }) });

    </script>

    I have a search form which has 3 selected box and 1 text box. based on the user choice one of the selected box show and hide and the other selected box change his contents.
    The problem is when i remove ja slideshow from the article the search form works perfectly and when i put it back the search form don not work i.e. the function for show / hide and change the contents stop working .

    Saguaros Moderator
    #926843

    I need a closer look to detect the root of issue, you can put your site online then I will have a look.

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

This topic contains 5 replies, has 2 voices, and was last updated by  Saguaros 8 years, 6 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum