开发者

Having a "flash" of extra content using jquery tabs in Wordpress site sidebar

开发者 https://www.devze.com 2023-01-30 13:15 出处:网络
I have created a wordpress website that is using a jquery navigation tab in the sidebar. It\'s a really cool addition, but my client is complaining that when the page loads, you see a partial list ite

I have created a wordpress website that is using a jquery navigation tab in the sidebar. It's a really cool addition, but my client is complaining that when the page loads, you see a partial list item load to the right of all 3 tabs. I have actually looked and it does it in IE and Firefox so far. I don't understand the technology just yet, but has anyone experie开发者_高级运维nced this "flash" using jquery functions? Here's an example page.


You can fix that by pushing your nav tabs apart a little more:

//in glide.css
.tabnav li {
    display: inline;
    float: left;
    list-style: none outside none;
    margin-right: 10px; /* my alteration */
    text-align: center; 
}

By messing with that margin-right you should be able to solve your problem. Otherwise try playing with it using Firebug.

0

精彩评论

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

关注公众号