Commit 1ef3c90f authored by Claudio Valerio's avatar Claudio Valerio

Merge remote-tracking branch 'origin/Sankore-1.40'

Conflicts:
	.gitignore
	Sankore_3.1.pro
	buildDebianPackage
	lgpl.txt
	release.linux.sh
	release.macx.sh
	release.win7.vc9.bat
	resources/etc/SankoreEditor/editor_en/index.html
	resources/etc/SankoreEditor/editor_fr/index.html
	resources/forms/preferences.ui
	resources/i18n/sankore_ar.ts
	resources/i18n/sankore_da.ts
	resources/i18n/sankore_de.ts
	resources/i18n/sankore_en.ts
	resources/i18n/sankore_en_UK.ts
	resources/i18n/sankore_es.ts
	resources/i18n/sankore_fr.ts
	resources/i18n/sankore_fr_CH.ts
	resources/i18n/sankore_it.ts
	resources/i18n/sankore_iw.ts
	resources/i18n/sankore_ja.ts
	resources/i18n/sankore_ko.ts
	resources/i18n/sankore_nb.ts
	resources/i18n/sankore_nl.ts
	resources/i18n/sankore_pl.ts
	resources/i18n/sankore_pt.ts
	resources/i18n/sankore_rm.ts
	resources/i18n/sankore_ro.ts
	resources/i18n/sankore_ru.ts
	resources/i18n/sankore_sk.ts
	resources/i18n/sankore_sv.ts
	resources/i18n/sankore_zh.ts
	resources/library/applications/Cellule.wgt/js/textes_descriptifs.js
	src/adaptors/UBExportCFF.h
	src/adaptors/UBSvgSubsetAdaptor.cpp
	src/board/UBBoardController.cpp
	src/board/UBBoardView.cpp
	src/core/UBDisplayManager.cpp
	src/core/UBSettings.cpp
	src/customWidgets/UBActionableWidget.cpp
	src/customWidgets/UBActionableWidget.h
	src/customWidgets/UBMediaWidget.cpp
	src/customWidgets/UBMediaWidget.h
	src/customWidgets/customWidgets.pri
	src/domain/UBGraphicsAudioItem.cpp
	src/domain/UBGraphicsItemDelegate.cpp
	src/domain/UBGraphicsScene.cpp
	src/domain/UBGraphicsScene.h
	src/domain/UBGraphicsVideoItem.cpp
	src/domain/UBW3CWidget.cpp
	src/frameworks/UBPlatformUtils_mac.mm
	src/gui/UBDockPalette.cpp
	src/gui/UBNavigatorPalette.cpp
	src/interfaces/IDataStorage.h
parents 278fa7da abefae5a

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

