lengthways (Adjective) — Running or extending in the direction of the length of a thing. ex. "the lengthways dimension"
lengthways (Adverb) — In the direction of the length. ex. "He cut the paper lengthways"