I can get height of entire container using jQuery, I want to add H1 tag after 500px height inside the container.
var height = $("body").find(".container"). innerHeight();
if(height > 800){
//Get here div on height 600 and insertAfter('<h1>New Heading</h1>') after that element on height 600, and insert H1 tag after closing that specific element
}
var height = $("body").find(".container"). innerHeight();
if(height > 800){
//Get here div on height 600 and insertAfter('<h1>New Heading</h1>') after that element on height 600, insert H1 tag right after specific element
}