Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Help with bxslider javascript issues

Posted on 2013-05-17
10
1,845 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
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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
 

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

This article discusses four methods for overlaying images in a container on a web page
Find out what you should include to make the best professional email signature for your organization.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

790 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