Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript JavaScript / Jquery to elide part of a figcaption element Reply To: JavaScript / Jquery to elide part of a figcaption element

#210147
Shikkediel
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.