91
demian
Re: Font Resizer In Theme ?
  • 2010/2/14 14:49

  • demian

  • Quite a regular

  • Posts: 225

  • Since: 2008/4/29


yes the reset code initially was put it in comment

i comment it out...

any way to fix ?



92
demian
Re: Beta version of XoopsPoll 1.31
  • 2010/2/14 10:20

  • demian

  • Quite a regular

  • Posts: 225

  • Since: 2008/4/29


thanks for update to this module

just one issue

i disable comments in preferences

and i think the comments link in the blocks should also be disable..




93
demian
Re: Font Resizer In Theme ?
  • 2010/2/14 8:33

  • demian

  • Quite a regular

  • Posts: 225

  • Since: 2008/4/29


ok i'm trying to adapt the font resizer from


morphogenesis3


i copied morpho.js to my themes js folder

/*
 * Mor.pho.GEN.e.sis 3.0
 *
 * @package         themes
 * @since           2.4.x
 * @maintained      Afux <http://www.afux.org>
 *
 * @version         $Id
*/

/* text sizer */
    
function fsize(size,unit,id){
      var 
vfontsize document.getElementById(id);
      if(
vfontsize){
       
vfontsize.style.fontSize size unit;
      }
    }

var 
textsize 1;
    function 
changetextsize(up){
      if(
up){
       
textsize parseFloat(textsize)+0.05;
      }else{
       
textsize =parseFloat(textsize)-0.05;
      }
    }

/* show hide id */
    
function xoToggleBlockid )
        {
        var 
value = (document.getElementById(id).style.display == 'none') ? 'block' 'none';
        
xoSetBlockidvalue );
        
xoSetCookieidvalue );
        }
    function 
xoSetBlockidvalue )
        {
        
document.getElementById(id).style.display value;
        }
    function 
xoTrimstr )
        {
        return 
str.replace(/^s+|s+$/g'') ;
        }
    function 
xoGetCookiename )
    {
     var 
cookieName 'XoMorpho_' name;
     var 
cookie document.cookie;

     var 
cookieList cookie.split";" );
        for( var 
idx in cookieList )
    {
    
cookie cookieList[idx].split"=" );
        if ( 
xoTrimcookie[0] ) == cookieName )
            {
        return( 
cookie[1] );
      }
     }
    return 
'none';
        }
        function 
xoSetCookienamevalue )
        {
     var 
cookieName 'XoMorpho_' name;
     var 
expires = new Date();
     
expires.setTimeexpires.getTime() + (365 24 60 60 1000));
     
document.cookie cookieName "=" value "; expires=" expires ";";
    }


<script src="http://xxxxxxxx/themes/xxxxxxxxxx/js/morpho.js" type="text/javascript"></script>


change x0-canvas colum to mainBody...copy all the icon image to my theme folder

<a href="javascript:fsize(textsize,'em','mainBody');" onclick="changetextsize(1);" title=""><img class="xo-icons" src="<{xoImgUrl icons/action/zoom_in.png}>" alt="A +" title="<{$smarty.const.THEME_ACCESS_PLUS}>" /></a>
<
a href="javascript:fsize(1,’em’,'mainBody’);" onclick="textsize = 1" title=""><img class="xo-icons" src="<{xoImgUrl icons/action/zoom_reset.png}>" alt="A =" title="<{$smarty.const.THEME_ACCESS_RESET}>" /></a>
<
a href="javascript:fsize(textsize,'em','mainBody');" onclick="changetextsize(0);" title=""><img class="xo-icons" src="<{xoImgUrl icons/action/zoom_out.png}>" alt="A -" title="<{$smarty.const.THEME_ACCESS_MINUS}>" /></a>


all is working except the
the reset button ...when clicking nothing happens

help......



94
demian
Font Resizer In Theme ?
  • 2010/2/14 5:50

  • demian

  • Quite a regular

  • Posts: 225

  • Since: 2008/4/29


Is there any recommended font resizer script in theme that i can use...

if possible i would like to have 3 option

enlarge | reduce | reset back to normal

i know most browser have this option..

but one of my friend insist to have this feature...

Thank you



95
demian
Re: Classifieds 2.1 Released for Xoops 2.4 versions
  • 2010/2/14 2:54

  • demian

  • Quite a regular

  • Posts: 225

  • Since: 2008/4/29


thank you



96
demian
Re: Help with WOX theme Login Bar
  • 2010/2/14 2:53

  • demian

  • Quite a regular

  • Posts: 225

  • Since: 2008/4/29


anyone got this working?...compatible will ALL browser ?



97
demian
Re: Mytabs module - change tabs position from top to bottom ?
  • 2010/2/14 2:51

  • demian

  • Quite a regular

  • Posts: 225

  • Since: 2008/4/29


ok finally successfuly implemented this in my website

what i did was create new block defintions in xoops_version.php and create a new template for it



