Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP & MySQLi - can't get it work #67

Open
androidworldbh opened this issue Aug 6, 2015 · 4 comments
Open

PHP & MySQLi - can't get it work #67

androidworldbh opened this issue Aug 6, 2015 · 4 comments
Assignees

Comments

@androidworldbh
Copy link

I think my code is right but i can't get it work don't know why. Here's d code.

 <script src="js/jquery.jscroll.js"></script>
 <script src="js/jquery.jscroll.min.js"></script>

<script type="text/javascript">
$( document ).ready(function() {
 $('.jscroll').jscroll({
 autoTrigger: true
 });
 });
</script>
<div clsss='jscroll'>
<div class='col-md-12 col-xs-12' style='padding:3px;'>
          <p class='z-depth-1'>
          <a href='product_details.php?product_details=$row[ID]/$row[item_name]'>
          <img src='$row[url1]' style='height:auto; width:100%;' draggable='false' />
          </a>
          </p>
          <p class='price' style='color:grey;' align='center'>$row[item_price] BHD</p>

          </div>
          </div>

@pklauzinski
Copy link
Owner

@androidworldbh - You are including the jScroll source twice. You should only have one file, either jquery.jscroll.js or jquery.jscroll.min.js, but not both. jquery.jscroll.min.js is just the minified version of the code.

@androidworldbh
Copy link
Author

I've removed .min. version , unfortunately same thing - not working

@pklauzinski
Copy link
Owner

I can't really deduce what the problem is from the information given. Do you have an example page to view?

@pklauzinski pklauzinski self-assigned this Aug 10, 2015
@tmblog
Copy link

tmblog commented Dec 27, 2015

not sure if typo here, but your jscroll class has typo:
clsss='jscroll'
class='jscroll'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants