HTML Code As Items' Text
With CodeThatMenu you can include almost any HTML code as items' text. It can be
Any images that you can't describe as simple node's image. You can build it in the table.
Small or large part of formatted text with any text styles.
Bear in mind that all item's area will be clickable anyway.
To build HTML code in CodeThatMenu items use the constraction like this:
"items" : [
{
"text" : '<table align=center cellspacing="0" '
+ 'cellpadding="0" border="0" width=100%> '
+ '<TR><TD align=center><img src="img/home.gif"> '
+ '"</TD></TR>'
+ '<TR><TD align=center valign=middle>'
+ '<p class="center">Home'
+ '</TD></TR></TABLE>'
}
|
Example - HTML Code as Items' Text
You can see an example and complete code here - HTML code as items' text
Read more about CodeThatMenu >>
|