html with jquery (tabs)

Asked

Viewed 260 times

0

I’m having a problem getting tabs to work.

I get the names of the tabs but not how they should appear inside a rectangle.
because next I want to put the php data inside

http://jsfiddle.net/p3sfy/3444/

PS: I have this code on top but I am missing a piece of code to work tabs

 $("#tabs").tabs(); 
  • Friend, there is a lot of "garbage" in the code that you added, do a cleaning on it making evident only the part of tabs that I will be happy to help you. See you around

  • What I want is to make it work is php and tabs and at the end of this page I want you to have the pagination. http://jsfiddle.net/J5Sx4/2/

1 answer

1

I think what you’re looking for is this.

Each tab will contain the content you need, when doing the fecth, already add in each tabs the content you need.

in the link below follows system with TABS and CSS, to my inline and Jquery when you click on the specific TAB to change the content.

Code with Jquery and CSS

  • I had a question. inside these tabs I can insert php to show data ?

  • @user3253195, yes within the TABS you can insert PHP to place the content, just do as in the other code you did, where it contains the fetch, so that the content appears inside the TABthat you want. The only thing you need to do is determine which TAB will appear and which will be hidden. Your first comment was not very clear, explain better. :-)

  • 1

    So if it is only within the tabs that I put php how can I make the pagination? When I made the pagination got everything within a php only

  • @user3253195 Your PHP should stay THUS. As he fetches the information in the bank he already puts in the HTML what should be displayed in each TAB. The CSS will remain the same, thus displaying what you want.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.