mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-24 15:48:55 +01:00
Get the socialMedia icons out of table and append it to form if it is pixelegg template
This commit is contained in:
parent
fba8d13fdb
commit
cf5b4b449d
@ -14,12 +14,13 @@ egw_LAB.wait(function() {
|
||||
}).done(function(_data)
|
||||
{
|
||||
$j(document).ready(function() {
|
||||
var isPixelegg = $j('link[href*="pixelegg.css"]')[0];
|
||||
var social = $j(document.createElement('div'))
|
||||
.attr({
|
||||
id: "socialMedia",
|
||||
class: "socialMedia"
|
||||
})
|
||||
.appendTo($j('#socialBox'));
|
||||
.appendTo($j( isPixelegg? 'form' : '#socialBox'));
|
||||
|
||||
for(var i=0; i < _data.length; ++i)
|
||||
{
|
||||
@ -36,19 +37,3 @@ egw_LAB.wait(function() {
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
// $j('img.bgfade').hide();
|
||||
//// var dg_H = $j(window).height();
|
||||
//// var dg_W = $j(window).width();
|
||||
//// $j('#wrap').css({'height':dg_H,'width':dg_W});
|
||||
//
|
||||
// function anim() {
|
||||
// $j("#wrap img.bgfade").first().appendTo('#wrap').fadeOut(3500);
|
||||
// $j("#wrap img").first().fadeIn(3500);
|
||||
// setTimeout(anim, 7000);
|
||||
// }
|
||||
//anim();
|
||||
//$j(window).resize(function(){window.location.href=window.location.href});
|
||||
// });
|
||||
//
|
||||
//});
|
||||
|
@ -62,7 +62,7 @@
|
||||
</tr>
|
||||
<!-- END registration -->
|
||||
<tr>
|
||||
<td id="socialBox"></td>
|
||||
<td id="socialBox" colspan="3"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
@ -471,8 +471,8 @@ body {
|
||||
background-color: white;
|
||||
}
|
||||
#socialMedia {
|
||||
left: 273px;
|
||||
position: relative;
|
||||
float:right;
|
||||
}
|
||||
#loginScreenMessage {
|
||||
text-align: center;
|
||||
|
Loading…
Reference in New Issue
Block a user