by FrOsTyXi February 5th 2015, 4:07 am
@Ange We did this with the shoutbox but seeing that the shoutbox is a mess and we are liking the look of it without the shoutbox was wondering if we can move this, I think the recent topics cell was attached to the chatbox if this helps here is the code that did that silly i should have posted it.
- Code:
$(function() {
if (location.pathname == "/") {
var latestTopic = setInterval(function() {
if (_userdata.session_logged_in !== null) {
if (_userdata.session_logged_in) {
if (document.getElementById("chatbox_top") !== null) {
if (document.getElementById("left") !== null) {
clearInterval(latestTopic);
$('#left').detach().insertAfter('#chatbox_top')
}
}
} else {
if (document.getElementById("left") !== null) {
clearInterval(latestTopic);
$('#left').detach().prependTo('#wrapper')
}
}
}
}, 80)
}
});
Edit: Oh i see what you mean as a guest it is in the right place, but signed in it's like the first image i posted can we fix that?
Edit2: Fixed the issue changed the chabox top in the JS to fa_ticker_block and it moved up just fine thank you again!