Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- $("img").each(function(){
- $(this).replaceWith($("<div>Textbaustein</div>").css({
- width:$(this).css("width"),
- height: $(this).css("height"),
- backgroundColor: "#333",
- color:"#fff",
- cursor: "pointer",
- textAlign: "center"
- }).click(function(){
- location.href="http://google.de/"
- }));
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement