Solved

Help with bxslider javascript issues

Posted on 2013-05-17
10
1,798 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
Comment Utility
Bump
0
 
LVL 75

Expert Comment

by:Michel Plungjan
Comment Utility
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
Comment Utility
/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
Comment Utility
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
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 

Author Comment

by:halipe
Comment Utility
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
Comment Utility
I've requested that this question be deleted for the following reason:

Not enough information to confirm an answer.
0
 

Author Comment

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

Expert Comment

by:Michel Plungjan
Comment Utility
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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.
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
In this Micro Tutorial viewers will learn how to create a CSS image sprite (In a later tutorial, viewers will learn how to use CSS and HTML to create a navigation menu using this sprite) Open a new Photoshop document with a width of (Icon width)x(N…
In this tutorial viewers will learn how to style different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…

743 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

22 Experts available now in Live!

Get 1:1 Help Now