Author: qmoriceau Date: 2013-04-19 17:38:31 +0200 (Fri, 19 Apr 2013) New Revision: 26 Url: http://chorem.org/projects/incubator/repository/revisions/26 Log: Version des sources fin de semaine 16 Removed: jtimerhtml5/images/ jtimerhtml5/menu.js jtimerhtml5/style.css Deleted: jtimerhtml5/menu.js =================================================================== --- jtimerhtml5/menu.js 2013-04-19 15:32:10 UTC (rev 25) +++ jtimerhtml5/menu.js 2013-04-19 15:38:31 UTC (rev 26) @@ -1,67 +0,0 @@ - -// -----------------------------------------------------... -function createMenu() { -document.write("<div class='menus'><table border=1 bordercolor="+menu_bordercolor+" style=cursor:default;position:absolute;top:"+y+";left:"+x+"; cellspacing=0; width="+elementW*3+"><tr>") -for (var i = 0; i < menu.length; i++) -document.write("<td bgcolor="+menu_bgcolor_normal+" id=menu"+i+" onmouseover=menuOver(this,"+i+") onmouseout=menuOut(this,"+i+") onclick=menuOver(this,"+i+") height="+elementH+" width="+elementW/2+" > "+menu[i]+"</td>") -document.write("</tr></table></div>") -for (var i = 0; i < submenu.length; i++) { -document.write("<table border=1 bordercolor="+menu_bordercolor+" style=display:none;cursor:hand;position:absolute;left:"+(x+(i*elementW/2))+";top:"+(y + elementH)+"; id=submenu"+i+" cellspacing=0 onmouseover=revealSubMenu("+i+") onmouseout=hideSubMenu("+i+") width="+elementW+">") -for (var j = 0; j < submenu[i].length; j++) -document.write("<tr><td bgcolor="+menu_bgcolor_normal+" onmouseover=styleOver(this) onmouseout=styleOut(this) height="+elementH+"> "+submenu[i][j]+"</td></tr>") -document.write("</table>") -} -} -// -----------------------------------------------------... -// ----------------------------------------------------- -function menuOver(element, numMenu) { -setDefaultStyle(element) -styleOver(element) -revealSubMenu(numMenu) -} -// ----------------------------------------------------- -function menuOut(element, numMenu) { -hideSubMenu(numMenu) -} -// ----------------------------------------------------- -function styleOver(element) { -element.bgColor = menu_bgcolor_over -} -// ----------------------------------------------------- -function styleOut(element) { -element.bgColor = menu_bgcolor_normal -} -// ----------------------------------------------------- -function setDefaultStyle() { -for (var i = 0; i < menu.length; i++) -O("menu"+i).bgColor = menu_bgcolor_normal -} -// ----------------------------------------------------- -// ----------------------------------------------------- -function revealSubMenu(numMenu) { -hideAll() -show( O("submenu"+numMenu) ) -} -// ----------------------------------------------------- -function hideSubMenu(numMenu) { -hide( O("submenu"+numMenu) ) -} -// ----------------------------------------------------- -function show(element) { -element.style.display = "" -} -// ----------------------------------------------------- -function hideAll() { -for (var i = 0; i < submenu.length; i++) -hideSubMenu(i) -} -// ----------------------------------------------------- -function hide(element) { -element.style.display = "none" -} -// ----------------------------------------------------- -// ----------------------------------------------------- -function O(id) { -return document.getElementById(id) -} -// ----------------------------------------------------- Deleted: jtimerhtml5/style.css =================================================================== --- jtimerhtml5/style.css 2013-04-19 15:32:10 UTC (rev 25) +++ jtimerhtml5/style.css 2013-04-19 15:38:31 UTC (rev 26) @@ -1,41 +0,0 @@ - -/* Boutons */ - -.boutonAct { - background-repeat:no-repeat; - background-position:center center; - width: 40px; - height: 40px; -} - -#demarreTache { - background: url(images/go-next.png); -} - -#arretTache { - background: url(images/process-stop.png); -} - -#nouveauProjet { - background: url(images/bookmark-new.png); -} - -#nouvelleTache { - background: url(images/document-new.png); -} - -#note { - background: url(images/notes.png); -} - -#alerte { - background: url(images/bell.png); -} - - - -.boutons {margin-top:32px; margin-bottom:20px} - -footer {width:100%;height:35px;position:fixed;bottom:0px;margin:0} - -th { border:thin solid}
participants (1)
-
qmoriceau@users.chorem.org