Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Thanks to John and Arthur for some good ideas

  • Loading branch information...
commit 0f2ee4249c2315ce5a1a2482819eb74212cabb38 1 parent 38705c4
@rooreynolds authored
Showing with 2 additions and 0 deletions.
  1. +1 −0  inkylinky.css
  2. +1 −0  inkylinky.js
View
1  inkylinky.css
@@ -2,6 +2,7 @@ body {
font-family: "Helvetica Neue", sans-serif;
font-size: 3.2mm;
width: 150mm;
+ /* Thanks to John for the idea of using the body margin rather than an additional floated div */
margin-right: 25mm;
margin-left: 25mm;
border: 0px;
View
1  inkylinky.js
@@ -61,6 +61,7 @@ loadJQuery(function(loadSuccess) {
var encodedurl = encodeURIComponent(url);
rulerheight = linktopoffset + linkheight;
if (rulerheight <= lastrulerheight) { rulerheight = lastrulerheight + 2; }
+ //Thanks to Arthur for the idea of using both margins
//TODO: layout altogrithm could use some work. Assigning to the left or right column based on whether its position on the page, etc.
if (switchcolumns || ((rulerheight >= minoffsetA)) && (minoffsetB >= minoffsetA)) {
//left column
Please sign in to comment.
Something went wrong with that request. Please try again.