Hi jPeople,
i am trying to fade in some content, which is display:hidden; at the beginning.
The markup looks something like this:
- <span id="show-me">Show me ...</span>
- <div id="content-to-be-fade-in">Some Text</div>
and the script looks like this:
jQuery(document).ready(function() { jQuery("#content-to-be-fade-in").css("display","hidden"); });
- jQuery("#show-me").click(function () {
- jQuery("#content-to-be-fade-in").fadeToggle();
- });
this works as expected.
if i add an image slider like this:
- <span id="show-me">Show me ...</span>
- <div id="content-to-be-faded-in">Some Text</div>
- <div id="images">some headline [short code to display a nivo image slider]</div>
and change the script accordingly:
- jQuery(document).ready(function() {
- jQuery("#content-to-be-fade-in,#images").css("display","hidden");
- });
- jQuery("#show-me").click(function () {
- jQuery("#content-to-be-fade-in,#images").fadeToggle();
- });
the image slider is not displayed, even though container containing the images is displayed.
i guess there is a conflict between the nivo slider script and the script i added. is there a way to resolve this conflickt?
a push in the right direction would be very much appriciated.
xoxo, jFriedrich