Solved

Image Disappearing

Posted on 2013-06-02
3
165 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 51

Expert Comment

by:Julian Hansen
Comment Utility
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
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

OverviewThis article demonstrates a simple search form using AJAX. The purpose of the article is to demonstrate how to use the same code to render a page and javascript (JQuery) and AJAX to make subsequent calls to refine the results. The princip…
JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
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…

763 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

16 Experts available now in Live!

Get 1:1 Help Now