Solved

Help with bxslider javascript issues

Posted on 2013-05-17
10
1,813 Views
Last Modified: 2013-09-16
I am need of some help with the following webpage:

http://winnersdrinkmilk.com/30Dairies/

I am having difficulty getting the slider to function properly.

The page should work as follows:

- In the green bar, there will end up being 30-31 dairies. The dairies need to be clickable, when clicked on, information will appear in the center of the page detailing that dairy, that will then allow you to go to an html page that has already been created.
- The arrows need to control the thumbnails sliding left and right.


Issues:
- Right now, the page is a mess in terms of functionality.
- Currently, the arrows (which are both on the left... and need to be one on the left and one on the right) control the content at the top of the page, while they should make the thumbnails slide left and right.
- The thumbnails are all image. I would like for the text below the thumbnail to be within the html and not within the image; however, I cannot figure out how to do this.
- Needs to work in ie9, and I have no way of checking anything in IE9
- Would love for the content in the middle of the page to be editable rather than an image, but cannot figure out how to best set this up to make it work. We are dealing with quite a bit of content (30+ dairies) so I am wondering if the information should be housed externally and called from the html file.

Any suggestions would be greatly appreciated. We are on a tight deadline with this, so any feedback would be fantastic. THANK YOU so so much!!!!!!
0
Comment
Question by:halipe
  • 4
  • 3
10 Comments
 

Author Comment

by:halipe
ID: 39175626
Bump
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 39176639
A bit overwhelming. Sounds like custom scripting rather than answering a question.
I will take a look, but no promises.
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 39176680
/30Dairies/jquery.bxSlider.min.js

gives a 404

and you load jQuery twice - once in the head and once here:

<!-- jQuery library (served from Google) -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<!-- bxSlider Javascript file -->
<script src="js/bxslider/jquery.bxslider.js"></script>
<script>
$('.bxslider').bxSlider({
  pagerCustom: '#bx-pager'
});
0
 
LVL 75

Accepted Solution

by:
Michel Plungjan earned 500 total points
ID: 39176695
Here is a start to make sure that the slider works the way you need it to

FIrst style that, then we can continue - I however recommend you to find another slider instead of making this one show cations. It is not designed to do so

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>30 Dairies in 30 Days</title>

<!-- bxSlider CSS file -->
<link href="js/bxslider/jquery.bxslider.css" rel="stylesheet" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<!-- bxSlider Javascript file -->
<script type="text/javascript" src="js/bxslider/jquery.bxslider.js"></script>
<script type="text/javascript">
$(function() {
  $('.bxslider').bxSlider({
    pagerCustom: '#bx-pager'
  });
});
</script>
</head>

<body class="main">
<!--main content begins here-->
  <ul class="bxslider">
    <li><img src="js/bxslider/images/slide-1.png"/></li>
    <li><img src="js/bxslider/images/slide-2.png"/></li>
  </ul>
  <div id="bx-pager" class="container_24"> 
  	<a data-slide-index="0" href="allwrightfarm.html"><img src="js/bxslider/images/thumb-muncie.png" /></a> 
    <a data-slide-index="1" href=""><img src="js/bxslider/images/thumb-albion.png" /></a> 
  </div>
<!--main content ends here-->

<div class="footer">
  <p class="container_24">©2013 Brought to you by the American Dairy Association of Indiana, your Indiana Dairy Farm Families.</p>
</div>
</body>
</html>

Open in new window

0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:halipe
ID: 39177035
I'm now having server issues with the site, so I cannot check the code. Will continue trying to update....
0
 
LVL 58

Expert Comment

by:Gary
ID: 39495922
I've requested that this question be deleted for the following reason:

Not enough information to confirm an answer.
0
 

Author Comment

by:halipe
ID: 39495912
Question was not answered. Please close the question. THanks
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 39495923
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now