WordPress database error: [Got error 28 from table handler]
SELECT DISTINCT ID, category_id, cat_name, category_nicename, category_description, category_parent FROM wp_str8_categories, wp_str8_post2cat, wp_str8_posts WHERE category_id = cat_ID AND post_id = ID AND post_id IN (5425)

WordPress database error: [Can't open file: 'wp_str8_comments.MYI'. (errno: 145)]
SELECT ID, COUNT( comment_ID ) AS ccount FROM wp_str8_posts LEFT JOIN wp_str8_comments ON ( comment_post_ID = ID AND comment_approved = '1') WHERE post_status = 'publish' AND ID IN (5425) GROUP BY ID

STR8BLOGGIN » Blog Archive » The evils of fb:tabs

The evils of fb:tabs

The <fb:tabs> and <fb:tab-item> FBML tags are very handy to use in your Facebook apps if you want to maintain the Facebook appearance. Unfortunately, they also have weird target behavior that causes the user to leave your application’s frame - if it’s an FBML canvas tab app, and you want to keep your app inside the tab for layout reasons, this is bad news.

To fix it, consider emulating the appearance of Facebook’s <fb:tabs> using CSS.. read on for our solution.

.fb-tabs { border-bottom: 1px solid #898989; padding: 3px 0; }
.fb-tabs .left_tabs { float: left; padding-left: 10px; }
.fb-tabs .right_tabs { float: right; padding-right: 10px; }
.fb-tabitems {
display: inline;
list-style: none;
margin: 0;
padding: 0;
text-align: center;
}
.fb-tabitems li {
display:inline;
padding: 2px 0px 3px;
background: #f1f1f1 url(http://www.facebook.com/images/components/toggle_
tab_gloss.gif) top left repeat-x;
}
.fb-tabitems li a {
border: 1px solid #898989;
color: #333;
font-weight: bold;
padding: 2px 8px 3px 9px;
}
.fb-tabitems li a small { font-size: 11px; font-weight: normal; }
.fb-tabitems li a:focus { outline: 0px; }
.fb-tabitems li.first a { border:1px solid #898989; }
.fb-tabitems li a.selected {
background: #6d84b4;
border: 1px solid #3b5998;
border-left: 1px solid #5973a9;
border-right: 1px solid #5973a9;
color: #fff;
margin-left: -1px;
}
.fb-tabitems li.last a.selected {
margin-left:-1px;
border-left:1px solid #5973a9;
border-right:1px solid #36538f;
}
.fb-tabitems li.first a.selected {
margin: 0;
border-left: 1px solid #36538f;
border-right: 1px solid #5973a9;
}
.fb-tabitems li.first.last a.selected { border: 1px solid #36538f; }
.fb-tabitems li a.selected:hover { text-decoration: none; }

Use it like this:

<div class=\"fb-tabs clearfix\">
<center>
<div class=\"left_tabs\">
<ul class=\"fb-tabitems clearfix\">
<li><a href=\"#\" class=\"selected\">NavbarLink1</a></li>
<li><a href=\"#\">NavbarLink2</a></li>
<li><a href=\"#\">NavbarLink3</a></li>
</ul>
</div>
<div class=\"right_tabs\">
<ul class=\"fb-tabitems clearfix\">
<li><a href=\"#\">NavbarLink1Right</a></li>
<li><a href=\"#\">NavbarLink2Right</a></li>
</ul>
</div>
</center>
</div>

WordPress database error: [Can't open file: 'wp_str8_comments.MYI'. (errno: 145)]
SELECT * FROM wp_str8_comments WHERE comment_post_ID = '5425' AND comment_approved = '1' ORDER BY comment_date

Leave a Reply