Convert Javascript code to HTML?

Asked

Viewed 796 times

3

I made a banner on the bannersnack site to be used on Mercadolivre, the site of the option to download the banner in GIF, PNG, JPG and HTML5 and provides the code in Javascript as well.

The right GIF puts it on Mercadolivre, however it loses the animation, PNG and JPG does not serve, because the banner is two slides, already HTML5 I have no idea how it works.

Mercadolivre accepts only HTML, they do not accept Javascript language in the ad description

Does it have any way to convert this banner Javascript for HTML without losing the animation?

  • 1

    convert automatico I believe not, but Voce can use GIF or create your own using CSS3 and Html.

  • @Altiarlisilva did not understand what would be the problem of for an animated GIF. You say that when climbing the GIF it loses the animation in the ML, or you are having difficulty downloading the animated GIF?

  • The GIF runs normal, is two-slide, only it has an animation inside the slides, this animation that loses when I lower the GIF banner, follows the link to see the banner: http://share.bannersnack.com/FFFFBA6D569B/bxcs6i5jo

  • Take a look at [tour]. You can accept an answer if it solved your problem. You can vote on every post on the site as well. Did any help you more? You need something to be improved?

1 answer

3

Forget. Mercardolivre has a good reason not only to block GIF animation, but also Javascript and more powerful HTML features that allow you to do more elaborate things. Any attempt would likely violate the terms of use.

Even if this were not the problem, it would still be very difficult to do what you want (depending on what it is may even be possible). HTML is not a programming language. Javascript exists precisely because of this.

Do what you can in basic HTML, and refer to their documentation to see what else can be used. And learn what is allowed. It is possible to do some more sophisticated things but it is necessary to learn to use these permitted technologies. Ask more specific questions for every problem you encounter.

  • Thanks for the reply Bigown. But how complicated it would be to do what I wish?

  • In the case I’ve seen sellers do the unimaginable in the description only with html, as I saw in another forum, there are ways to access the system, would not cause problems unless someone reported the ad if they noticed, and believe me, nobody cares.

  • If you want to do animations, forget it, that’s all ML doesn’t want on their pages. Then you have to ask specific questions. Anyhow whatever it is to swindle something, I’m out.

  • I understand, but animations in GIF they allow, even market animated templates, what they do not accept is javascrip, if somehow you can make animations only with html, a banner in my case, I will not be breaking any rule, because they accept html, has an option just for that in the description. Anyway I appreciate, we really should be careful what is allowed or not, but it doesn’t cost anything to try, does it? At most they will pause the ad until the regularization of the same as has happened to me with another kind of problem that does not come to the case.

  • You can do something with HTML/CSS, but you have to ask specific questions about what you want. If you ask people to do everything for you.

  • I understand, the problem is that I don’t understand practically anything about programming, I wanted to know if there was a way and find someone who would do it for me, pay for the service, you know anyone could do it for me? Follow the banner link to get an idea: http://share.bannersnack.com/FFFFBA6D569B/bxcs6i5jo

  • Code: <script type="text/javascript"> var bannersnack_embed = {"hash":"bxcs6i5jo","width":900,"height":400,"t":1450372978,"userid":21929791,"https":true,"type":"Html5"}; </script> <script type="text/javascript" src="https://cdns.snacks.net/bannersnack/embed.js"></script>

  • Here is not the place for this, here we only clarify doubts of clear, focused and objective programming.

  • Calm down, I’m sorry. Thanks for the information, in case to do something with HTML/CSS, I will look for someone who understands these stops to do for me. Thanks buddy, have a great afternoon!

Show 4 more comments

Browser other questions tagged

You are not signed in. Login or sign up in order to post.