projects
/
euphorik.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
FIX quelques modifications de comptabilité avec IE7
[euphorik.git]
/
js
/
pageMinichat.js
diff --git
a/js/pageMinichat.js
b/js/pageMinichat.js
index
10bc999
..
48ab5be
100755
(executable)
--- a/
js/pageMinichat.js
+++ b/
js/pageMinichat.js
@@
-63,6
+63,7
@@
PageMinichat.prototype.charger = function()
this.util.outilsBan = $(
'<span id="outilsBan">' +
'<form action=""><p><input id="raison" name="raison" type="text" size="10" maxlength="200"></input></p></form>' +
this.util.outilsBan = $(
'<span id="outilsBan">' +
'<form action=""><p><input id="raison" name="raison" type="text" size="10" maxlength="200"></input></p></form>' +
+ '<form action=""><p><input id="raison" name="raison" type="text" size="10" maxlength="200"></input></p></form>' +
'<img id="ban" src="img/ban.gif" alt="Ban de 3 jours" />' +
'<img id="kick" src="img/kick.gif" alt="Ban de 15min" />' +
'<img id="slap" src="img/slap.gif" alt="Avertissement" />' +
'<img id="ban" src="img/ban.gif" alt="Ban de 3 jours" />' +
'<img id="kick" src="img/kick.gif" alt="Ban de 15min" />' +
'<img id="slap" src="img/slap.gif" alt="Avertissement" />' +
@@
-87,26
+88,11
@@
PageMinichat.prototype.charger = function()
$(this).click(
function(event)
{
$(this).click(
function(event)
{
- thisPage.util.replaceSelection($("form input.message")[0], thisPage.formateur.smiles[$(this).attr("class")][0].source.replace(/\\/g, ""))
- }
- )
- .hover(
- function()
- {
- $(this).animate(
- {
- opacity: 1
- }, 200
- )
- },
- function()
- {
- $(this).animate(
- {
- opacity: opacityBase
- }, 200
- )
+ thisPage.util.replaceSelection($("form#posterMessage input.message")[0], thisPage.formateur.smiles[$(this).attr("class")][0].source.replace(/\\/g, ""))
}
}
+ ).hover(
+ function() { $(this).animate({opacity: 1}, 200) },
+ function() { $(this).animate({opacity: opacityBase}, 200) }
)
}
)
)
}
)
@@
-807,7
+793,7
@@
Messages.prototype.ajouterMessage = function(element, numConversation)
function(num) // insertion du lien vers la conversation
{
thisPage.util.replaceSelection(
function(num) // insertion du lien vers la conversation
{
thisPage.util.replaceSelection(
- $("form input.message")[0],
+ $("form
#posterMessage
input.message")[0],
"{" + thisMessages.client.conversations[num-1].root.toString(36) + "}"
)
}
"{" + thisMessages.client.conversations[num-1].root.toString(36) + "}"
)
}
@@
-878,7
+864,7
@@
Messages.prototype.ajusterLargeurConversations = function()
var largeurPourcent = (100 / this.conversations.length)
\r
// le "- 0.01" evite que IE se chie dessus lamentablement et affiche les conversations les unes au dessus des autres
\r
if($.browser["msie"])
\r
var largeurPourcent = (100 / this.conversations.length)
\r
// le "- 0.01" evite que IE se chie dessus lamentablement et affiche les conversations les unes au dessus des autres
\r
if($.browser["msie"])
\r
- largeurPourcent -= 0.0
1
+ largeurPourcent -= 0.0
5
$("#conversations .conversation").css("width", largeurPourcent + "%")
}
$("#conversations .conversation").css("width", largeurPourcent + "%")
}