Explore the community Forums Lectora Lectora Questions & Answers Lectora 17: Accessing shape properties in javascript Reply To: Lectora 17: Accessing shape properties in javascript

#369443 Score: 0
Profile photo of Nick Mizer
Nick Mizer
Member
beginner
intermediate
picture perfect
wise owl
friend finder
curious george
@nmizer6275

Got pulled away from this project for a bit, but now I’m back to it.

Thanks, Darrell, it was that post that turned me on to needing to change the clip property, but I can’t seem to get it working in 17. I’m trying

var container = getDisplayDocument().getElementById(“shape658”);
container.style.clip = “auto”;

I’ve also tried “shape658path”.

In both cases, debugging in the browser shows “clip:auto” but the image is still clipped to the original width.

  • This reply was modified 3 years ago by Profile photo of Nick Mizer Nick Mizer. Reason: typo