Changeset 221
- Timestamp:
- Feb 12, 2007 6:36:19 PM (6 years ago)
- Location:
- trunk/jobs/toft/publicnotes/web
- Files:
-
- 2 added
- 2 edited
-
logo-tiny.png (added)
-
logo.png (added)
-
publicnotes.css (modified) (1 diff)
-
publicnotes.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/jobs/toft/publicnotes/web/publicnotes.css
r210 r221 17 17 } 18 18 19 div.attribution img { 20 vertical-align: middle; 21 } 22 23 div.attribution { 24 font-style: italic; 25 text-align: center; 26 } 19 27 20 28 div.note { -
trunk/jobs/toft/publicnotes/web/publicnotes.js
r215 r221 10 10 pointerImage: undefined, 11 11 12 noteWidth: " 50%",12 noteWidth: "45%", 13 13 14 14 /* number of pixels away from the left-hand edge of the screen that we'll place a note */ … … 47 47 allnote.appendChild(fullnote); 48 48 allnote.noteTitle = notelink; 49 PN.wrapShadow(fullnote); 50 PN.addAttribution(fullnote); 49 51 PN.addCloseBox(fullnote, base); 50 PN.wrapShadow(fullnote);51 52 52 53 53 notelink.style.display = "none"; … … 118 118 } 119 119 return PN.pointerImage; 120 }, 121 122 addAttribution: function(el) { 123 var attribution = document.createElement("DIV"); 124 attribution.className = "attribution"; 125 var aimg = document.createElement("IMG"); 126 aimg.src = "logo-tiny.png"; 127 aimg.alt = "Time Out From Testing"; 128 aimg.title = "Time Out From Testing"; 129 var atxt = document.createTextNode(" responds:"); 130 attribution.appendChild(aimg); 131 attribution.appendChild(atxt); 132 var x = el.firstChild; 133 el.insertBefore(attribution, x); 134 el.insertBefore(document.createElement("HR"), x); 135 return el; 120 136 }, 121 137
Note: See TracChangeset
for help on using the changeset viewer.

