开发者

jQuery Content Slider Question

开发者 https://www.devze.com 2023-03-11 07:46 出处:网络
If you visit... http://www.noxinnovations.com/portfolio/thecommonwealth/index.html I am currently designing that website, now click on the button at the bottom that says \"Click To Inquire\". Why is

If you visit...

http://www.noxinnovations.com/portfolio/thecommonwealth/index.html

I am currently designing that website, now click on the button at the bottom that says "Click To Inquire". Why is it that when the content slides, the bottom of the container for the content of the page, does not go 100% as it is supposed to do, as called in the CSS file? I would also like to be able to click again on the button to close the content all together.

You can view the CSS here..开发者_开发知识库.

http://www.noxinnovations.com/portfolio/thecommonwealth/style.css

And you can also view the JavaScript/jQuery here...

http://www.noxinnovations.com/portfolio/thecommonwealth/javascript.js

Thank you very much, Aaron


Change your ACCORDION BUTTON ACTION to

//ACCORDION BUTTON ACTION    
$('div.inquirebutton').click(function() {
    $('div.inquirecontent').slideToggle();
});
0

精彩评论

暂无评论...
验证码 换一张
取 消