Loading


Advertisement:

Author Topic: <solved> how to Taber custom fileds at item  (Read 40 times)

jhosua

  • Newbie
  • *
  • Posts: 21
<solved> how to Taber custom fileds at item
« on: March 22, 2017, 03:45:49 pm »
Hi every one, i trying to make taber for custom fields wit jquery
http://jqueryui.com/tabs/#default

im add this jquery on item.php bender theme
how to call custom fileds by id

im use like this but it's not work.
Code: [Select]
    <link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
  <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
  <script>
  $( function() {
    $( "#tabs" ).tabs();
  } );
  </script>
<div id="tabs">
  <ul>
    <li><a href="#tabs-1"><?php echo osc_item_meta_name(); ?></a></li>
    <li><a href="#tabs-2"><?php echo osc_item_meta_name(); ?></a></li>
    <li><a href="#tabs-3"><?php echo osc_item_meta_name(); ?></a></li>
  </ul>
  <div id="tabs-1">
<?php echo osc_item_meta_value(); ?>
  </div>
  <div id="tabs-2">
<?php echo osc_item_meta_value(); ?>
  </div>
  <div id="tabs-3">
<?php echo osc_item_meta_value(); ?>
  </div>
</div>

image result on Attachments

ned help,

sorry for my english i use translator
thanks much..

===============
answer here = http://forums.osclass.org/bender/explode-custom-fields-on-item-php/
« Last Edit: March 22, 2017, 07:45:28 pm by jhosua »