Changeset 10207

Show
Ignore:
Timestamp:
04/23/08 22:16:53 (5 years ago)
Author:
trapezoid
Message:

lang/javascript/vimperator-plugins/trunk/twitterView.js: textbox -> label

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/javascript/vimperator-plugins/trunk/twitterView.js

    r8958 r10207  
    11// Vimperator plugin: 'Statusbar Twitter' 
    2 // Last Change: 26-Mar-2008. Jan 2008 
     2// Last Change: 23-Apr-2008. Jan 2008 
    33// License: Creative Commons 
    44// Maintainer: Trapezoid <trapezoid.g@gmail.com> - http://unsigned.g.hatena.ne.jp/Trapezoid 
     
    99    var checkTime = 90 * 1000; 
    1010    var updateTime = 10 * 1000; 
    11     var maxWidth = '500px'; 
    1211 
    1312    var lastestId = 0; 
     
    3130    var hbox = document.createElement('hbox'); 
    3231    var iconPanel = document.createElement('image'); 
    33     var statusPanel = document.createElement('textbox'); 
     32    var statusPanel = document.createElement('label'); 
    3433 
    35     //hbox.style.overflow = "hidden"; 
     34    var commandline = document.getElementById('liberator-commandline'); 
    3635 
    3736    iconPanel.setAttribute('id','statusbar-twitter-timeline-icon'); 
     
    4140    statusPanel.setAttribute('id','statusbar-twitter-timeline-status'); 
    4241    statusPanel.setAttribute('class','plain'); 
    43     statusPanel.style.width = maxWidth; 
    4442 
    4543    hbox.appendChild(iconPanel); 
     
    4745 
    4846    hbox.setAttribute('id','statusbar-twitter-timeline'); 
    49     //document.getElementById('status-bar').insertBefore(hbox,document.getElementById('statusbar-display')); 
    50     //document.getElementById('liberator-commandline').appendChild(hbox); 
    51     document.getElementById('liberator-commandline').insertBefore(hbox,document.getElementById('liberator-commandline-command')); 
     47 
     48    commandline.style.overflow = "hidden"; 
     49    commandline.insertBefore(hbox,document.getElementById('liberator-commandline-command')); 
    5250 
    5351    document.getElementById('liberator-commandline-command').style.textAlign = "right";