»Forumlar »SE ? Core Labs »Markitup'a colleft ve colright Ekleme
  https://seditio.com.tr/eski1/forums.php?m=posts&q=946
          Geri Dön      -      Sayfayı Yazdırmak için tıklayın
Author: Kaan, Posted: 2010-09-29 01:17 GMT.
Markitup'a colleft ve colright Ekleme

plugins/markitup/js/set.js yi a??yorsunuz Alttakini bulun.
Kod:
{name: L.align, className: 'mAlign',
dropMenu: [
  {name: L.center, className: 'mCenter', openWith: '[center]', closeWith: '[/center]'},
  {name: L.justify, className: 'mJustify', openWith: '[justify]', closeWith: '[/justify]'},
  {name: L.left, className: 'mLeft', openWith: '[left]', closeWith: '[/left]'},
  {name: L.right, className: 'mRight', openWith: '[right]', closeWith: '[/right]'}
]},

Alttakiyle de?i?tirin.
Kod:
{name: L.align, className: 'mAlign',
dropMenu: [
  {name: L.center, className: 'mCenter', openWith: '[center]', closeWith: '[/center]'},
  {name: L.justify, className: 'mJustify', openWith: '[justify]', closeWith: '[/justify]'},
  {name: L.left, className: 'mLeft', openWith: '[left]', closeWith: '[/left]'},
  {name: L.right, className: 'mRight', openWith: '[right]', closeWith: '[/right]'}
  {name: L.colleft, className: 'mColleft', openWith: '[colleft]', closeWith: '[/colleft]'}
  {name: L.colright, className: 'mColright', openWith: '[colright]', closeWith: '[/colright]'}
]},

plugins/markitup/lang/en.lang.js veya tr.lang.js a??n alttakini ekleyin
Kod:
colleft: 'Colleft',
colright: 'colright'

plugins/markitup/style.css ye ekleyin
:
ss].markItUp .mColleft a    { background-image: url(images/text_horizontalrule.png); }

.markItUp .mColright a  { background-image: url(images/text_horizontalrule.png); }

teman?z?n css dosyas?na ekleyin
:
ss].colleft { float:left; margin:5px 15px 0 0; }

.colright { float:right; margin:5px 0 0 15px; }

i?lem tamamd?r.

Powered by SeditioPrint version