Tagged: Code block, html, js
-
AuthorPosts
-
August 28, 2015 at 12:18 pm #494785
Morning!
Thank you for the template, it’s awesome.
I need some answers:
I have to put an animation in my homepage. I’ve got a javascript file which I’ve loaded by ftp and some in-line css code.
The test is good when I run it on a normal browser, but when I put it in my code block template, It goes wrong.
Which are the guidelines for the insertion of a js css html code block?
I link to you my credentials to log-in.
I also link to you what it supposed to be the final effect of the animationSecond question. It’s probabily sooo easy, anyway, how can I remove enfold credits from the copyright section?
It’s important, thank you soo much!August 28, 2015 at 2:38 pm #494847Hey!
Thank you for your kind words!
1- Can you please post the code here you need to use using http://pastebin.com/?
2- Yes it is :) Please see – http://kriesi.at/documentation/enfold/change-the-footer-text-and-link/Cheers!
YigitAugust 28, 2015 at 4:23 pm #494947Ok, I’ve upload the code where you told me
August 29, 2015 at 8:24 am #495215September 1, 2015 at 10:12 am #496344Sorry, I don’t understand what to do! I’ve written in the forum, they told me to open a ticket; I’ve opened a ticket and then you told me to put everything in another site; I’ve done it and now? I’ve linked everything you need in the ticket according to the tip by the admin!
I need an answer as soon as possible, please could you make it easy for me?
ThanxSeptember 1, 2015 at 7:49 pm #496683Hey!
Sorry for the confusion. Pastebin is a site that allows sharing codes. Since pasting the code here directly could break this pages layout and HTML would not display source code, we are asking users to paste their codes to pastebin and then share the link here so we can copy the code and try to reproduce on our local installations.
Please paste the code to http://pastebin.com/ once again and then share the link :)Regards,
YigitSeptember 2, 2015 at 9:58 am #496944Ok, I’ve pasted the code. The thing I can’t understand is how to include javascript sheet.
In the message I’ve sent first to you, a test.html was included, you could see everything you want; the code, the animation effect etc…
Anyway, the link is here:
http://pastebin.com/ybzDVrjmPlease reply me asap
Thank you sooo muchSeptember 2, 2015 at 7:36 pm #497342Hi!
Please add your element inside a color section element and choose to display it at least 50% of screen size and disable preloading if you would like to see the animation from beginning. Otherwise, you need to adjust your custom JS code.
Regards,
YigitSeptember 4, 2015 at 9:58 am #498182Hi, thank you soo much for patience.
Anyway I can’t fixed it.
You told me to copy my element inside. Which one? I mean, do I have to put exactly this one inside a color section?
Is it a correct way? Whitout: <html>, <head>… tags right?
Exactly like this?<link href=”http://www.7emezzastudio.it/TEST/style.css” rel=”stylesheet” type=”text/css” />
<div class=”container”>
</div><script src=”http://cdnjs.cloudflare.com/ajax/libs/gsap/1.17.0/TweenMax.min.js”></script>
<script src=”http://www.7emezzastudio.it/TEST/main.js”></script>What do I mistake?
p.s. how could I disable preloading in this page?Thank you sooo much sooo much
September 6, 2015 at 3:28 am #498783Hey!
Looks like the code also affects the theme’s logo. Add a color section then place a code block element inside. In the code block element, add this code:
<div class="container"> <img class="logo-custom" src="http://www.7emezzastudio.it/TEST/logo-edit.png"> <img class="due" src="http://www.7emezzastudio.it/TEST/2.png" /> <img class="scritta" src="http://www.7emezzastudio.it/TEST/scritta.png" /> </div> <script src="http://cdnjs.cloudflare.com/ajax/libs/gsap/1.17.0/TweenMax.min.js"></script> <script src="http://www.7emezzastudio.it/TEST/main.js"></script>
After, modify this file http://www.7emezzastudio.it/TEST/main.js. Replace this line of code:
TweenLite.to(".logo" , 3, {x:460, rotation:360, ease: Bounce.easeOut})
..with this:
TweenLite.to(".logo-custom" , 3, {x:460, rotation:360, ease: Bounce.easeOut})
I’m not sure how the TweenLite script actually works so you have to contact the plugin author regarding the correct settings.
Cheers!
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.