Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • jimmer Friend
    #130692

    How can I get this to change images with each click on a page instead of tabs.

    $ja_header_images = array(‘sh01.jpg’,’sh02.jpg’,’sh03.jpg’,’sh04.jpg’,’sh05.jpg’,’sh06.jpg’,’sh07.jpg’,’sh08.jpg’,’sh09.jpg’,’sh010.jpg’); // Each sub header image will be assigned to each menu

    Just curious if this can be done.

    Here is site I am working on.

    http://ontariohaylistings.ca

    Thanks in advance,

    James

    mszulerecki Friend
    #260086

    #Header images: you can add more subheader images. Please refer to User Guide for full information
    $ja_header_images = array('sh01.jpg', 'sh02.jpg', 'sh03.jpg'); // Each sub header image will be assigned to each menu
    $ja_headerimg = $ja_header_images [$tmpTools->getCurrentMenuIndex() % count($ja_header_images)];
    $ja_headerimg = substr(str_replace('/','-',$tmpTools->getCurrentURL()),1,strlen($tmpTools->getCurrentURL())-6).'.jpg';
    if(!is_file(dirname(__FILE__)."/images/".$tmpTools->getParam(JA_TOOL_COLOR)."/".$ja_headerimg)) $ja_headerimg = 'default.jpg';

    Turn on ALL options in SEO Settings to YES (Search Engine Friendly URLs, Use Apache mod_rewrite, Add suffix to URLs)

    and now put in your /ja_zibal/images/default directory files named with full url without base address:
    so if you have url: http://www.testsite.com/about/team/it.html
    graphics for this part of your www should be: about-team-it.jpg

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by  mszulerecki 16 years, 4 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum