Viewing 1 replies (of 1 total)
  • Thread Starter wirtloto

    (@wirtloto)

    All done.
    Just change the order on your code on the HTML Output part

    #############
    ORIGINAL CODE
    // Format HTML Output
    $output = ‘<div id=”‘.$type.’-link-‘.$post_id.'” class=”‘.$type.’-link ‘.$hidden_class.'”><span id=”‘.$type.’-toggle-‘.$post_id.'”>’.$more_text.'</span></div>’;
    $output .= ‘<div id=”‘.$type.’-content-‘.$post_id.'” class=”‘.$type.’-content ‘.$hidden_class.'” style=”‘.$hidden_css.'”>’.$content.'</div>’;

    ##############
    NEW CODE
    // Format HTML Output
    $output = ‘<div id=”‘.$type.’-content-‘.$post_id.'” class=”‘.$type.’-content ‘.$hidden_class.'” style=”‘.$hidden_css.'”>’.$content.'</div>’;
    $output .= ‘<div id=”‘.$type.’-link-‘.$post_id.'” class=”‘.$type.’-link ‘.$hidden_class.'”><span id=”‘.$type.’-toggle-‘.$post_id.'”>’.$more_text.'</span></div>’;

Viewing 1 replies (of 1 total)
  • The topic ‘HTML Output’ is closed to new replies.