Create Vertical HTML Timeline Widget with Images from a Data Frame
create_tml_img(
df,
smr,
dsc,
imgsrc,
imgalt,
smr_col = "white",
smr_bgcol = "#002240",
dsc_col = "#1D1D1D",
dsc_bgcol = "#FFFFFF",
dsc_size = "14px",
imgheight = "150px",
imgwidth = "150px",
open = FALSE
)
a data frame containing the necessary information.
the column name that will be used as the summary component.
the column name that will be used as the description component.
the column name indicating the 'href' source of the images.
the column name that will be used as 'alt' text for the images.
text color for the summary component. Defaults to 'white'.
background-color for the summary component. Defaults to "#002240".
text color for the description component. Defaults to "#1D1D1D".
background-color for the description component. Defaults to "#FFFFFF".
font size of the description component. Defaults to "14px".
the height of the image. Defaults to "150px".
the width of the image. Defaults to "150px".
logical, whether to open by default the summary components. Default to FALSE
A Vertical HTML Time Line Widget With Images