php

<?php if ($secondary_menu): ?>
      <div id="secondary-menu" class="navigation">
        <?php print theme('links__system_secondary_menu', array(
          'links' => $secondary_menu,
          'attributes' => array(
            'id' => 'secondary-menu-links',
            'class' =/> array('links', 'inline', 'clearfix'),
          ),
          'heading' => array(
            'text' => t('Secondary menu'),
            'level' => 'h2',
            'class' => array('element-invisible'),
          ),
        ));

Comments

a.dev's picture

// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 5000
// Duration of crossfade (seconds)
var crossFadeDuration = 3
// Specify the image files
var Pic = new Array() // don't touch this
// to add more images, just continue
// the pattern, adding to the array below
var txt = new Array()
 
Pic[0] = 'images/home/home1.jpg';
Pic[1] = 'images/home/home2.jpg';
Pic[2] = 'images/home/home3.jpg';
Pic[3] = 'images/home/home4.jpg';
Pic[4] = 'images/home/home5.jpg';
 
txt[0] = "Never go it alone in the business world. Call the management and IT consulting experts.";
txt[1] = "Get to where you need to be sooner with our outsourcing services.";
txt[2] = "See things more clearly with our innovative Enterprise Solutions from Einnovates.";
txt[3] = "Make the leaf of faith knowing what's on the other side with our Business Intelligent Services.";
var k = txt.length;
var l = 0;
var t;
var j = 0;
var p = Pic.length;
var preLoad = new Array();
for (i = 0; i < p; i++)
{
  preLoad[i] = new Image();
  preLoad[i].src = Pic[i];
}
function runSlideShow()
{
  document.getElementById("bk_img").style.backgroundImage = "url("+preLoad[j].src+")";
  document.getElementById("cnt_img_txt").innerHTML = txt[l];
  l = l + 1;
  j = j + 1;
  if (j > (p-1)) j=0;
  if (l > (k-1)) l=0;
  t = setTimeout('runSlideShow()', slideShowSpeed);
}