surreal5335
04-15-2009, 08:49 PM
I am working on a carousel plugin, while it has worked in the past great, when I tried to use php to include the html for it, it wont show any more. I am pretty sure I got the syntax right for calling the php (dont it before successfully)
So I believe that the problem lies in the jquery. I have gone through my jquery and included a few specifiers to tell jquery to show the required html elements, but still a no show.
Hopefully you have an idea of what is needed.
jquery code:
$("img#photo").click(function(){
$("img#photo").fadeOut(250);
$("img#illus").fadeOut(250);
$("img#grphc").fadeOut(250);
$("span#options").fadeOut(250, function() {
$("img#site").fadeIn(1000);
});
$("span.galbtn").fadeIn(1500);
$("span.gallery").slideDown(1500);
$("div.gallery").slideDown(1500);
$("span.menu").slideDown(1000);
});
the
$("span.gallery").slideDown(1500);
$("div.gallery").slideDown(1500);
are the elements in question that wont appear for me.
The link to my site is: http://royalvillicus.com/photo_site/photo.html
the carousel is suppose to show below the image once the left farthest button is clicked. Like I said this worked great for a long time until I put alot of the code into external files and called them in. Most are now being called successfully (.css, .js) its just the .php I am not sure if it is being called correctly, or jquery desont like talking to html code that was called with php
Thanks a lot for any help you can provide
So I believe that the problem lies in the jquery. I have gone through my jquery and included a few specifiers to tell jquery to show the required html elements, but still a no show.
Hopefully you have an idea of what is needed.
jquery code:
$("img#photo").click(function(){
$("img#photo").fadeOut(250);
$("img#illus").fadeOut(250);
$("img#grphc").fadeOut(250);
$("span#options").fadeOut(250, function() {
$("img#site").fadeIn(1000);
});
$("span.galbtn").fadeIn(1500);
$("span.gallery").slideDown(1500);
$("div.gallery").slideDown(1500);
$("span.menu").slideDown(1000);
});
the
$("span.gallery").slideDown(1500);
$("div.gallery").slideDown(1500);
are the elements in question that wont appear for me.
The link to my site is: http://royalvillicus.com/photo_site/photo.html
the carousel is suppose to show below the image once the left farthest button is clicked. Like I said this worked great for a long time until I put alot of the code into external files and called them in. Most are now being called successfully (.css, .js) its just the .php I am not sure if it is being called correctly, or jquery desont like talking to html code that was called with php
Thanks a lot for any help you can provide