lol

[JOHNCMS] markItUp! 1.1.14 johnCms 4.xx - 6.xx

28 February 11:21am
(0)    401K
screen

markItUp! 1.1.14

CHANGE LOG
markItUp! 1.1.14 2013-02-04
- Compatibility patch for jQuery 1.9+
- Click on menu bubbles up so it could be reused (michilehr)
- Fixed default selection after using a tag having either openBlockWith or closeBlockWith (r3c)

Custom bbcode
edit sets/style.css
CODE
http://www.onet4u.com

/* -------------------------------------------------------------------
// markItUp!
// By Jay Salvat - http://markitup.jaysalvat.com/
// ------------------------------------------------------------------*/
.markItUp .markItUpButton1 a{
background-image:url(images/bold.png);
}
.markItUp .markItUpButton2 a{
background-image:url(images/italic.png);
}
.markItUp .markItUpButton3 a{
background-image:url(images/underline.png);
}

.markItUp .markItUpButton4 a{
background-image:url(images/picture.png);
}
.markItUp .markItUpButton5 a{
background-image:url(images/link.png);
}

.markItUp .markItUpButton6 a{
background-image:url(images/fonts.png);
}
.markItUp .markItUpButton7 a{
background-image:url(images/list-bullet.png);
}
.markItUp .markItUpButton8 a{
background-image:url(images/list-numeric.png);
}
.markItUp .markItUpButton9 a{
background-image:url(images/list-item.png);
}

.markItUp .markItUpButton10 a{
background-image:url(images/quotes.png);
}
.markItUp .markItUpButton11 a{
background-image:url(images/code.png);
}

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

http://www.onet4u.com


edit sets/set.js
CODE
http://www.onet4u.com

mySettings = {
previewParserPath:'', 
markupSet: [
{name:'Bold', key:'B', openWith:'[b]', closeWith:'[/b]'},
{name:'Italic', key:'I', openWith:'[i]', closeWith:'[/i]'},
{name:'Underline', key:'U', openWith:'[u]', closeWith:'[/u]'},
{separator:'---------------' },
{name:'Picture', key:'P', replaceWith:'[img][![Url]!][/img]'},
{name:'Link', key:'L', openWith:'[url=[![Url]!]]', closeWith:'[/url]', placeHolder:'Your text to link here...'},
{separator:'---------------' },
{name:'Size', key:'S', openWith:'[size=[![Text size]!]]', closeWith:'[/size]',
dropMenu :[
{name:'Big', openWith:'[size=200]', closeWith:'[/size]' },
{name:'Normal', openWith:'[size=100]', closeWith:'[/size]' },
{name:'Small', openWith:'[size=50]', closeWith:'[/size]' }
]},
{separator:'---------------' },
{name:'Bulleted list', openWith:'[list]\n', closeWith:'\n[/list]'},
{name:'Numeric list', openWith:'[list=[![Starting number]!]]\n', closeWith:'\n[/list]'}, 
{name:'List item', openWith:'[*] '},
{separator:'---------------' },
{name:'Quotes', openWith:'[quote]', closeWith:'[/quote]'},
{name:'Code', openWith:'[code]', closeWith:'[/code]'}, 
{separator:'---------------' },
{name:'Clean', className:"clean", replaceWith:function(markitup) { return markitup.selection.replace(/\[(.*?)\]/g, "") } },
{name:'Preview', className:"preview", call:'preview' }
]
}

http://www.onet4u.com

SCRINSHOT


LINK DOWNLOAD
DOWNLOAD HERE
screen
Sharing is Caring
digg  
digg    googel   facebook    twitter    delicious
Comments
Categories Uncategorized 10 Android Apps 151 Windows Tools 20 PHP & HTML Script 17 Tutorials 25 Novel 1 Music Maker 4 Mac OS X 6 Data Recovery 7 Games 62 3D/Animation 11 Web-Design 7 Antivirus/Security 5 Android ROMs 5 The Viral Story 6 Whmcs Free/Nulled 1