I made a basic table with 1 column and 13 rows, each housing an image with a image-swap rollover. (It is the building drawing in the availability section) Does anyone know how I can make them click to open a link? (ie floor 7) I'm guessing I need to assign an a href or on-click function but I'm not having luck.
Ultimately I am trying to have it open a lightbox on click, however since I am using a paid plugin for lightboxes, I do not want to share that bit of code.
The way you'd make an image linkable in HTML is to surround your element in anchor tags. So, to make an image link to somewhere on click,
<tr>
<a href="https://www.google.com">
&l
Question
displaynamed 0
Site URL: https://demo104e25.squarespace.com/
Hi all,
I made a basic table with 1 column and 13 rows, each housing an image with a image-swap rollover. (It is the building drawing in the availability section) Does anyone know how I can make them click to open a link? (ie floor 7) I'm guessing I need to assign an a href or on-click function but I'm not having luck.
Ultimately I am trying to have it open a lightbox on click, however since I am using a paid plugin for lightboxes, I do not want to share that bit of code.
password: colliers
Link to post
Top Posters For This Question
2
1
Popular Days
Jan 14
1
Jan 15
1
Jan 20
1
Top Posters For This Question
displaynamed 2 posts
tazmeah 1 post
Popular Days
Jan 14 2021
1 post
Jan 15 2021
1 post
Jan 20 2021
1 post
Popular Posts
tazmeah
The way you'd make an image linkable in HTML is to surround your element in anchor tags. So, to make an image link to somewhere on click, <tr> <a href="https://www.google.com"> &l
2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment