Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • minver Friend
    #138857

    Hi! 🙂
    I’d like to change the size of animation-icons in iconmenu (template Utahia) from 32>64 to 25>28 pixels, … I suppose that in javascript, but where exactly? :confused:

    Thanks

    Modify 30 minutes later :
    I’ve found it! Is in ja-vars.php and not in ja.iconmenu.js but now how can I delete txt name over?

    Anonymous Moderator
    #295353

    Hi,

    For this case, please open Iconmenu.class.php file in templatesja_utahia_iija_menus folder, at about line 127, find following code:

    [PHP]if( !isset($_SERVER[‘HTTP_USER_AGENT’]) ||
    !preg_match($msie,$_SERVER[‘HTTP_USER_AGENT’]) ||
    preg_match(‘/opera/i’,$_SERVER[‘HTTP_USER_AGENT’])) {
    $txt = ‘<img src=”images/stories/’. $menu_image .'” border=”0″ hspace=”0″ vspace=”0″ alt=”‘. $row->name .'”‘.$clsactive.’ style=”width: ‘.$this->getParam(‘icon_small’).’px; height: ‘.$this->getParam(‘icon_small’).’px;” />’;

    } else {
    $txt = ‘<img src=”images/blank.png” border=”0″ hspace=”0″ vspace=”0″ alt=”‘. $row->name .'”‘.$clsactive.’ style=”width: ‘.$this->getParam(‘icon_small’).’px; height: ‘.$this->getParam(‘icon_small’).’px; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=”.JURI::base().’images/stories/’. $menu_image .”, sizingMethod=scale);” />’;

    }[/PHP]

    and change to:

    [PHP]if( !isset($_SERVER[‘HTTP_USER_AGENT’]) ||
    !preg_match($msie,$_SERVER[‘HTTP_USER_AGENT’]) ||
    preg_match(‘/opera/i’,$_SERVER[‘HTTP_USER_AGENT’])) {
    $txt = ‘<img src=”images/stories/’. $menu_image .'” border=”0″ hspace=”0″ vspace=”0″ ‘.$clsactive.’ style=”width: ‘.$this->getParam(‘icon_small’).’px; height: ‘.$this->getParam(‘icon_small’).’px;” />’;

    } else {
    $txt = ‘<img src=”images/blank.png” border=”0″ hspace=”0″ vspace=”0″ ‘.$clsactive.’ style=”width: ‘.$this->getParam(‘icon_small’).’px; height: ‘.$this->getParam(‘icon_small’).’px; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=”.JURI::base().’images/stories/’. $menu_image .”, sizingMethod=scale);” />’;

    }[/PHP]

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

This topic contains 2 replies, has 2 voices, and was last updated by Anonymous 15 years, 8 months ago.

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