$modversion['blocks'][2]['file'] = "mytabs_block.php";
$modversion['blocks'][2]['name'] = "My Tabs Block (Down)";
$modversion['blocks'][2]['description'] = "Shows dynamic content tab";
$modversion['blocks'][2]['show_func'] = "b_mytabs_block_show";
$modversion['blocks'][2]['edit_func'] = "b_mytabs_block_edit";
$modversion['blocks'][2]['options'] = "|0|400|mytabsdefault|true|2000||1|0|false";
$modversion['blocks'][2]['template'] = 'mytabs_block_blocks_down.html';



new template -templates/blocks/mytabs_block_blocks_down.html
<div class="<{$block.class}>-menu" id="tabscontents-<{$block.uniqueid}>"><{$block.tabsmenu}></div>

<{foreach 
item=thistab from=$block.tabs}>
  <
div class="<{$block.class}>-content" id="tab-<{$thistab.id}>-<{$block.uniqueid}>" style="<{if $block.width != 0}>width:<{$block.width}>px;<{/if}><{if $block.height != 0}>height: <{$block.height}>px;<{/if}>overflow: auto;">
    <
table cellspacing="0">
      <
tr>
      <{foreach 
item=placement from=$block.placements}>
        <{if 
$thistab.$placement}>
          <
td style="width:<{$thistab.width}>%; padding: 5px; vertical-align: top;">
            <{foreach 
item=thisblock from=$thistab.$placement}>
              <
div class="<{$block.class}>-block">
                <{if 
$block.showblockstitle == 1}>
                  <
h2 class="<{$block.class}>-blocktitle"><{$thisblock.title}></h2>
                <{/if}>
                <
div class="<{$block.class}>-blockcontent"><{$thisblock.content}></div>
              </
div>
            <{/foreach}>
          </
td>
        <{/if}>
      <{/foreach}>
      </
tr>
    </
table>
  </
div>
<{/foreach}>

<
script type="text/javascript">
var 
tabc_<{$block.uniqueid}>=new ddtabcontent("tabscontents-<{$block.uniqueid}>")
tabc_<{$block.uniqueid}>.setpersist(<{$block.persist}>)
tabc_<{$block.uniqueid}>.hidetabs(<{$block.hidetabs}>)
tabc_<{$block.uniqueid}>.setonmouseover(<{$block.onmouseover}>)
tabc_<{$block.uniqueid}>.setselectedClassTarget("link")
tabc_<{$block.uniqueid}>.init(<{$block.milisec}>)
</
script>



98
demian
Re: Jobs 4.1 Released for Xoops 2.4 versions
  • 2010/2/14 2:47

  • demian

  • Quite a regular

  • Posts: 225

  • Since: 2008/4/29


thanks



99
demian
Mytabs module - change tabs position from top to bottom ?
  • 2010/1/30 16:35

  • demian

  • Quite a regular

  • Posts: 225

  • Since: 2008/4/29


is it possible in mytabs, i want the tabs position to be in the bottom instead at top?

i want to have it something like this
http://www.dynamicdrive.com/dynamicindex17/featuredcontentslider.htm

Here's the code for the mytabsdefault class css..what do i need to change ?

.mytabsdefault-menu{
    
width100%;
    
padding0;
    
backgroundtransparent;
    
voice-family""}"";
    
voice-familyinherit;
}

.
mytabsdefault-menu ul{
    
margin:!important;
    
padding!important;
    list-
stylenone;
}

.
mytabsdefault-menu li{
    
displayinline;
    
padding!important;
}

.
mytabsdefault-menu a{
    
floatleft;
    
displayblock;
    
text-decorationnone;
    
margin0 2px 0 0 !important/*Margin between each menu item*/
    
padding10px 15px 11px 15px !important;
    
background-color#C6C7C9 !important;
    
font-weightbold;
    
border-bottom1px solid #ADB0B7;
}

.
mytabsdefault-menu a:hover{
    
background-color#F1F1F1 !important;
    
border-bottom1px solid #F1F1F1;
    
border-top1px solid #ADB0B7;
}

.
mytabsdefault-menu a.tabs-selected/*currently selected tab*/
    
background-color#F1F1F1 !important;
    
border-bottom1px solid #F1F1F1;
    
border-top1px solid #ADB0B7;
}

.
mytabsdefault-content{
    
displaynone;
    
background#fff url(mytabs_bg.jpg) top repeat-x;
    
margin0px;
    
padding0px;
}

.
mytabsdefault-block{
    
padding10px;
}

.
mytabsdefault-blocktitle{
    
margin-top0px;
}

.
mytabsdefault-blockcontent{
    
padding0px;
    
text-alignjustify;
}

@
media print {
    .
mytabsdefault-content {
        
display:block !important;
    }
}



100
demian
Re: Help with WOX theme Login Bar
  • 2010/1/24 15:44

  • demian

  • Quite a regular

  • Posts: 225

  • Since: 2008/4/29


although its working (perfectly with firefox browser) with my theme

i decided not to use due to incompatibility with some browser

example IE 7: xoops.org

http://img230.imageshack.us/img230/4808/xoops.jpg


this sucks man

can this be fix ?




TopTop
« 1 ... 7 8 9 (10) 11 12 13 ... 21 »



Login

Who's Online

156 user(s) are online (98 user(s) are browsing Support Forums)


Members: 0


Guests: 156


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits