Asi už tušíte, že mám problém, s tabuľkami v Tinymce. Všetko som spravil tak ako to je na vzorovej stránke(len som zmenil triedy v CSS): http://www.tinymce.com/wiki.php/Plugin:table ,ale tiny ani len nenabehne. Iné pluginy mi fungujú(okrem advimage). Všetky súbory sú tam kde majú byť. Som fakt zmetený a neviem sa pohnúť.
Vie mi niekto poradiť?
Kód: Vybrať všetko
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="generator" content="PSPad editor, www.pspad.com">
<title>title</title>
<style type="text/css">
html, body, div, form, p, img, menu, ul, ol, li, a, h1, h2, h3{margin:0px; padding:0px}
html,body{height:100%}
body, table, form, h1, h2, h3, h4{font-family:tahoma}
body{}
#obal{Nborder:1px solid red; min-height:100%; min-width:950px; position:relative;}
#header{Nborder:1px solid red; background-color:#bbbbbb; margin:0px auto; height:275px; position:relative; z-index:100/*koli hover menu*/; overflow:visible}
#header h1{display:none}
#obsah{Nborder:1px solid red; position:relative; margin:0px auto; width:950px; padding-bottom:180px;}
#pataBG{Nborder:1px solid red; background-color:#bbbbbb; color:#ff1a00; position:absolute; bottom:0px; left:0px; Nmargin-top:-110px; width:100%; height:120px; background-color:#bbbbbb}
#pata{Nbackground-color:red; width:950px; margin:17px auto 0px; text-align:center}
form, #contentDiv{background-color:#f7fff7; position:relative}
h2{border-top:1px solid #e9f9ec; padding:5px 15px; position:relative; z-index:100; color:#955550; font-family:tahoma; margin:20px 0px 0px; background-color:#f7fff7}
form{border-top:1px solid #e7f9e7; padding:7px 15px; font-family:tahoma}
#contentDiv{Nborder-bottom:1px solid #e9ffc9; padding:5px 15px;}
.tinyT{border:5px solid red}
.tinyC{color:blue}
.tinyR{background-color:green}
</style>
<!--[if lt IE 7]>
<style type="text/css">
#obal{height:100%; }
</style>
<![endif]-->
<script language="javascript" type="text/javascript" src="./tinymce/jscripts/tiny_mce/tiny_mce.js"></script>
<script language="javascript" type="text/javascript">
tinyMCE.init({
mode : "textareas",
theme : "advanced",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
language : 'sk',
skin : "o2k7",
skin_variant : "black",
theme_advanced_buttons1 : "bold,|,italic,|,underline,|,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,forecolorpicker,|,removeformat,|,code",
style_formats : [
{title : 'Red text', inline : 'span', styles : {color : '#ff0000'}},
{title : 'Red header', block : 'h1', styles : {color : '#ff0000'}},
],
theme_advanced_blockformats : "p,div,h1,h2,h3,h4,h5,h6,blockquote,dt,dd,code,samp",
plugins : "table",
theme_advanced_buttons3_add : "tablecontrols",
table_styles : "tiny T=tinyT",
table_cell_styles : "tiny C=tinyC",
table_row_styles : "tiny R=tinyR",
table_cell_limit : 100,
table_row_limit : 5,
table_col_limit : 5
});
</script>
</head>
<body>
<div id="obal">
<div id="header">
</div>
</div>
<div id="obsah">
<form name="problemForm" action="DROM2.php" method="post">
Tak toto je to splavne tinymce:
<textarea name="textik" cols="80" rows="10"></textarea>
<input type="submit" value="submit" name="sb">
</form>
</div>
<div id="pataBG">
<div id="pata">
<a href="#">Toto je pata...</a>
</div>
</div>
</div>
</body>
</html>Tak sa mi tie tabuľky podarilo rozchodiť. Stiahol som to znova a prepísal som ten plugin novým...