I launch my new website, based on drupal and many modules, views, panels, check out

http://www.biladi.ma

Sorry its in french

Comments

_michel_’s picture

Hi.

I have visited your site. Seems to work ok.
Which module do you use for the dhtmlgoodies block? (tabview)

Thanks a lot.

Merci d'avance.

Michel.

toma’s picture

I try many solution to get tabs to work in my website, this solution works great for me, its not a module, i just add the javascript call to my theme and put the images etc

<title><?php print $head_title ?></title>
  <?php print $head ?>
  <?php print $styles ?>
  <?php print $scripts ?>
  <script type="text/javascript" src="/themes/biladimaroc/ajax.js"></script>
	<script type="text/javascript" src="/themes/biladimaroc/tab-view.js"></script>
  <script type="text/javascript"><?php /* Needed to avoid Flash of Unstyle Content in IE */ ?> </script>
</head>

I make tabs with views, example of my video tabs

<div id="dhtmlgoodies_tabView">
	<div class="dhtmlgoodies_aTab">
		<?php
$view = views_get_view('anouveau_flashvideo_teaser');
print views_build_view('block', $view, $current_view->args, false, 4)
?>
	
	</div>
	<div class="dhtmlgoodies_aTab">
		<?php
$view = views_get_view('atop_flashvideo_teaser');
print views_build_view('block', $view, $current_view->args, false, 4)
?>
	</div>
	<div class="dhtmlgoodies_aTab">
		<?php
$view = views_get_view('auhasard_flashvideo_teaser');
print views_build_view('block', $view, $current_view->args, false, 4)
?>
	</div>
</div>
<script type="text/javascript">
initTabs('dhtmlgoodies_tabView',Array('Nouveau','Top','Au Hasard'),0,300,'');
</script>

and you can just change dhtmlgoodies_tabView with another name dhtmlgoodies_tabView2 to have multiple tabs in the same page, you can custom the look and feel with css

fliko’s picture

yes toma is verry good Bayn

laryn’s picture

can you summarize what you used and did to get the pages with different listings on one page and tabbed lists (like are on the home page)? i am trying to learn how to do something somewhat similar.

toma’s picture

You can use the tab view from dhtmlgoodies

http://www.dhtmlgoodies.com/index.html?whichScript=tab-view