Jump to content

vit320

Member
  • Posts

    50
  • Joined

  • Last visited

Posts posted by vit320

  1. look this page and look header menu with image www.ga-ga-garage.com

    i want take the source code of the script that realize the image menu.

    Looking at source code i see this :

     

    <script language="JavaScript" type="text/JavaScript">
    <!--
    function MM_swapImgRestore() { //v3.0
    var i,x,a=document.MM_sr; for(i=0;a&&i
    <a.length&&(x=a)&&x.oSrc;i++) x.src=x.oSrc;
    }

    function MM_preloadImages() { //v3.0
    var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i
    <a.length; i++)
    if (a.indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a;}}
    }

    function MM_findObj(n, d) { //v4.01
    var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
    if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i
    <d.forms.length;i++) x=d.forms[n];
    for(i=0;!x&&d.layers&&i
    <d.layers.length;i++) x=MM_findObj(n,d.layers.document);
    if(!x && d.getElementById) x=d.getElementById(n); return x;
    }

    function MM_swapImage() { //v3.0
    var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i
    <(a.length-2);i+=3)
    if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    }
    //-->

    </script>

     

    after this (but i don't understood why previous script is inside a REM)

     

    i see this part of html...(see functions declared in javascript?)

    <td width="92" height="125" align="left"><img src="menu_up/grey_sx_down_1024.jpg" width="92" height="126"></td>
    <td width="145" align="right"><img src="menu_up/home_1024.jpg" width="142" height="126"></td>
    <td width="131"><a href="storia/storia.htm" target="_self" onMouseOver="MM_swapImage('Storia','','menu_up/storia02_1024.jpg',1)" onMouseOut="MM_swapImgRestore()"><img src="menu_up/storia01_1024.jpg" alt="Storia" name="Storia" width="131" height="126" border="0"></a></td>
    <td width="156"><a href="personaggi/beppe.htm" target="_self" onMouseOver="MM_swapImage('Personaggi','','menu_up/personaggi02_1024.jpg',1)" onMouseOut="MM_swapImgRestore()"><img src="menu_up/personaggi01_1024.jpg" alt="Personaggi" name="Personaggi" width="156" height="126" border="0"></a></td>
    <td width="140"><a href="progetti/progetti.htm" target="_self" onMouseOver="MM_swapImage('Progetti','','menu_up/progetti02_1024.jpg',1)" onMouseOut="MM_swapImgRestore()"><img src="menu_up/progetti01_1024.jpg" alt="Progetti" name="Progetti" width="140" height="126" border="0"></a></td>
    <td width="137"><a href="comics/comics.htm" target="_self" onMouseOver="MM_swapImage('Comics','','menu_up/comics02_1024.jpg',1)" onMouseOut="MM_swapImgRestore()"><img src="menu_up/comics01_1024.jpg" alt="Comics" name="Comics" width="137" height="126" border="0"></a></td>
    <td width="140"><a href="news/news.htm" target="_top" onMouseOver="MM_swapImage('News','','menu_up/news02_1024.jpg',1)" onMouseOut="MM_swapImgRestore()"><img src="menu_up/news01_1024.jpg" alt="News" name="News" width="139" height="126" border="0"></a></td>
    <td width="89"><img src="menu_up/grey_dx_down_1024.jpg" width="89" height="126"></td>

     

    So i think i can reuse this script i copy it in main.php but page result broken. what i lost?

     

     

     

  2. yes another example is prestashop and ok i can modify source, but my question is about this!

    I don't want modify source code to obtain this result, i think that seeing price of cubecart, i want (if team make them) this features as cubecart embedded!

    No ticket! hovewer i ask to me if there are other users that want this features :-)

    how we can say in my country : i launch a rock!

  3. nobody want that each box present in cart can be deactivate/activated inside admin panel?

    At this time i know that if i remove for example $CATEGORIES, i can remove list of categoris from template but when i want reinsert this feature i must modify source template!

    I will prefer a sort of admin for each box in template like active/ non active inside admin panel, and if possibile i will want an association with box and page, that is i want categories are showed in some page and in other not!

    is it possible?

     

  4. just modifyed this script to fit into my table..but when i click add product, tha table that is around basket script become a recursive table like attached image. I see the part of script...

     

    {foreach from=$CONTENTS item=item}
        <li>
          <span class="price">{$item.total}</span>
          <a href="{$item.link}" title="{$item.name}">{$item.quantity} &times; {$item.name_abbrev}</a>
        </li>
        {/foreach}

     

    but i ask this content is inside a <td> why it do this effect?

    look photo and try on www.pcutile.it to add some product to see recursive table...:-(

    i want obtain only a table that contain box.basket.php

     

    N.B: after adding several product and see recursive table..(it's a sample name ok?) if press F5 it update correctly why?

  5. this menu voice is related to vanilla skin, but the problem is  in table, that is simple table inserted for example in content of page give same error..look at this time..it's a simple table that if i use it how .html works well but inside kurouto (or when it is parsed via cubecart) it is showed as is now!

    http://www.pcutile.it/index.php

     

    it is evident at this time that tables are cutted in rows!! why happen this?

     

    this is inside common.css

    table {
        border: 0px;
        border-collapse: collapse;
        border-spacing: 0;
    }
    table td, table th {
        border: 0px;
        border-collapse: collapse;
        border-spacing: 0;
    }

  6. EXTRA NOTE: sure i not modified any menu settings in all common.css and other problem is showed in CONTENT area always at the same effect.

     

    this is what you ask

     

    #menu {
        list-style: none outside !important;
        margin: 0px;
        margin-top: 1px;
    }
    #menu ul {
        display: none;
        list-style: none outside !important;
        padding-left: 7px;
    }
    #menu li {
        min-height: 20px;
        border-bottom: 1px dotted #959595;
    }
    #menu li > a {
        display: block;
        line-height: 20px;
        text-indent: 0px;
    }
    #menu > li > a {
        text-indent: 12px !important;
        height: 38px;
        line-height: 38px;
        font-weight: bold;
    }
    #menu > li > a.menu_closed {
        background-image: url(../images/menu_top_closed.png);
    }
    #menu > li > a.menu_open {
        background-image: url(../images/menu_top_open.png) !important;
    }
    #menu > li > a.menu_closed, #menu > li > a.menu_open {
        background: no-repeat 0px;
    }
    #menu > li > ul {
        padding-left: 15px;
    }
    #menu li:first-child {
        border-top: none;
    }
    #menu li:last-child {
        border-bottom: none;
    }

  7. dirty butter... you be sure for me...i write software  since 1983 i know what is a text file!  Obvious i use notepad and i like it for typing source code. So i have tried several change but nothing, it's at this time if i use simple html without skin it work..inside skyn (any) it make this effect. I read and re-read css file and try to make some modication but NOTHING :-(. thanks hovewer for your help but I had never thought that i can't insert a simple table inside my document in cubecart (because i have used procedure of cart modifing a home page as document and copy past my code in fsck editor, but result is the same).

    Where is the problem?

  8. This for Bsmither..i will try to put all code in a line...

    i see that when i insert my coode int editor for example to make home page content, editor seems put other code inside the part betweeen <td>...</td>, for example it insert &nbsp; and format my html in a different code with space tha i don't want..why this?

     

    another..code make the same effect if i insert it in editor inside admin..so if i want make a table inside my content i can't? why this? code is only that and follow all requisite because it's is verified with validator and validator say it's ok..

  9. Ok :-) first of all i say thanks for your help.

    this is new versione , i made it followoing your suggestions

     

    <table style="width:183px; margin:0; padding:0; border:0; border-collapse: collapse;" >
    <tr>
    <td rowspan="1" colspan="2" style="width:14px; height:60px; padding:0;"><img src="http://www.pcutile.it/images/box_1x1.jpg" style="width:14px; height:60px; border:0;" alt="" /></td>
    <td colspan="1" rowspan="1" style="width:152px; height:60px; padding:0;"><img src="http://www.pcutile.it/images/box_1x2.jpg" style="width:152px; height:60px; border:0;" alt="" /></td>
    <td colspan="1" rowspan="1" style="width:17px; height:60px; padding:0; "><img src="http://www.pcutile.it/images/box_1x3.jpg" style="width=17px; height:60px; border:0;" alt="" /></td>
    </tr>

    <tr>
    <td rowspan="1" colspan="2" style="width:14px; height:90px; padding:0; vertical-align:top; background-image:url(http://www.pcutile.it/images/box_2x1.jpg); background-position:top 0px; background-repeat:repeat-y;"></td>
    <td colspan="1" rowspan="1" style="width:152px; height:90px; vertical-align:top; background-color: #feed01; padding:0; " >
    </td>
    <td rowspan="1" colspan="1" style="width:17px; height:90px; padding:0; vertical-align:top; background-image:url(http://www.pcutile.it/images/box_2x3.jpg); background-position:top 0px; background-repeat:repeat-y;"></td>
    </tr>

    <tr>
    <td rowspan="1" colspan="2" style="width:14px; height:6px; padding:0;"><img src="http://www.pcutile.it/images/box_3x1.jpg" style="width:14px; height:6px; border:0;" alt="" /></td>
    <td rowspan="1" colspan="1" style="width:152px; height:6px; padding:0;"><img src="http://www.pcutile.it/images/box_3x2.jpg" style="width:152px; height:6px; border:0;" alt="" /></td>
    <td rowspan="1" colspan="1" style="width:17px; height6px; padding:0;"><img src="http://www.pcutile.it/images/box_3x3.jpg" style="width:17px; height:6px; border:0;" alt="" /></td>
    </tr>

    <tr>
    <td colspan="1" rowspan="1" style="width:13px; height:58px; padding:0;"><img src="http://www.pcutile.it/images/box_4x1.jpg" style="width:13px; height:58px border:0;" alt="" /></td>
    <td rowspan="1" colspan="2" style="width:153px; height:58px; padding:0"><img src="http://www.pcutile.it/images/box_4x2.jpg" style="width:153px; height:58px border:0;" alt="" /></td>
    <td rowspan="1" colspan="1" style="width:17px; height:58px; padding:0"><img src="http://www.pcutile.it/images/box_4x3.jpg" style="width:17px; height:58px; border:0;" alt="" /></td>
    </tr>

    <tr>
    <td style="width:13px; height:1px; padding:0;"><img src="http://www.pcutile.it/images/blank.gif" style="width:13px; height:1; border:0;" alt=""></td>
    <td style="width:1px; height:1px; padding:0;"><img src="http://www.pcutile.it/images/blank.gif" style="width:1px; height:1px; border:0;" alt=""></td>
    <td style="width:152px; height:1px; padding:0;"><img src="http://www.pcutile.it/images/blank.gif" style="width:152px; height:1; border:0;" alt=""></td>
    <td style="width:17px; height:1px; padding:0;"><img src="http://www.pcutile.it/images/blank.gif" style="width:17px; height:1px border:0;" alt=""></td>
    </tr>
    </table>

     

     

    Know when i analyze source page into browser it show me the first line (<table ......>)

    in red color.

    but  if i use it how html code it show me correct table if i use it inside box.navigation.php it show always the same space between line. pheraps it is for error in first line of code? please help me. i leave open www.pcutile.it

  10. you mean write all <td>.<img...></td> in on rows or line it's true? well look this please..

     

    <table style="width=183; margin: 0; padding: 0; border: 0; border-collapse: collapse;" >
    <tr>
    <td rowspan="1" colspan="2" style="width=14; height=60; img { border: 0; }"><img src="http://www.pcutile.it/images/box_1x1.jpg" width="14" height="60" alt="" /></td>
    <td width="154" colspan="1" rowspan="1" style="width=152; height=60; img { border: 0; }"><img src="http://www.pcutile.it/images/box_1x2.jpg" width="152" height="60" alt="" /></td>
    <td width="17" colspan="1" rowspan="1" style="width=17; height=60; img { border: 0; }"><img  src="http://www.pcutile.it/images/box_1x3.jpg" width="17" height="60" alt="" /></td>
    </tr>

    <tr>
    <td rowspan="1" colspan="2" style="width=14; height=90; img { border: 0; } vertical-align=top; background-image:url(http://www.pcutile.it/images/box_2x1.jpg); background-position:top 0px; background-repeat:repeat-y;"></td>
    <td colspan="1" rowspan="1" valign="top" style="width=152; height=90; background-color: #feed01; img { border: 0; }" > <div>
      <h2>{$NAVIGATION_TREE}</h2>
    </div>
    </td>
    <td rowspan="1" colspan="1" style="width=17; height=90; img { border: 0; } vertical-align=top; background-image:url(http://www.pcutile.it/images/box_2x3.jpg); background-position:top 0px; background-repeat:repeat-y;"></td>
    </tr>

    <tr>
    <td rowspan="1" colspan="2" style="width=14; height=6; img { border: 0; }"><img src="http://www.pcutile.it/images/box_3x1.jpg" width="14" height="6" alt="" /></td>
    <td rowspan="1" colspan="1" style="width=152; height=6; img { border: 0; }"><img src="http://www.pcutile.it/images/box_3x2.jpg" width="152" height="6" alt="" /></td>
    <td rowspan="1" colspan="1" style="width=17; height=6; img { border: 0; }"><img src="http://www.pcutile.it/images/box_3x3.jpg" width="17" height="6" alt="" /></td>
    </tr>

    <tr>
    <td width="13" colspan="1" rowspan="1" style="width=13; height=58; img { border: 0; }"><img src="http://www.pcutile.it/images/box_4x1.jpg" width="13" height="58" alt="" /></td>
    <td rowspan="1" colspan="2" style="width=153; height=58; img { border: 0; }"><img src="http://www.pcutile.it/images/box_4x2.jpg" width="153" height="58" alt="" /></td>
    <td rowspan="1" colspan="1" style="width=17; height=58; img { border: 0; }"><img src="http://www.pcutile.it/images/box_4x3.jpg" width="17" height="58" alt="" /></td>
    </tr>

    <tr>
    <td style="width=13; height=1; img { border: 0; }"><img src="http://www.pcutile.it/images/blank.gif" width="13" height="1" alt=""></td>
    <td width="1" style="width=1; height=1; img { border: 0; }"><img  src="http://www.pcutile.it/images/blank.gif" width="1" height="1" alt=""></td>
    <td style="width=152; height=1; img { border: 0; }"><img src="http://www.pcutile.it/images/blank.gif" width="152" height="1" alt=""></td>
    <td style="width=17; height=1; img { border: 0; }"><img src="http://www.pcutile.it/images/blank.gif" width="17" height="1" alt=""></td>
    </tr>
    </table>

     

    know i have 3 space.. <td> was writed on the same line of code but in 3 parts i have hovewer a space between cell.

    code was suggest from validator...help me if possibles. thanks.

  11. hello i use this surce inside a page and it work well..

    <table border="0" cellpadding="0" cellspacing="0" width="183">
    <tr>
    <td rowspan="1" colspan="2" width="14" height="60">
        <img name="box0" src="http://www.pcutile.it/images/box_1x1.jpg" width="14" height="60" border="0" alt="" /></td>
    <td rowspan="1" colspan="1" width="152" height="60">
        <img name="box1" src="http://www.pcutile.it/images/box_1x2.jpg" width="152" height="60" border="0" alt="" /></td>
    <td rowspan="1" colspan="1" width="17" height="60">
        <img name="box2" src="http://www.pcutile.it/images/box_1x3.jpg" width="17" height="60" border="0" alt="" /></td>
    </tr>

    <tr>
    <td rowspan="1" colspan="2" width="14" height="90">
        <img name="box3" src="http://www.pcutile.it/images/box_2x1.jpg" width="14" height="90" border="0" alt="" /></td>
    <td rowspan="1" colspan="1" width="152" height="90">
        <img name="box4" src="http://www.pcutile.it/images/box_2x2.jpg" width="152" height="90" border="0" alt="" /></td>
    <td rowspan="1" colspan="1" width="17" height="90">
        <img name="box5" src="http://www.pcutile.it/images/box_2x3.jpg" width="17" height="90" border="0" alt="" /></td>
    </tr>

    <tr>
    <td rowspan="1" colspan="2" width="14" height="6">
        <img name="box6" src="http://www.pcutile.it/images/box_3x1.jpg" width="14" height="6" border="0" alt="" /></td>
    <td rowspan="1" colspan="1" width="152" height="6">
        <img name="box7" src="http://www.pcutile.it/images/box_3x2.jpg" width="152" height="6" border="0" alt="" /></td>
    <td rowspan="1" colspan="1" width="17" height="6">
        <img name="box8" src="http://www.pcutile.it/images/box_3x3.jpg" width="17" height="6" border="0" alt="" /></td>
    </tr>

    <tr>
    <td rowspan="1" colspan="1" width="13" height="58">
        <img name="box9" src="http://www.pcutile.it/images/box_4x1.jpg" width="13" height="58" border="0" alt="" /></td>
    <td rowspan="1" colspan="2" width="153" height="58">
        <img name="box10" src="http://www.pcutile.it/images/box_4x2.jpg" width="153" height="58" border="0" alt="" /></td>
    <td rowspan="1" colspan="1" width="17" height="58">
        <img name="box11" src="http://www.pcutile.it/images/box_4x3.jpg" width="17" height="58" border="0" alt="" /></td>
    </tr>

    <tr>
    <td width="13" height="1">
        <img name="box11" src="http://www.pcutile.it/images/blank.gif" width="13" height="1" border="0"></td>
    <td width="1" height="1">
        <img name="box12" src="http://www.pcutile.it/images/blank.gif" width="1" height="1" border="0"></td>
    <td width="152" height="1">
        <img name="box13" src="http://www.pcutile.it/images/blank.gif" width="152" height="1" border="0"></td>
    <td width="17" height="1">
        <img name="box14" src="http://www.pcutile.it/images/blank.gif" width="17" height="1" border="0"></td>
    </tr>
    </table>

     

    it works well likwe an html page but when i use inside kurouto skin it is showed wrong..like the posted image. infact looks to strabge opacity between the image that compose the table.now anyone know how can solve it? i have used several type of code like css that in this example are not present, but they don't work hovewer...

  12. Seems that login system don't work inside 5.2.1 with crosshatch template.

    User can register because user database after registration contain the registration..but after they can't login.

    test it on www.pcutile.it please, no message error or login message after login input.

  13. I want use this template and i use top menu with showing all voice in menu (extend tree categories).

    So when i use a menu that extend it's voice over gallery image , menu disappear when cursor reach area of gallery image in product page. Look www.pcutile.it ancd click on "consumabili" menu voice, if you want click in a voice over gallery menu disappear.

    I think this is programmed without user use in mind!

×
×
  • Create New...