Solved

Image Disappearing

Posted on 2013-06-02
3
168 Views
Last Modified: 2013-06-03
I have a slider that has links. When you click on an image, it populates the div underneath. The slider works fine, but when you click on the image and the div populates, the next time the slide comes up in the slider the image is gone! Any help appreciated. The link...
 
http://www.menuhead.com/feedyourheadcopy.html
 
The source code can be viewed. Thank you.
0
Comment
Question by:DS928
3 Comments
 
LVL 54

Expert Comment

by:Julian Hansen
ID: 39215704
It seems that intermittently your slider images are being given a style of left: 870px.

Not sure why yet.

Just wondering why your jquery for the click you don't do something like

$(function() {
  $('.wopeslider-slid a').click(function(e) {
    $('#BigPlace').load(this.href);
  });
});

Doesn't really make a difference but just a suggestion.

It seems to be a bug in the slider - a timing issue depending on when you click. The code for the slider is obfuscated - looks like it is a purchased component - so maybe raise it with their support people.
0
 
LVL 44

Accepted Solution

by:
Rainer Jeschor earned 500 total points
ID: 39215707
Hi,
and two issues in your source:
- you load jQuery two times (line 36 and 41) with different versions
- you have two opening HEAD tags (line 7)
HTH
Rainer
0
 

Author Closing Comment

by:DS928
ID: 39216623
I cleaned it up and redid the code.  works fine now.


<div class="wopeslider-slide slide1" style="time:6000;">
                        <img class="ws1" src="Images/Slider/FeedSlider/African.jpg" style="easing:easeOutExpo;delay:0;
                    time:1000;action:fade"width="800" height="300"/>
                    <a href="Scripts/africa_search.php"></a>
            </div>
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Article by: DanRollins
This article describes a JavaScript program that creates a maze made of hexagonal cells.  In Part 2 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7850-Hex-Maze-Part-2.html), we'll extend the program by adding a depth-…
This article will give core knowledge of JavaScript and will head in to your first JavaScript program. I am Durvesh Naik and I am here to deal with this series of JavaScript. I will teach you JavaScript in part wise , as its quite boring to read big…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. 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.: (CODE)
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…

777 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