I'd like to make a very simple jquery box come up saying "Sorry, that blog post could not be found."
I don't want anything very advanced... How should I go about this?
I'd like to make a very simple jquery box come up saying "Sorry, that blog post could not be found."
I don't want anything very advanced... How should I go about this?
You can check out these nice custom alert and confirmation boxes. You can customize them.
Like the jQuery UI Dialog? Here's a Working Demo
$('div.no-post').dialog({
buttons: {
"Ok": function() {
$(this).dialog("close");
}
},
title: "Post Not Found",
modal: true,
draggable: false,
resizable: false
});
<div class="no-post">
Sorry, that blog post could not be found.
</div>
or I've always liked the BlockUI plugin
The jQuery plug-in Impromptu is a good simple choice for a pop-up that looks a lot nicer than a standard JS alert
http://trentrichardson.com/Impromptu/index.php
There are instructions on the site that will help you in your implementation.