Jump to content


Adding Id To Tabs For Custom Heading Effects


1 reply to this topic

#1 Guest_nsb_*

Guest_nsb_*
  • Guests

Posted 20 January 2012 - 09:09 PM

I had a need to add some extra styles to the tab headings, so I added a numbered ID to each tab.

Here are the modified lines from widget.php:


77                     if ( true === $first ) {
78   ***                   $class = ' class="selected" id="tab' . $counter . '" ';
79
80                         $first = false;
81                     }
82                     else
83   ***                   $class = ' id="tab' . $counter . '" ';


*** -> added tab1,tab2 etc

Cheers,

-NSB

#2 Ronald

Ronald

    Forum Admin

  • Administrators
  • Others: All Plugins, All Themes, Moderators, Webdesign
  • 22,331 posts

Posted 22 January 2012 - 08:14 AM

good one, thanks for sharing!

Join the iThemes Builder Community on Google+.



To ensure that we can process your support request efficiently, ALWAYS include a link to your site, and/or the page your request is related to. Please also read the forum guidelines.



When asking your question/posting your request on the forum, please be as concise and specific as possible. The shorter your request, the more to the point, the more specific, the easier it will be for us to try and help out.




Reply to this Topic


ATTENTION
If this topic is marked RESOLVED or INFORMATION, or if you are NOT experiencing EXACTLY the same issue, please start a new topic to provide the details of your problem. If the solution provided doesn't work for you, you should start a new topic. If you feel this thread contains relevant information, you may include a link to it in your new topic. To ensure that we can process your support request efficiently, ALWAYS include a link to your site, and/or the page your request is related to. When posting your question or request on the forum, please be as concise and specific as possible. The shorter and more to the point you can make your request, the better.

For BackupBuddy related issues, be sure to include the status log from your most recent backup.

CLICK HERE to start a new topic in the Tabber-Widget Plugin forum.


  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users