");
$('#maincontent').attr("class",page_class(link));
$('#eEdit').attr('href','rte3.php?edit=1&link=' + link);
$('#eNew').attr('href','rte3.php?edit=0&link=' + link);
$('#eDelete').attr('href','delete_page.php?edit=9&link=' + link);
$('#maincontent').slideDown('slow');
});
$('.rte').click( function(e) {
var link = $(this).attr('href');
document.location.href = link;
});
/* For LOCAL links on site pages */
$('.local').on('click', function(e) {
e.preventDefault(); // stops default behaviour
$('#maincontent').slideUp('slow');
var link = $(this).attr('href');
if(link.substring(0,11)=="main.php?p=") {
link = link.substring(11); // To ensure that only page data (not MAIN surround) is loaded
}
// alert("Link="+link);
$('#maincontent').load("loadpage.php?link=" + link);
$('#maincontentjs').load("");
$('#maincontent').attr("class",page_class(link));
$('#eEdit').attr('href','rte3.php?edit=1&link=' + link);
$('#eNew').attr('href','rte3.php?edit=0&link=' + link);
$('#eDelete').attr('href','delete_page.php?edit=9&link=' + link);
$('#maincontent').slideDown('slow');
});
$('#maincontent').on('click','a[href$=".mp3"]' ,function(e) {
e.preventDefault();
var song = $(this).attr('href');
var n = song.split("/");
song = n[n.length - 1]; // Last element
var songlink = "
";
// alert ('MP3 clicked: '+songlink);
$(this).after(songlink);
});
/* ********************************* */
// make sure action works on loaded content
var topic = 1;
$(document).on('click','#switch', function(e) {
e.preventDefault();
if(topic==1) {
topic = 2;
$('.bLatest').removeClass('bActive');
$('.bRecent').addClass('bActive');
$('.tLatest').css('display','none');
$('.tRecent').css('display','block');
} else {
topic = 1;
$('.bLatest').addClass('bActive');
$('.bRecent').removeClass('bActive');
$('.tLatest').css('display','block');
$('.tRecent').css('display','none');
}
});
/* ********************************* */
});
//-->
BREAK OUT YOUR PICKAXE – IT’S TIME TO HEAD TO TERRARIA
Wait is finally over as Indie blockbuster launches on consoles
Milton Keynes, 21 March 2013, after months of teasing new bosses, showing off brand new multiplayer options and riding Orca’s; 505 Games is pleased to announce that the wait is finally over for the worldwide
Terraria community as the console version of the Indie PC hit will be releasing on Xbox LIVE® Arcade for the Xbox 360® video game and entertainment system from Microsoft and PlayStation®Network next week.
Xbox 360 players worldwide will be able to start their all new adventure from Wednesday 27
th March, PlayStation 3 owners in North America get a day’s head-start on Tuesday 26th March with a release date for the European PlayStation Store to follow shortly – along with some very exciting news about the next steps in the Terraria story.
Terraria will be priced at 1200 Microsoft points / €14.99 / £11.99 at launch.
Follow us on
facebook.com/terrariaofficial and
twitter.com/terraria_logic or log on to
www.terraria.org