Search Query
Display results as :PostsTopics
Tags
Advanced Search
You are not connected. Please login or register
FMCodes • All-in-one Webmasters community » Coding Community » Coding Assistance » Archives for Coding assistance » Add a content only after the first post only from a specific user
Last edited by J0k3R^ on Tue May 27, 2014 9:52 am; edited 1 time in total
if(jQuery('.post:first a[href*="/u1"]').length){$('.post:first').after('<div id="myContainer">CONTENT</div>');};
if(jQuery('h4.username:first a[href*="/u1"]').length){$('.post:first').after('<div id="myContainer">CONTENT</div>');};
if(jQuery('h4.username span.creator a[href*="/u1"]').length){$('.post:first').after('<div id="myContainer">CONTENT</div>');};
Similar topics
Username:
Password:
I forgot my password
Log in automatically