1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
6 <meta http-equiv="content-type" content="text/html;charset=utf-8" />
7 <title>Image tabs options</title>
15 border-bottom:2px solid #DDDDDD;
16 border-collapse:collapse;
26 font-family: Arial,Helvetica,Geneva,Swiss,SunSans-Regular,sans-serif;
33 background-color:#fff;
34 border-left:1px dashed #ddd;
35 border-right:1px dashed #ddd;
36 border-top:1px dashed #ddd;
42 background-color:#ddd;
45 .selected a, .selected a:visited, .selected a:hover {
46 background-color:#FFFFFF;
47 border-color:#ddd rgb(221, 221, 221) rgb(255, 255, 255);
49 border-width:2px 2px 3px;
55 <script type="text/javascript" language="javascript" charset="utf-8" src="epoz_script_detect.js"></script>
56 <script type="text/javascript" language="javascript" charset="utf-8" src="javascript_events_api.js"></script>
57 <script type="text/javascript">
61 var FCKPlugins = window.parent.FCKPlugins;
63 tabs = document.getElementsByTagName('a');
64 tabs[0].href = FCKPlugins.Items['image'].Path + 'embedded_images.html';
65 tabs[1].href = window.parent.FCKConfig.ImageBrowserURL;
66 addListener(document, 'click', updateTabs)
68 addListener(window, 'load', initTabs);
70 function updateTabs(evt) {
71 var t = getTargetedObject(evt);
72 if (t.tagName == 'A') {
73 for (var i=0 ; i<tabs.length ; i++) {
75 tabs[i].parentNode.className = 'selected';
77 tabs[i].parentNode.className = '';
88 <li class="selected"><a href="." target="main">Images du document</a></li>
89 <li><a href="." target="main">Images du site</a></li>