Mantap!!! ;)) Itu buat Feedback, tapi kalo mo pasang apa saja bisa kok asal kreatifitas dikit ;)) Untuk memakai trik ini dibutuhkan 1kg terigu, 5 butir telor, 1kg mentega eh...:D Download terlebih dahulu gambar berikut Picture.<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script>
display: none;
position: absolute;
top: 50px;
left: 0;
background-color: #0066CC;
height: 120px;
width: 360px;
margin: 0 0 0 -300px;
}
#feedback img {
position: absolute;
top: 0;
right: 0;
cursor: pointer;
}
h3 {
font-family: Verdana;
color: white;
}
form input, textarea {
display: block;
}
$(document).ready(function() {
var feed = $('#feedback');
feed.css("display", "block").data("showing", false).children("form").hide()
feed.children("img").click(function() {
var t = feed;
if(t.data("showing") == false) {
t.animate({
marginLeft: "0",
height: "300px"
}).data("showing", true).children("img").attr("src", "HIDE.PNG").css("top", "100px").siblings().show();
} else {
t.animate({
marginLeft: "-300px",
height: "120px"
}).data("showing", false).children("img").attr("src", "FEEDBACK.PNG").css("top", "0").siblings().hide();
}
})
});
</script>
<h3>Your Title blah blah blah</h3>
<form>
<textarea>bleh bleh</textarea>
<input type="submit" value="Submit">
</form>
<img src="FEEDBACK.PNG">
</div>
Loading... |
2 comments
DO NOT EVEN TRY ADD LINK [-X
You can use some HTML tags, such as
<b> - <i> - <a> - http://...jpg/gif/png/bmp - http://youtu.be/...