Possible to have a specified forum show the first post, without affecting the other forums? (:
www.vielamort.net
www.vielamort.net
Last edited by IdaTR on Tue 1 Aug - 21:26; edited 1 time in total
This is a Hitskin.com skin preview
Install the skin • Return to the skin page
$(function(){
var forum=11;
if(!new RegExp(forum).test($(".crumbs>a").eq(2).attr("href")) || !/t\d+p/.test(location.pathname)) return;
var p=$(".post").eq(0);
var ll=location.pathname.match(/\d+/g)[0];
if(localStorage.getItem(ll)){
p.before(localStorage.getItem(ll));
} else {
$.get("/t"+ll+"-", function(data){
var d="<div class='post'>"+$(".post", data).eq(0).html()+"</div>";
localStorage.setItem(ll, d);
p.before(d);
})
}
})
|
Is this solved?IdaTR wrote:Nice thanks!!
Thanks for the help.Wolfuryo wrote:Your welcomeIdaTR wrote:Nice thanks!!
Problem solved & topic archived.
|
Forum of the Forums Forumotion Rules | Tips & Tricks | FAQ | Did you forget your password? |