0

How can i edit this code ?

<img data-seq src="images/model1.png" />

For this , but using script - "data-seq":

<%= image_tag 'model1.png' %>

2 Answers 2

1

I'm not sure what you want, but if you want to add a custom data-seq value, use this:

<%= image_tag 'model1.png', data: { seq: '' } %>
Sign up to request clarification or add additional context in comments.

2 Comments

I try to use Slider - sequencejs . what shoud i paste here to make it work ? - data: { seq: '' }
I don't know this tool, try to refer to documentation
0

This will generate what you want

<%= image_tag 'model1.png', data: { seq: nil } %>

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.