Home › Forums › JavaScript › JavaScript / Jquery to elide part of a figcaption element › Reply To: JavaScript / Jquery to elide part of a figcaption element
October 25, 2015 at 2:43 am
#210147
Participant
Neat but it doesn’t seem to work with Mozilla.
Just for good order – the script would need to be executed when the document has been read. Right before the </body>
tag at the bottom is probably easiest. In the head, it would need an event listener for when the DOM is ready to be manipulated.
Depending on where the pen’s cross browser functionality goes, I could write a bit of extra code to create a loop. The above seems a much nicer solution though.