Skip to content Skip to sidebar Skip to footer

Which Dom Element Will Work Outside Bootstrap Dropdown-item To Display An Default Image Based On Open Dropdown?

In my menu , i have two columns, one for submenu text and other for respective images. this portion is working fine. But i want to set a default image, which will display when user

Solution 1:

I am not sure if I got your question right.

If you need a different default image for every main menu point, then append a url/image-path to the li-tag via data-src for example.

EDIT: something like this?

https://jsfiddle.net/2a3joxfz/7/

all a-tags got an rel attribute.

Post a Comment for "Which Dom Element Will Work Outside Bootstrap Dropdown-item To Display An Default Image Based On Open Dropdown?"