WordPress.org

Ready to get started?Download WordPress

Forums

bug report: Tabbed Widgets: "display:none" Safari bug (1 post)

  1. alsd
    Member
    Posted 3 years ago #

    With Accordion menu tab, below code (line #282 and lin #283) in tabbed-widgets/tabbed-widgets.php triggers a Safari bug

    "$params[0]['before_title'] = '<span style="display:none;">';
    $params[0]['after_title'] = '</span>'"

    See screen shot here:
    http://picasaweb.google.com/lh/photo/1axT9f0cBACWDECQL2DgJQ?feat=directlink

    In a site, I was able to overwrite the display none with the following code:
    .tw-accordion > span {visibility: hidden;display:inline!important}

    But this does not always work as it seems to be dependent by its parent or sibling elements. When it doesn't work, it creates extra vertical space in "h4.tw-title", declaring height:0 in "tw-accordion > span" is of no use.

    This seems to be a nasty bug existed since Safari 2.

    Curious, can "h4.tw-title" use directly in ['before_title'] and ['after_title'] and remove the "<span style="display:none;">" instead?

    http://wordpress.org/extend/plugins/tabbed-widgets/

Topic Closed

This topic has been closed to new replies.

About this Topic