Multi state-box password

can you use veil with a javascript code to insert a transition password between a compressed and an enlarged state? Let me explain, I wrote a text file on wix with the option read more, but visible only in a members area. I would like to make the transition to the wider state encrypted, so that at the click of the read more a password is required to enlarge. Possibly?