Improve company productivity with a Business Account.Sign Up

x
?
Solved

Image Disappearing

Posted on 2013-06-02
3
Medium Priority
?
188 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 62

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 2000 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
AngularJS web development a very simple procedure. So, to put it, in short, AngularJS’ stand out features are – Two-way data binding, MVC structure, directives, templates, dependency injections and testing.
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…

595 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