......@@ -46,6 +46,9 @@ Thumbs.db
*.ncb
*.pro.user
*.idb
.project
.settings
Makefile.Sankore*
# Build files #
###############
......
This diff is collapsed.
......@@ -117,7 +117,7 @@ Root: HKLM64; Subkey: "SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\Low Righ
[Run]
Filename: "{tmp}\vcredist_x86.exe";WorkingDir:"{tmp}"; Parameters: "/q:a/c:""VCREDI~3.EXE /q:a /c:""""msiexec /i vcredist.msi /qn"""""""; StatusMsg: Installing CRT ...
Filename: "{app}\Open-Sankore.exe"; Description: "{cm:LaunchProgram,Open-Sankore}"; Flags: nowait postinstall
Filename: "{app}\Open-Sankore.exe"; Description: "{cm:LaunchProgram,Open-Sankore}"; Flags: nowait postinstall skipifsilent
[UninstallDelete]
; cleanup and delete whole installation directory
......
This diff is collapsed.
......@@ -13,8 +13,8 @@ linux-g++-64 {
VERSION_MAJ = 1
VERSION_MIN = 50
VERSION_TYPE = a # a = alpha, b = beta, r = release, other => error
VERSION_PATCH = 20
VERSION_TYPE = b # a = alpha, b = beta, r = release, other => error
VERSION_PATCH = 01
VERSION = "$${VERSION_MAJ}.$${VERSION_MIN}.$${VERSION_TYPE}.$${VERSION_PATCH}"
VERSION = $$replace(VERSION, "\\.r", "")
......@@ -54,7 +54,6 @@ include(src/tools/tools.pri)
include(src/desktop/desktop.pri)
include(src/web/web.pri)
include(src/transition/transition.pri)
include(src/customWidgets/customWidgets.pri)
include(src/interfaces/interfaces.pri)
DEPENDPATH += src/pdf-merger
......@@ -311,12 +310,18 @@ macx {
}
exists(resources/i18n/sankore_sk.qm) {
TRANSLATION_pt.files = resources/i18n/sankore_sk.qm \
TRANSLATION_sk.files = resources/i18n/sankore_sk.qm \
resources/i18n/Localizable.strings
TRANSLATION_pt.path = "$$RESOURCES_DIR/sk.lproj"
TRANSLATION_sk.path = "$$RESOURCES_DIR/sk.lproj"
QMAKE_BUNDLE_DATA += TRANSLATION_sk
}
exists(resources/i18n/sankore_bg.qm) {
TRANSLATION_bg.files = resources/i18n/sankore_bg.qm \
resources/i18n/Localizable.strings
TRANSLATION_bg.path = "$$RESOURCES_DIR/bg.lproj"
QMAKE_BUNDLE_DATA += TRANSLATION_bg
}
QMAKE_BUNDLE_DATA += UB_ETC \
UB_LIBRARY \
UB_FONTS \
......@@ -407,7 +412,8 @@ TRANSLATIONS = resources/i18n/sankore_en.ts \
resources/i18n/sankore_ar.ts \
resources/i18n/sankore_iw.ts \
resources/i18n/sankore_pt.ts \
resources/i18n/sankore_sk.ts
resources/i18n/sankore_sk.ts \
resources/i18n/sankore_bg.ts
INSTALLS = UB_ETC \
UB_I18N \
......
This diff is collapsed.
This diff is collapsed.
......@@ -113,6 +113,7 @@ notify-send "Git Hub" "Make a tag of the delivered version"
VERSION=`cat $RELEASE_DIR/version`
if [ ! -f $RELEASE_DIR/version ]; then
notifyError "version not found"
exit 1
else
LAST_COMMITED_VERSION="`git describe $(git rev-list --tags --max-count=1)`"
if [ "v$VERSION" != "$LAST_COMMITED_VERSION" ]; then
......@@ -358,4 +359,4 @@ cd $RELEASE_DIR
rm ../../../install/linux/Open-Sankore.tar.gz
tar cvzf ../../../install/linux/Open-Sankore.tar.gz Open-Sankore.$VERSION -C .
notify-send "Open-Sankore" "tar.gz Build done"
\ No newline at end of file
notify-send "Open-Sankore" "tar.gz Build done"
......@@ -114,10 +114,14 @@ QMAKE_CMD="$QMAKE -spec macx-g++"
$QMAKE_CMD
notify "Translations ..."
$LRELEASE "Sankore_3.1.pro"
# build
notify "Compiling ..."
make -j4 release
notify "Qt Translations ..."
addQtTranslations
cp -R resources/customizations $PRODUCT_DIR/Open-Sankore.app/Contents/Resources
......@@ -131,8 +135,8 @@ else
LAST_COMMITED_VERSION="`git describe $(git rev-list --tags --max-count=1)`"
if [ "v$VERSION" != "$LAST_COMMITED_VERSION" ]; then
echo creating a tag with the version $VERSION
# git tag -a "v$VERSION" -m "Generated setup for v$VERSION"
# git push origin --tags
git tag -a "v$VERSION" -m "Generated setup for v$VERSION"
git push origin --tags
fi
fi
......@@ -200,13 +204,16 @@ notify "Creating dmg ..."
umount "$VOLUME" 2> /dev/null
$DMGUTIL --open --volume="$NAME" "$DMG"
cp *.pdf "$VOLUME"
cp -R "$APP" "$VOLUME"
ln -s /Applications "$VOLUME"
$DMGUTIL --set --iconsize=96 --toolbar=false --icon=resources/macx/UniboardDmg.icns "$VOLUME"
$DMGUTIL --set --x=20 --y=60 --width=580 --height=312 "$VOLUME"
$DMGUTIL --set --x=180 --y=160 "$VOLUME/`basename \"$APP\"`"
$DMGUTIL --set --x=400 --y=160 "$VOLUME/Applications"
$DMGUTIL --set --x=20 --y=60 --width=580 --height=440 "$VOLUME"
$DMGUTIL --set --x=180 --y=120 "$VOLUME/`basename \"$APP\"`"
$DMGUTIL --set --x=400 --y=120 "$VOLUME/Applications"
$DMGUTIL --set --x=180 --y=280 "$VOLUME/ReleaseNotes.pdf"
$DMGUTIL --set --x=400 --y=280 "$VOLUME/JournalDesModifications.pdf"
$DMGUTIL --close --volume="$NAME" "$DMG"
......
......@@ -56,14 +56,12 @@ REM erase tmp
REM echo %VERSION%
REM echo %LAST_TAG_VERSION%
REM if not v%VERSION%==%LAST_TAG_VERSION% GOTO EXIT_WITH_ERROR
nmake release-install
copy %BASE_QT_TRANSLATIONS_DIRECTORY%\qt_*.qm build\win32\release\product\i18n\
mkdir build\win32\release\product\customizations
xcopy /s resources\customizations\* build\win32\release\product\customizations
set I18n=build\win32\release\product\i18n
mkdir %I18n%
xcopy /s resources\i18n\*.qm %I18n%
xcopy /s %BASE_QT_TRANSLATIONS_DIRECTORY%\qt_*.qm %I18n%\
del build\win32\release\product\i18n\qt_help*
......@@ -75,5 +73,3 @@ set INSTALLER_PATH=.\install\win32\%INSTALLER_NAME%.exe
call "%INNO_EXE%" "Sankore 3.1.iss" /F"%INSTALLER_NAME%"
:EXIT_WITH_ERROR
echo ERROR
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="RapidWeaver" />
<title>Editor</title>
<link rel="stylesheet" type="text/css" media="screen" href="rw_common/themes/caribou/styles.css" />
<!--[if IE 6]><link rel="stylesheet" type="text/css" media="screen" href="rw_common/themes/caribou/css/ie6.css" /><![endif]-->
<link rel="stylesheet" type="text/css" media="screen" href="rw_common/themes/caribou/colourtag-theme-default.css" />
<link rel="stylesheet" type="text/css" media="print" href="rw_common/themes/caribou/print.css" />
<link rel="stylesheet" type="text/css" media="handheld" href="rw_common/themes/caribou/handheld.css" />
<!--[if IE]><style type="text/css" media="screen">body {behavior: url(rw_common/themes/caribou/csshover.htc);}</style><![endif]-->
<link rel="stylesheet" type="text/css" media="screen" href="rw_common/themes/caribou/css/banner/swirls.css" />
<link rel="stylesheet" type="text/css" media="screen" href="rw_common/themes/caribou/css/logo_position/center.css" />
<link rel="stylesheet" type="text/css" media="screen" href="rw_common/themes/caribou/css/sidebar/sidebar_right.css" />
<link rel="stylesheet" type="text/css" media="screen" href="rw_common/themes/caribou/css/icons/black.css" />
<script type="text/javascript" src="rw_common/themes/caribou/javascript.js"></script>
<script type="text/javascript" charset="utf-8"> var blankSrc = "rw_common/themes/caribou/png/blank.gif";</script>
<style type="text/css"> img { behavior: url("rw_common/themes/caribou/png/pngbehavior.htc"); }</style>
</head>
<!-- This page was created with RapidWeaver from Realmac Software. http://www.realmacsoftware.com -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Sankoré editor</title>
<style type="text/css">
<!--
.white { color: #FFF;
}
body {
background-color: #E5E3DB;
}
body,td,th {
font-family: Verdana, Geneva, sans-serif;
color: #666;
text-align: left;
}
.conteneur {
background-color: #5C5C5C;
text-align: center;
}
.c {
text-align: center;
}
.m {
font-size: medium;
}
a:link {
color: #666;
}
a:visited {
color: #666;
}
a:hover {
color: #000;
}
a:active {
color: #666;
}
-->
</style>
</head>
<body>
<div id="bar"></div>
<div id="container"><!-- Start container -->
<div id="pageHeader"><!-- Start page header -->
<div id="navcontainer"><!-- Start Navigation -->
<ul><li><a href="index.html" rel="self" id="current">Editor</a></li></ul>
</div><!-- End navigation -->
<div id="title">
<div id="logo"></div>
<h1>Sankor&eacute; Editor</h1>
<h2>Instructions on how to use the Sankor&eacute; Editor</h2>
<div id="overlay_swirls"><img src="rw_common/themes/caribou/images/header_swirls.png" alt="" style="width: 900px; height: 150px;" /></div>
<div id="overlay_stripes_glow"><img src="rw_common/themes/caribou/images/header_stripes_glow.png" alt="" style="width: 900px; height: 150px;" /></div>
<div id="overlay_stripes_solid"><img src="rw_common/themes/caribou/images/header_stripes_solid.png" alt="" style="width: 900px; height: 150px;" /></div>
<div id="overlay_curve_solid"><img src="rw_common/themes/caribou/images/header_curve_solid.png" alt="" style="width: 900px; height: 150px;" /></div>
</div>
<div id="background"><img src="rw_common/themes/caribou/images/header_bg.png" alt="" style="width: 914px; height: 197px;" /></div>
</div><!-- End page header -->
<div id="contentContainer"><!-- Start main content wrapper -->
<div id="content"><!-- Start content -->
<div class="contentSpacer"></div><!-- this makes sure the content is long enough for the design -->
<p style="text-align:center;"><br /><br /><br /></p><p style="text-align:left;"><span style="font:14px Trebuchet, Verdana, serif; font-weight:bold; font-weight:bold; ">The Sankor&eacute; Editor allows you to create rich interactivity scenarios to be used within the Sankor&eacute; 3.1 Software</span><span style="font:12px Trebuchet, Verdana, serif; "><br /></span><span style="font:11px Trebuchet, Verdana, serif; "><br />BEWARE : You must be connected to the Internet to use the editor and the current version is only available in french</span><span style="font:12px Trebuchet, Verdana, serif; "><br /><br /></span><span style="font:13px Trebuchet, Verdana, serif; ">When you get into the editor, you will need to authentify.<br /><br />In order to test it, you can, just as shown below, use the identifier and password &ldquo;demo&rdquo;.<br /></span><span style="font:12px Trebuchet, Verdana, serif; "><br /></span></p><p style="text-align:center;"><img class="imageStyle" alt="login_paraschool" src="files/login_paraschool.png" width="371" height="252" /><span style="font:12px Trebuchet, Verdana, serif; "><br /></span></p><p style="text-align:left;"><span style="font:12px Trebuchet, Verdana, serif; "><br /></span><span style="font:13px Trebuchet, Verdana, serif; ">If you wish to use it as your personal content creation tool, please send a mail to this </span><span style="font:13px Trebuchet, Verdana, serif; "><a href="mailto:daniel.lebret@gmail.com" rel="self">address</a></span><span style="font:13px Trebuchet, Verdana, serif; "> explaining you want to create an account for the Sankor&eacute; Editor.<br /><br /></span></p><p style="text-align:center;"><span style="font:13px Trebuchet, Verdana, serif; "><a href="http://editeur.sankore.org" rel="self">Click here to connect to the Sankor&eacute; Editor<br /></a></span><a href="http://editeur.sankore.org" rel="self"><img class="imageStyle" alt="connect_screen" src="files/connect_screen.png" width="303" height="75" /></a></p>
<div class="clearer"></div>
</div><!-- End content -->
</div><!-- End main content wrapper -->
<div id="sidebarContainer"><!-- Start Sidebar wrapper -->
<div id="sidebar"><!-- Start sidebar content -->
<div class="sideHeader"></div><!-- Sidebar header -->
<!-- sidebar content you enter in the page inspector -->
<!-- sidebar content such as the blog archive links -->
</div><!-- End sidebar content -->
</div><!-- End sidebar wrapper -->
<div class="clearer"></div>
</div><!-- End container -->
<div class="clearer"></div>
<div id="footer"><!-- Start Footer -->
<p></p>
<div id="breadcrumbcontainer"><!-- Start the breadcrumb wrapper -->
</div><!-- End breadcrumb -->
</div><!-- End Footer -->
<table width="843" border="0" align="center">
<tr>
<td class="conteneur"><p><img src="files/logo.png" width="196" height="22" alt="editeur" /></p>
<p><span class="white">Instructions on how to use Sankoré editor </span></p>
<p><span class="white">THE CURRENT VERSION IS ONLY AVAILABLE IN FRENCH</span></p></td>
</tr>
<tr>
<td><div align="center"><img src="files/outils.png" width="128" height="128" alt="outils" /> <img src="files/mappe.png" width="128" height="128" alt="mappe" /> <img src="files/calepin.png" width="128" height="128" alt="calepin" /></div></td>
</tr>
<tr>
<td><p>Sankoré Editor allows you to create rich interactivity scenarios. Create interactive content easily with basic activities that can be used in various subjects (attach images, sounds, order of words, phrases, create categories ...). This content can then be added to the software Open-Sankore. </p></td>
</tr>
<tr>
<td><p>Requirement to work with the editor :</p>
<ul>
<li>a Web access</li>
<li>an account on Planète Sankoré</li>
</ul></td>
</tr>
<tr>
<td><div align="center">
<p>&nbsp;</p>
<p><a href="http://editeur.sankore.org" title="Editeur" target="_self" class="c">Click here to connect to the Sankoré Editor</a></p>
</div></td>
</tr>
<tr>
<td><p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p></td>
</tr>
<tr>
<td>Sankoré editor is hosted on <a href="http://planete.sankore.org/" target="_self">planete.sankore.org</a></td>
</tr>
</table>
<p>&nbsp;</p>
</body>
</html>
#navcontainer a {
padding: 15px 15px 17px 15px;
height: 0px;
}
\ No newline at end of file
<attach event="ondocumentready" handler="parseStylesheets" />
<script>
/**
* Whatever:hover - V2.01.050927 - hover, active & focus
* ------------------------------------------------------------
* (c) 2005 - Peter Nederlof
* Peterned - http://www.xs4all.nl/~peterned/
* License - http://creativecommons.org/licenses/LGPL/2.1/
*
* Whatever:hover is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* Whatever:hover is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* Credits and thanks to:
* Arnoud Berendsen, Martin Reurings, Robert Hanson
*
* howto: body { behavior:url("csshover.htc"); }
* ------------------------------------------------------------
*/
var csshoverReg = /(^|\s)((([^a]([^ ]+)?)|(a([^#.][^ ]+)+)):(hover|active))|((a|input|textarea):unknown)/i,
currentSheet, doc = window.document, hoverEvents = [], activators = {
onhover:{on:'onmouseover', off:'onmouseout'},
onactive:{on:'onmousedown', off:'onmouseup'},
onunknown:{on:'onfocus', off:'onblur'}
}
function parseStylesheets() {
if(!/MSIE (5|6)/.test(navigator.userAgent)) return;
window.attachEvent('onunload', unhookHoverEvents);
var sheets = doc.styleSheets, l = sheets.length;
for(var i=0; i<l; i++)
parseStylesheet(sheets[i]);
}
function parseStylesheet(sheet) {
if(sheet.imports) {
try {
var imports = sheet.imports, l = imports.length;
for(var i=0; i<l; i++) parseStylesheet(sheet.imports[i]);
} catch(securityException){}
}
try {
var rules = (currentSheet = sheet).rules, l = rules.length;
for(var j=0; j<l; j++) parseCSSRule(rules[j]);
} catch(securityException){}
}
function parseCSSRule(rule) {
var select = rule.selectorText, style = rule.style.cssText;
if(!csshoverReg.test(select) || !style) return;
var pseudo = select.replace(/[^:]+:([a-z-]+).*/i, 'on$1');
var newSelect = select.replace(/(\.([a-z0-9_-]+):[a-z]+)|(:[a-z]+)/gi, '.$2' + pseudo);
var className = (/\.([a-z0-9_-]*on(hover|active|unknown))/i).exec(newSelect)[1];
var affected = select.replace(/:(hover|active|unknown).*$/, '');
var elements = getElementsBySelect(affected);
if(elements.length == 0) return;
currentSheet.addRule(newSelect, style);
for(var i=0; i<elements.length; i++)
new HoverElement(elements[i], className, activators[pseudo]);
}
function HoverElement(node, className, events) {
if(!node.hovers) node.hovers = {};
if(node.hovers[className]) return;
node.hovers[className] = true;
hookHoverEvent(node, events.on, function() { node.className += ' ' + className; });
hookHoverEvent(node, events.off, function() { node.className = node.className.replace(new RegExp('\\s+'+className, 'g'),''); });
}
function hookHoverEvent(node, type, handler) {
node.attachEvent(type, handler);
hoverEvents[hoverEvents.length] = {
node:node, type:type, handler:handler
};
}
function unhookHoverEvents() {
for(var e,i=0; i<hoverEvents.length; i++) {
e = hoverEvents[i];
e.node.detachEvent(e.type, e.handler);
}
}
function getElementsBySelect(rule) {
var parts, nodes = [doc];
parts = rule.split(' ');
for(var i=0; i<parts.length; i++) {
nodes = getSelectedNodes(parts[i], nodes);
} return nodes;
}
function getSelectedNodes(select, elements) {
var result, node, nodes = [];
var identify = (/\#([a-z0-9_-]+)/i).exec(select);
if(identify) return [doc.getElementById(identify[1])];
var classname = (/\.([a-z0-9_-]+)/i).exec(select);
var tagName = select.replace(/(\.|\#|\:)[a-z0-9_-]+/i, '');
var classReg = classname? new RegExp('\\b' + classname[1] + '\\b'):false;
for(var i=0; i<elements.length; i++) {
result = tagName? elements[i].all.tags(tagName):elements[i].all;
for(var j=0; j<result.length; j++) {
node = result[j];
if(classReg && !classReg.test(node.className)) continue;
nodes[nodes.length] = node;
}
} return nodes;
}
</script>
\ No newline at end of file
/*<group=General Styles>*/
body {
text-align: left;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 0.9em;
margin: 0px;
padding: 0;
white-space: pre;
}
p {
}
b, strong {
}
a:link {
color: #0000ff;
text-decoration: underline;
}
a:visited {
color: #681796;
}
a:hover, a:active {
text-decoration: none;
background: #0000ff;
color: #ffffff;
}
img {
max-width: 99%;
}
.image-left {
}
.image-right {
}
/*</group>*/
/*<group=Layout>*/
#container {
background: #ffffff;
background-image: none;
width: 100%;
}
#pageHeader {
height: auto;
text-align: left;
margin-bottom: 8px;
background: #000000;
padding: 3px;
border-bottom: solid #191919 2px;
}
#pageHeader img {
position: relative;
top: auto;
right: auto;
}
#pageHeader h1 {
color: #ffffff;
font-size: 1.3em;
margin: 0 0 5px;
padding-top: 0px;
font-weight: bold;
}
#pageHeader h2 {
font-size: 1.1em;
margin: 0;
color: #ffffff;
font-weight: normal;
}
#contentContainer {
margin: 0px;
display: block;
width: auto;
}
#contentContainer #content {
margin: 0;
padding: 0;
}
#sidebarContainer {
float: none;
width: auto;
display: block;
margin-bottom: 10px;
padding-bottom: 10px;
border-bottom: 1px solid #808080;
}
#sidebarContainer #sidebar {
margin: 0;
padding: 0px;
}
#sidebarContainer .sideHeader {
color: #000000;
font-weight: bold;
margin-bottom: 5px;
}
#footer {
width: auto;
text-align: left;
padding: 0px;
margin: 0;
}
#footer p {
}
#footer a:link, #footer a:visited {
}
#footer a:hover, #footer a:active {
}
/*</group>*/
/*<group=Bread-crumb>*/
#breadcrumbcontainer {
margin-bottom: 5px;
}
#breadcrumbcontainer ul {
list-style: none;
margin: 0;
padding: 0;
}
#breadcrumbcontainer li {
display: inline;
padding: 0;
margin: 0;
}
#breadcrumbcontainer a {
padding: 0;
}
#breadcrumbcontainer a:hover {
}
/*</group>*/
/*<group=Toolbar>*/
/* Toolbar Styles */
#navcontainer {
color: #000000;
margin: 0 0 10px 0;
padding: 0;
}
#navcontainer #current {
}
#navcontainer #current:hover {
}
#navcontainer .currentAncestor {
}
/* Parent - Level 0 */
#navcontainer ul{
margin: 0;
padding: 0;
list-style-type: none;
}
#navcontainer li {
margin: 0;
padding: 0;
}
#navcontainer a {
padding: 0;
}
#navcontainer a:hover {
}
#navcontainer a:active {
}
/* Child - Level 1 */
#navcontainer ul ul {
list-style-type: none;
margin-left: 2px;
padding: 0;
color: black;
}
#navcontainer ul ul li {
padding-left: 5px;
}
#navcontainer ul ul a {
padding: 0;
}
#navcontainer ul ul a:hover{
}
#navcontainer ul ul #current{
}
/* Child - Level 2 */
#navcontainer ul ul ul {
}
#navcontainer ul ul ul li {
padding-left: 10px;
}
#navcontainer ul ul ul a{
}
#navcontainer ul ul ul a:hover{
}
/* Child Level 3 */
#navcontainer ul ul ul {
}
#navcontainer ul ul ul ul li {
padding-left: 15px;
}
#navcontainer ul ul ul ul a{
}
#navcontainer ul ul ul ul a:hover{
}
/* Child Level 4 */
#navcontainer ul ul ul ul {
}
#navcontainer ul ul ul ul ul li {
padding-left: 20px;
}
#navcontainer ul ul ul ul ul a{
}
#navcontainer ul ul ul ul ul a:hover{
}
/* Child Level 5 */
#navcontainer ul ul ul ul ul {
}
#navcontainer ul ul ul ul ul ul li {
}
#navcontainer ul ul ul ul ul ul a{
}
#navcontainer ul ul ul ul ul ul a:hover{
}
/*</group>*/
/*<group=Global Classes>*/
blockquote, .standout {
margin: 0;
padding: 5px;
font-weight: bold;
}
h1 {
}
h2 {
}
h3 {
}
h4 {
}
.imageStyle {
}
/*</group>*/
/*<group=Blog>*/
/*<group=Archive Page>*/
.blog-archive-background {
} .blog-archive-headings-wrapper {
}
.blog-archive-entries-wrapper {
}
.blog-archive-entries-wrapper .blog-entry {
} .blog-archive-month {
}
.blog-archive-link {
} .blog-archive-link a:link, .blog-archive-link a:visited {
}
/*</group>*/
.blog-entry {
}
.blog-entry-title {
font-weight: bold;
margin-bottom: 3px;
}
.blog-entry-date {
margin-bottom: 8px;
font-size: 0.9em;
color: #808080;
}
.blog-entry-body {
margin-bottom: 5px;
padding-bottom: 5px;
border-bottom: 1px solid #cccccc;
}
.blog-entry-comments {
display: none;
}
.blog-entry-category {
}
.blog-category-link-enabled {
}
.blog-category-link-disabled {
}
/*</group>*/
/*<group=File Sharing>*/
.filesharing-description {
}
.filesharing-item {
margin-bottom: 5px;
padding-bottom: 5px;
border-bottom: 1px solid #cccccc;
}
.filesharing-item-title a:link {
}
.filesharing-item-title a:hover {
}
.filesharing-item-title a:visited {
}
.filesharing-item-description {
}
/*</group>*/
/*<group=Photo Album>*/
/*<group=Index Page (Thumbnail view)>*/
.album-title {
font-weight: bold;
margin-bottom: 3px;
}
.album-description {
margin-bottom: 8px;
font-size: 0.9em;
color: #808080;
}
table.thumbnail-table {
width: 99%;
}
table.thumbnail-table, table.thumbnail-table tr, table.thumbnail-table td {
display: block;
}
.thumbnail-frame {
}
.thumbnail-frame:hover {
}
.thumbnail-frame a {
}
.thumbnail-frame a:hover {
}
.thumbnail-frame img {
}
.thumbnail-caption {
}
/*</group>*/
/*<group=Single Page (Photo view)>*/
.photo-background {
}
.photo-navigation {
}
.photo-links {
}
.photo-navigation a:link, .photo-navigation a:visited {
}
.photo-navigation a:hover {
}
.photo-frame{
}
.photo-title {
}
.photo-caption {
}
/*</group>*/
/*</group>*/
/*<group=Quicktime Page>*/
.movie-description {
}
/*</group>*/
/*<group=Quicktime Album>*/
/*<group=Index Page (Movie Thumbnail view)>*/
.movie-page-title {
font-weight: bold;
margin-bottom: 3px;
} .movie-page-description {
margin-bottom: 8px;
font-size: 0.9em;
color: #808080;
} .movie-thumbnail-frame {
}
.movie-thumbnail-frame:hover {
}
.movie-thumbnail-caption {
}
/*</group>*/
/*<group=Single Page (Movie View)>*/
.movie-background {
}
.movie-title {
}
.movie-frame {
}
/*</group>*/
/*</group>*/
/*<group=Contact Form>*/
.message-text {
}
.required-text {
}
.form-input-field {
max-width: 100%;
}
.form-input-button {
}
/*</group>*/
/*<group=General Styles>*/
body {
background: transparent none;
margin: 0px 5% 0px 5%;
text-align: left;
color: #000000;
letter-spacing: 0.5px;
word-spacing: 1px;
padding: 0px;
font: 10pt Geneva, Arial, Helvetica;
}
p {
}
b, strong {
font-weight: bold;
}
a:link, a:visited {
}
a:hover, a:active {
}
/*</group>*/
/*<group=Layout>*/
#container { text-align: left;
width: 100%;
padding: 10px 0 0 0;
margin: 0px;
}
#pageHeader {
display: none;
}
#pageHeader img {
float: right;
}
#pageHeader h1 {
color: #000000;
margin: 0px;
font-weight: bold;
font-size: 16pt;
padding: 0px;
}
#pageHeader h2 {
color: #333333;
margin: 0px;
font-size: 13pt;
font-weight: normal;
padding: 0px;
}
#contentContainer {
float: none !important;
padding: 0px;
}
#contentContainer #content {
padding: 0px;
}
#contentContainer #content img {
}
#sidebarContainer {
float: right;
}
#sidebarContainer .sidebar {
width: 190px;
padding: 10px;
border-left: 1px solid #cccccc;
}
#footer {
text-align: center;
background: none;
color: #000000;
font-size: 10pt;
border-top: 1px solid #cccccc;
margin-top: 10px;
padding-top: 10px;
}
#footer a {
}
#footer a:hover {
}
/*</group>*/
/*<group=toolbar>*/
#navcontainer {
display: none;
}
/*</group>*/
/*<group=Bread-crumb>*/
#breadcrumbcontainer {
display: none;
}
/*</group>*/
/*<group=Global Classes>*/
.standout {
color: #474747;
font-size: 11pt;
font-weight: bold;
letter-spacing: 1px;
word-spacing: 2px;
padding: 40px;
background-color: #f5f5f5;
font-style: italic;
}
h1 {
font-size: 20pt;
font-weight: bold;
margin-bottom: 3px;
}
h2 {
font-size: 18pt;
font-weight: bold;
margin-bottom: 3px;
}
h3 {
font-size: 16pt;
font-weight: bold;
margin-bottom: 3px;
}
h4 {
font-size: 14pt;
font-weight: bold;
margin-bottom: 3px;
}
h5 {
font-size: 12px;
font-weight: bold;
margin-bottom: 3px;
}
.imageStyle {
}
/*</group>*/
/*<group=Blog>*/
.blog-entry {
border-style: none;
}
.blog-entry-title {
font-size: 16pt;
font-weight: bold;
margin-bottom: 3px;
border-style: none;
}
.blog-entry-date {
margin-bottom: 10px;
margin-top: 5px;
border-style: none;
font-size: 10pt;
color: #333333;
}
.blog-entry-body {
margin-bottom: 45px;
border-style: none;
}
/*</group>*/
/*<group=File Sharing>*/
.filesharing-description {
margin-bottom: 20px;
border-bottom: 1px solid #d9d9d9;
}
.filesharing-item {
}
.filesharing-item-title {
font-size: 16pt;
font-weight: bold;
}
.filesharing-item-description {
margin-bottom: 10px;
}
/*</group>*/
/*<group=Photo Album>*/
/*<group=Index Page (Thumbnail view)>*/
.album-title {
font-size: 16pt;
font-weight: bold;
margin-bottom: 3px;
}
.album-description {
}
.thumbnail-frame {
margin: 0px;
padding: 0px;
}
.thumbnail-frame a {
}
.thumbnail-frame a:hover {
height: 30px;
}
.thumbnail-frame img {
background: repeat url(images/sidebar_bg.png);
}
.thumbnail-caption {
color: #4c4c4c;
margin-top: -2px;
font-size: 10pt;
}
/*</group>*/
/*<group=Single Page (Photo view)>*/
.photo-background {
text-align: center;
}
.photo-navigation {
background: none;
display: none;
}
.photo-navigation a {
display: none;
}
.photo-navigation a:hover {
display: none;
}
.photo-frame{
}
.photo-links {
display: none;
}
.photo-title {
display: none;
}
.photo-caption {
font-size: 11pt;
margin: 0px;
text-align: center;
}
/*</group>*/
/*</group>*/
/*<group=Quicktime Page>*/
.movie-title {
font-size: 16pt;
font-weight: bold;
text-align: left;
}
.movie-description {
text-align: center;
}
.movie-frame {
text-align: center;
margin-bottom: 10px;
}
/*</group>*/
/*<group=General Styles>*/
body {
background: transparent none;
margin: 0px 5% 0px 5%;
text-align: left;
color: #000000;
letter-spacing: 0.5px;
word-spacing: 1px;
padding: 0px;
font: 10pt Georgia, Times New Roman, Times, serif;
}
p {
}
b, strong {
font-weight: bold;
}
a:link, a:visited {
}
a:hover, a:active {
}
/*</group>*/
/*<group=Layout>*/
#container { text-align: left;
width: 100%;
padding: 0px;
margin: 0px;
}
#pageHeader {
text-align: left;
background: none;
border-bottom: 1px solid #cccccc;
padding-bottom: 10px;
margin-bottom: 10px;
}
#pageHeader img {
float: right;
}
#pageHeader h1 {
color: #000000;
margin: 0px;
font-weight: bold;
font-size: 16pt;
padding: 0px;
}
#pageHeader h2 {
color: #333333;
margin: 0px;
font-size: 13pt;
font-weight: normal;
padding: 0px;
}
#contentContainer {
float: none !important;
padding: 0px;
margin-bottom: 10px;
border-bottom: 1px solid #cccccc;
padding-bottom: 10px;
}
#contentContainer #content {
padding: 0px;
}
#contentContainer #content img {
}
#sidebarContainer {
float: none;
width: auto;
}
#sidebarContainer .sidebar {
}
#footer {
text-align: center;
background: none;
color: #000000;
font-size: 10pt;
border-top: 1px solid #cccccc;
margin-top: 10px;
padding-top: 10px;
}
#footer a {
}
#footer a:hover {
}
/*</group>*/
/*<group=toolbar>*/
#navcontainer {
display: none;
}
/*</group>*/
/*<group=Bread-crumb>*/
#breadcrumbcontainer {
display: none;
}
/*</group>*/
/*<group=Global Classes>*/
.standout {
color: #474747;
font-size: 11pt;
font-weight: bold;
letter-spacing: 1px;
word-spacing: 2px;
padding: 40px;
background-color: #f5f5f5;
font-style: italic;
}
h1 {
font-size: 20pt;
font-weight: bold;
margin-bottom: 3px;
}
h2 {
font-size: 18pt;
font-weight: bold;
margin-bottom: 3px;
}
h3 {
font-size: 16pt;
font-weight: bold;
margin-bottom: 3px;
}
h4 {
font-size: 14pt;
font-weight: bold;
margin-bottom: 3px;
}
h5 {
font-size: 12px;
font-weight: bold;
margin-bottom: 3px;
}
.imageStyle {
}
/*</group>*/
/*<group=Blog>*/
.blog-entry {
border-style: none;
}
.blog-entry-title {
font-size: 16pt;
font-weight: bold;
margin-bottom: 3px;
border-style: none;
}
.blog-entry-date {
margin-bottom: 10px;
margin-top: 5px;
border-style: none;
font-size: 10pt;
color: #333333;
}
.blog-entry-body {
margin-bottom: 45px;
border-style: none;
}
/*</group>*/
/*<group=File Sharing>*/
.filesharing-description {
margin-bottom: 20px;
border-bottom: 1px solid #d9d9d9;
}
.filesharing-item {
}
.filesharing-item-title {
font-size: 16pt;
font-weight: bold;
}
.filesharing-item-description {
margin-bottom: 10px;
}
/*</group>*/
/*<group=Photo Album>*/
/*<group=Index Page (Thumbnail view)>*/
.album-title {
font-size: 16pt;
font-weight: bold;
margin-bottom: 3px;
}
.album-description {
}
.thumbnail-frame {
margin: 0px;
padding: 0px;
}
.thumbnail-frame a {
}
.thumbnail-frame a:hover {
height: 30px;
}
.thumbnail-frame img {
background: repeat url(images/sidebar_bg.png);
}
.thumbnail-caption {
color: #4c4c4c;
margin-top: -2px;
font-size: 10pt;
}
/*</group>*/
/*<group=Single Page (Photo view)>*/
.photo-background {
text-align: center;
}
.photo-navigation {
background: none;
display: none;
}
.photo-navigation a {
display: none;
}
.photo-navigation a:hover {
display: none;
}
.photo-frame{
}
.photo-links {
display: none;
}
.photo-title {
display: none;
}
.photo-caption {
font-size: 11pt;
margin: 0px;
text-align: center;
}
/*</group>*/
/*</group>*/
/*<group=Quicktime Page>*/
.movie-title {
font-size: 16pt;
font-weight: bold;
text-align: left;
}
.movie-description {
text-align: center;
}
.movie-frame {
text-align: center;
margin-bottom: 10px;
}
/*</group>*/
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="RapidWeaver" />
<title>Editeur</title>
<link rel="stylesheet" type="text/css" media="screen" href="rw_common/themes/caribou/styles.css" />
<!--[if IE 6]><link rel="stylesheet" type="text/css" media="screen" href="rw_common/themes/caribou/css/ie6.css" /><![endif]-->
<link rel="stylesheet" type="text/css" media="screen" href="rw_common/themes/caribou/colourtag-theme-default.css" />
<link rel="stylesheet" type="text/css" media="print" href="rw_common/themes/caribou/print.css" />
<link rel="stylesheet" type="text/css" media="handheld" href="rw_common/themes/caribou/handheld.css" />
<!--[if IE]><style type="text/css" media="screen">body {behavior: url(rw_common/themes/caribou/csshover.htc);}</style><![endif]-->
<link rel="stylesheet" type="text/css" media="screen" href="rw_common/themes/caribou/css/banner/swirls.css" />
<link rel="stylesheet" type="text/css" media="screen" href="rw_common/themes/caribou/css/logo_position/center.css" />
<link rel="stylesheet" type="text/css" media="screen" href="rw_common/themes/caribou/css/sidebar/sidebar_right.css" />
<link rel="stylesheet" type="text/css" media="screen" href="rw_common/themes/caribou/css/icons/black.css" />
<script type="text/javascript" src="rw_common/themes/caribou/javascript.js"></script>
<script type="text/javascript" charset="utf-8"> var blankSrc = "rw_common/themes/caribou/png/blank.gif";</script>
<style type="text/css"> img { behavior: url("rw_common/themes/caribou/png/pngbehavior.htc"); }</style>
</head>
<!-- This page was created with RapidWeaver from Realmac Software. http://www.realmacsoftware.com -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Editeur Sankoré</title>
<style type="text/css">
<!--
.white { color: #FFF;
}
body {
background-color: #E5E3DB;
}
body,td,th {
font-family: Verdana, Geneva, sans-serif;
color: #666;
text-align: left;
}
.conteneur {
background-color: #5C5C5C;
text-align: center;
}
.c {
text-align: center;
}
.m {
font-size: medium;
}
a:link {
color: #666;
}
a:visited {
color: #666;
}
a:hover {
color: #000;
}
a:active {
color: #666;
}
-->
</style>
</head>
<body>
<div id="bar"></div>
<div id="container"><!-- Start container -->
<div id="pageHeader"><!-- Start page header -->
<div id="navcontainer"><!-- Start Navigation -->
<ul><li><a href="index.html" rel="self" id="current">Editeur</a></li></ul>
</div><!-- End navigation -->
<div id="title">
<div id="logo"></div>
<h1>Editeur Sankor&eacute;</h1>
<h2>Instructions pour l'utilisation de l'&eacute;diteur Sankor&eacute;</h2>
<div id="overlay_swirls"><img src="rw_common/themes/caribou/images/header_swirls.png" alt="" style="width: 900px; height: 150px;" /></div>
<div id="overlay_stripes_glow"><img src="rw_common/themes/caribou/images/header_stripes_glow.png" alt="" style="width: 900px; height: 150px;" /></div>
<div id="overlay_stripes_solid"><img src="rw_common/themes/caribou/images/header_stripes_solid.png" alt="" style="width: 900px; height: 150px;" /></div>
<div id="overlay_curve_solid"><img src="rw_common/themes/caribou/images/header_curve_solid.png" alt="" style="width: 900px; height: 150px;" /></div>
</div>
<div id="background"><img src="rw_common/themes/caribou/images/header_bg.png" alt="" style="width: 914px; height: 197px;" /></div>
</div><!-- End page header -->
<div id="contentContainer"><!-- Start main content wrapper -->
<div id="content"><!-- Start content -->
<div class="contentSpacer"></div><!-- this makes sure the content is long enough for the design -->
<p style="text-align:center;"><br /><br /><br /></p><p style="text-align:left;"><span style="font:14px Trebuchet, Verdana, serif; font-weight:bold; font-weight:bold; ">L&rsquo;&eacute;diteur Sankor&eacute; vous permet de r&eacute;aliser des sc&eacute;narios d&rsquo;interactivit&eacute;s riches</span><span style="font:12px Trebuchet, Verdana, serif; "><br /><br /></span><span style="font:11px Trebuchet, Verdana, serif; ">ATTENTION : Vous devez &ecirc;tre connect&eacute; &agrave; l&rsquo;Internet pour l&rsquo;utiliser.</span><span style="font:12px Trebuchet, Verdana, serif; "><br /><br /></span><span style="font:13px Trebuchet, Verdana, serif; ">Quand vous entrez sur l&rsquo;&eacute;diteur, un nom d&rsquo;utilisateur et mot de passe vous sont demand&eacute;s.<br /><br />Pour le tester et l&rsquo;utiliser en mode de d&eacute;monstration, utilisez, comme indiqu&eacute; ci-dessous, l&rsquo;identifiant &ldquo;demo&rdquo; autant pour le nom d&rsquo;utilisateur que pour le mot de passe.<br /></span><span style="font:12px Trebuchet, Verdana, serif; "><br /></span></p><p style="text-align:center;"><img class="imageStyle" alt="login_paraschool" src="files/login_paraschool.png" width="371" height="252" /><span style="font:12px Trebuchet, Verdana, serif; "><br /></span></p><p style="text-align:left;"><span style="font:12px Trebuchet, Verdana, serif; "><br /></span><span style="font:13px Trebuchet, Verdana, serif; ">Si vous d&eacute;sirez l&rsquo;utiliser en tant qu&rsquo;outil personnel de cr&eacute;ation de contenus, vous pouvez envoyer un email &agrave; </span><span style="font:13px Trebuchet, Verdana, serif; "><a href="mailto:daniel.lebret@gmail.com" rel="self">cette adresse</a></span><span style="font:13px Trebuchet, Verdana, serif; "> en pr&eacute;cisant bien que vous d&eacute;sirez cr&eacute;er un compte sur l&rsquo;&eacute;diteur Sankor&eacute;.<br /><br /></span></p><p style="text-align:center;"><span style="font:13px Trebuchet, Verdana, serif; "><a href="http://editeur.sankore.org" rel="self">Cliquez ici pour vous connecter &agrave; l&rsquo;&eacute;diteur Sankor&eacute;<br /></a></span><a href="http://editeur.sankore.org" rel="self"><img class="imageStyle" alt="connect_screen" src="files/connect_screen.png" width="303" height="75" /></a></p>
<div class="clearer"></div>
</div><!-- End content -->
</div><!-- End main content wrapper -->
<div id="sidebarContainer"><!-- Start Sidebar wrapper -->
<div id="sidebar"><!-- Start sidebar content -->
<div class="sideHeader"></div><!-- Sidebar header -->
<!-- sidebar content you enter in the page inspector -->
<!-- sidebar content such as the blog archive links -->
</div><!-- End sidebar content -->
</div><!-- End sidebar wrapper -->
<div class="clearer"></div>
</div><!-- End container -->
<div class="clearer"></div>
<div id="footer"><!-- Start Footer -->
<p></p>
<div id="breadcrumbcontainer"><!-- Start the breadcrumb wrapper -->
</div><!-- End breadcrumb -->
</div><!-- End Footer -->
<table width="843" border="0" align="center">
<tr>
<td class="conteneur"><p><img src="files/logo.png" width="196" height="22" alt="editeur" /></p>
<p><span class="white">Instructions pour l'utilisation de l'éditeur Sankoré</span></p></td>
</tr>
<tr>
<td><div align="center"><img src="files/outils.png" width="128" height="128" alt="outils" /> <img src="files/mappe.png" width="128" height="128" alt="mappe" /> <img src="files/calepin.png" width="128" height="128" alt="calepin" /></div></td>
</tr>
<tr>
<td>L'éditeur Sankoré vous permet de réaliser des scénarios d'interactivités riches. Il facilite la création de contenu interactif avec des activités de base qui peuvent être utilisées dans diverses disciplines (associer des images, des sons, ordonner des mots, des phrases, créer des catégories...). Ce contenu peut ensuite être ajouté à votre cours sur le logiciel Open-Sankoré. L'éditeur repose sur votre compte utilisateur Planète Sankoré.</td>
</tr>
<tr>
<td><p>Éléments requis pour travailler avec l'éditeur :</p>
<ul>
<li>un accès Web</li>
<li>un compte Planète Sankoré</li>
</ul></td>
</tr>
<tr>
<td><div align="center">
<p>&nbsp;</p>
<p><a href="http://editeur.sankore.org" title="Editeur" target="_self" class="c">Accès à l'éditeur Sankoré</a></p>
</div></td>
</tr>
<tr>
<td><p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p></td>
</tr>
<tr>
<td>L'éditeur Sankoré est hébergé sur <a href="http://planete.sankore.org/" target="_self">planete.sankore.org</a></td>
</tr>
</table>
<p>&nbsp;</p>
</body>
</html>
#navcontainer a {
padding: 15px 15px 17px 15px;
height: 0px;
}
\ No newline at end of file
<attach event="ondocumentready" handler="parseStylesheets" />
<script>
/**
* Whatever:hover - V2.01.050927 - hover, active & focus
* ------------------------------------------------------------
* (c) 2005 - Peter Nederlof
* Peterned - http://www.xs4all.nl/~peterned/
* License - http://creativecommons.org/licenses/LGPL/2.1/
*
* Whatever:hover is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* Whatever:hover is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* Credits and thanks to:
* Arnoud Berendsen, Martin Reurings, Robert Hanson
*
* howto: body { behavior:url("csshover.htc"); }
* ------------------------------------------------------------
*/
var csshoverReg = /(^|\s)((([^a]([^ ]+)?)|(a([^#.][^ ]+)+)):(hover|active))|((a|input|textarea):unknown)/i,
currentSheet, doc = window.document, hoverEvents = [], activators = {
onhover:{on:'onmouseover', off:'onmouseout'},
onactive:{on:'onmousedown', off:'onmouseup'},
onunknown:{on:'onfocus', off:'onblur'}
}
function parseStylesheets() {
if(!/MSIE (5|6)/.test(navigator.userAgent)) return;
window.attachEvent('onunload', unhookHoverEvents);
var sheets = doc.styleSheets, l = sheets.length;
for(var i=0; i<l; i++)
parseStylesheet(sheets[i]);
}
function parseStylesheet(sheet) {
if(sheet.imports) {
try {
var imports = sheet.imports, l = imports.length;
for(var i=0; i<l; i++) parseStylesheet(sheet.imports[i]);
} catch(securityException){}
}
try {
var rules = (currentSheet = sheet).rules, l = rules.length;
for(var j=0; j<l; j++) parseCSSRule(rules[j]);
} catch(securityException){}
}
function parseCSSRule(rule) {
var select = rule.selectorText, style = rule.style.cssText;
if(!csshoverReg.test(select) || !style) return;
var pseudo = select.replace(/[^:]+:([a-z-]+).*/i, 'on$1');
var newSelect = select.replace(/(\.([a-z0-9_-]+):[a-z]+)|(:[a-z]+)/gi, '.$2' + pseudo);
var className = (/\.([a-z0-9_-]*on(hover|active|unknown))/i).exec(newSelect)[1];
var affected = select.replace(/:(hover|active|unknown).*$/, '');
var elements = getElementsBySelect(affected);
if(elements.length == 0) return;
currentSheet.addRule(newSelect, style);
for(var i=0; i<elements.length; i++)
new HoverElement(elements[i], className, activators[pseudo]);
}
function HoverElement(node, className, events) {
if(!node.hovers) node.hovers = {};
if(node.hovers[className]) return;
node.hovers[className] = true;
hookHoverEvent(node, events.on, function() { node.className += ' ' + className; });
hookHoverEvent(node, events.off, function() { node.className = node.className.replace(new RegExp('\\s+'+className, 'g'),''); });
}
function hookHoverEvent(node, type, handler) {
node.attachEvent(type, handler);
hoverEvents[hoverEvents.length] = {
node:node, type:type, handler:handler
};
}
function unhookHoverEvents() {
for(var e,i=0; i<hoverEvents.length; i++) {
e = hoverEvents[i];
e.node.detachEvent(e.type, e.handler);
}
}
function getElementsBySelect(rule) {
var parts, nodes = [doc];
parts = rule.split(' ');
for(var i=0; i<parts.length; i++) {
nodes = getSelectedNodes(parts[i], nodes);
} return nodes;
}
function getSelectedNodes(select, elements) {
var result, node, nodes = [];
var identify = (/\#([a-z0-9_-]+)/i).exec(select);
if(identify) return [doc.getElementById(identify[1])];
var classname = (/\.([a-z0-9_-]+)/i).exec(select);
var tagName = select.replace(/(\.|\#|\:)[a-z0-9_-]+/i, '');
var classReg = classname? new RegExp('\\b' + classname[1] + '\\b'):false;
for(var i=0; i<elements.length; i++) {
result = tagName? elements[i].all.tags(tagName):elements[i].all;
for(var j=0; j<result.length; j++) {
node = result[j];
if(classReg && !classReg.test(node.className)) continue;
nodes[nodes.length] = node;
}
} return nodes;
}
</script>
\ No newline at end of file
......@@ -71,7 +71,6 @@
<addaction name="actionErase"/>
<addaction name="actionGroupItems"/>
<addaction name="actionBoard"/>
<addaction name="actionTutorial"/>
<addaction name="actionWeb"/>
<addaction name="actionDocument"/>
<addaction name="actionDesktop"/>
......@@ -117,7 +116,6 @@
<addaction name="actionWebSmaller"/>
<addaction name="separator"/>
<addaction name="actionBoard"/>
<addaction name="actionTutorial"/>
<addaction name="actionWeb"/>
<addaction name="actionDocument"/>
<addaction name="actionDesktop"/>
......@@ -167,7 +165,6 @@
<addaction name="actionAddToWorkingDocument"/>
<addaction name="actionDocumentAdd"/>
<addaction name="actionBoard"/>
<addaction name="actionTutorial"/>
<addaction name="actionWeb"/>
<addaction name="actionDocument"/>
<addaction name="actionDesktop"/>
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
var sankoreLang = {
"en":{
"enter_title": "Enter yuor title here...",
"welcome":"Welcome to HTML Editor",
"source":"Source",
"link":"Link",
"preview":"Preview",
"text_to_link":"Your text to link",
"alt_text":"Alternative text"
},
"ru":{
"enter_title": "Введите Ваш заголовок ...",
"welcome":"Добро пожаловать в HTML-редактор",
"source":"Источник",
"link":"Ссылка",
"preview":"Предпросмотр",
"text_to_link":"Текст ссылки",
"alt_text":"Альтернативный текст"
},
"fr":{
"enter_title": "Entrer le titre yuor ici ...",
"welcome":"Bienvenue à HTML Editor",
"source":"Source",
"link":"Link",
"preview":"Aperçu",
"text_to_link":"Votre texte à lier",
"alt_text":"Texte alternatif"
}
};
\ No newline at end of file
var sankoreLang = {
"en":{
"enter_title": "Enter yuor title here...",
"welcome":"Welcome to HTML Editor",
"source":"Source",
"link":"Link",
"preview":"Preview",
"text_to_link":"Your text to link",
"alt_text":"Alternative text"
},
"ru":{
"enter_title": "Введите Ваш заголовок ...",
"welcome":"Добро пожаловать в HTML-редактор",
"source":"Источник",
"link":"Ссылка",
"preview":"Предпросмотр",
"text_to_link":"Текст ссылки",
"alt_text":"Альтернативный текст"
},
"fr":{
"enter_title": "Entrer le titre yuor ici ...",
"welcome":"Bienvenue sur HTML Editor",
"source":"Source",
"link":"Lien",
"preview":"Aperçu",
"text_to_link":"Votre texte à lier",
"alt_text":"Texte alternatif"
}
};
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment