开发者

Jquery adding display: none; to li

开发者 https://www.devze.com 2023-02-15 11:05 出处:网络
I\'ve altered a Jquery UI set up to scroll through some featured posts its works fine here (still have to style the insides)

I've altered a Jquery UI set up to scroll through some featured posts

its works fine here (still have to style the insides) http://nottingham.subverb.net/featured-content-slider/index.php

however, when I take that script and place it into my homepage, the menu on the right doesn't display...and it's because each 开发者_StackOverflowlist item has 'display: none;' added inline and I have no idea why

http://nottingham.subverb.net

I have tried disabling all the other scripts I have on the page and the only thing that makes it come back is removing jquery itself - however obviously this stops the slider working


You appear to have a typo:

<ul class="featured_list"><li class="featured_list_item" display: block" id="nav-fragment-1">

should probably be

<ul class="featured_list"><li class="featured_list_item" id="nav-fragment-1">
0

精彩评论

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

关注公众号