Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bootstrap 4 + figure tag
#6
I got the image replacement working correctly. 

First I moved your pictures to the wwwroot folder. Do not use the Files folder anymore. This has been discontinued and part of its functionality is kept in new IW versions for backward compatibility only.

Second, the id of the image does not contain the IWCL suffix. It should be only:

  ATag.AddStringParam('id', 'IWBS4IMAGE1');

However, the trick that you are using to respond to a click event won't work correctly given that the link is not rendered at all when the page is rendered the first time.

A viable alternative is to replace it by a direct JavaScript call. Is that ok for you? If so, I can fix that

Please have a look at the demo attached.


Attached Files
.zip   FigureTest.zip (Size: 57.56 KB / Downloads: 8)
Reply


Messages In This Thread
Bootstrap 4 + figure tag - by bostjan - 11-02-2021, 10:51 AM
RE: Bootstrap 4 + figure tag - by bostjan - 11-03-2021, 08:54 AM
RE: Bootstrap 4 + figure tag - by bostjan - 11-15-2021, 10:19 AM
RE: Bootstrap 4 + figure tag - by bostjan - 12-13-2021, 09:27 AM
RE: Bootstrap 4 + figure tag - by Alexandre Machado - 12-23-2021, 10:09 PM
RE: Bootstrap 4 + figure tag - by bostjan - 12-24-2021, 08:52 AM
RE: Bootstrap 4 + figure tag - by bostjan - 03-15-2022, 11:11 AM
RE: Bootstrap 4 + figure tag - by bostjan - 05-18-2022, 07:35 AM
RE: Bootstrap 4 + figure tag - by bostjan - 07-19-2022, 07:44 AM
RE: Bootstrap 4 + figure tag - by bostjan - 09-02-2022, 09:12 AM
RE: Bootstrap 4 + figure tag - by bostjan - 09-07-2022, 09:42 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)