Plugin Directory

Changeset 744633


Ignore:
Timestamp:
07/22/2013 10:11:03 PM (13 years ago)
Author:
colome
Message:

modif

Location:
slide-puzzle/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • slide-puzzle/trunk/js/slide-puzzle.js

    r744623 r744633  
    203203    this.canvas.style.width = w+"px";
    204204    this.canvas.style.height = h+"px";
    205     if (document.getElementById("backcolor"+ii).innerHTML.trim()!='')
    206             this.canvas.style.backcolor= =document.getElementById("backcolor"+ii).innerHTML.trim();
     205    if (document.getElementById("backcolor"+ii).innerHTML='')
     206            this.canvas.style.backcolor= =document.getElementById("backcolor"+ii).innerHTML;
    207207    //this.canvas.style.backcolor=
    208208    //this.canvas.style.position= "absolute";
  • slide-puzzle/trunk/slide-puzzle.php

    r744623 r744633  
    8686        $myimage = $options['myimage'];
    8787        $backcolor = $options['backcolor'];
    88         $endimage = $endimage['endimage'];
     88        $endimage = $options['endimage'];
    8989       
    9090
     
    227227                </td>
    228228                <td>
    229                     <input style="width: 200px" type="text" name="myimage" value="<?php echo ($myimage); ?>">
     229                    <input style="width: 300px" type="text" name="myimage" value="<?php echo ($myimage); ?>">
    230230                </td>
    231231                <td width="700">
     
    239239                </td>
    240240                <td>
    241                     <input style="width: 200px" type="text" name="message" value="<?php echo ($message); ?>">
     241                    <input style="width: 300px" type="text" name="message" value="<?php echo ($message); ?>">
    242242                </td>
    243243                <td width="700">
     
    250250                </td>
    251251                <td>
    252                     <input style="width: 100px" type="text" name="backcolor" value="<?php echo ($backcolor); ?>">
     252                    <input style="width: 300px" type="text" name="backcolor" value="<?php echo ($backcolor); ?>">
    253253                </td>
    254254                <td width="100">
Note: See TracChangeset for help on using the changeset viewer.