Show Slide help for newbie

Show Slide help for newbie

Hi All,

I am trying to get floorplans that are initially set to display:none to reveal with a slide down using the slide ui of jquery.
Here's the jquery:
<script type="text/javascript" src="assets/jquery-1.5.min.js"></script>
<script type="text/javascript" src="assets/jquery-ui-1.8.9.custom.min.js"></script>
<script type="text/javascript">
$(function($){
  $('#groundreveal').click(function(){
    $('#secondwrap').hide();
    $('#groundwrap').show("slide", { direction: "down" }, 600);
    return false;
  });
  $('#secondreveal').click(function(){
    $('#groundwrap').hide();
    $('#secondwrap').show("slide", { direction: "down" }, 600);
    return false;
  });
});
</script>
When user clicks on #groundreveal or #secondreveal it should show the floorplan selected.
Inside of the slider, click "Show Floorplan"

Your help in getting this to run would be appreciated :)
Thanks,
Bill
    • Topic Participants

    • bill