מדיה ויקי:Gadget-pgnviewer.js: הבדלים בין גרסאות בדף
כמקובל |
סודר |
||
| שורה 747: | שורה 747: | ||
anim = config.anim || anim; | anim = config.anim || anim; | ||
gameSet.fixedDelay = 'delay' in config; | |||
if ( gameSet.fixedDelay ) gameSet.autoPlayDelay = config.delay; | |||
if ( $( '#' + notationId ) ) notationId += '_1'; | if ( $( '#' + notationId ) ) notationId += '_1'; | ||
gameSet.pgnDiv = $('<div>', {'class': 'pgn-pgndiv', id: notationId } ); | gameSet.pgnDiv = $('<div>', {'class': 'pgn-pgndiv', id: notationId } ); | ||
| שורה 771: | שורה 775: | ||
.css({clear: 'both', textAlign: 'center'}) | .css({clear: 'both', textAlign: 'center'}) | ||
.append(gotostart.elem) | .append(gotostart.elem) | ||
.append(backstep.elem) | .append(backstep.elem); | ||
if ( ! gameSet.fixedDelay ) controlsDiv.append( gameSet.slowerButton.elem ); | |||
controlsDiv.append(gameSet.autoPlayButton.elem); | |||
if ( ! gameSet.fixedDelay ) controlsDiv.append( gameSet.fasterButton.elem ); | |||
controlsDiv | |||
.append(forward.elem) | .append(forward.elem) | ||
.append(gotoend.elem) | .append(gotoend.elem) | ||