This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Feb 27th, 2012  |  syntax: None  |  size: 0.64 KB  |  views: 38  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Ext.setup({
  2.     onReady: function() {
  3.                 var twitter ={
  4.                 dock:"top",
  5.                 style:"background-color: #000099;color:white;",
  6.                 title: "twitter",
  7.                 html: "some content from twitter comes here"
  8.                 }
  9.                 var plus ={
  10.                 dock:"top",
  11.                 style:"background-color: #aaaaa;color:black;",
  12.                 title: "Google Plus",
  13.                 html: "some content from Google Plus comes here"
  14.                 }
  15.                 var facebook ={
  16.                 dock:"top",
  17.                 style:"background-color: #aaaa55;color:white;",
  18.                 title: "facebook",
  19.                 html: "some content from Facebook comes here"
  20.                 }
  21.                 var rootPanel= new Ext.TabPanel({
  22.                 fullscreen: true,
  23.                 layout: 'fit',
  24.                 items: [twitter,plus,facebook]
  25.                 });
  26.        
  27.        
  28.         }
  29.         });
clone this paste RAW Paste Data