mirror of
https://github.com/kennethreitz-archive/dotfiles.git
synced 2026-06-05 15:30:17 +00:00
dotjs for xkcd showing alt text
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
var comic = $("div.s img[title]");
|
||||
var titleP = $("<p></p>");
|
||||
titleP.css({"font-variant": "normal",
|
||||
"border": "1px solid yellow",
|
||||
"padding": "1em",
|
||||
"background-color": "#FFFFCC"});
|
||||
titleP.text(comic.attr("title"));
|
||||
comic.after(titleP);
|
||||
Reference in New Issue
Block a user