Forum Replies Created
-
AuthorPosts
-
Hi Yigit, thank you so much but there’s aproblem. What happens is that a figure continue to rotate on itself.
The gif I’ve preparedhave an animation inside, not a general rotation.
I just want to activate my gif, that’s itOk, I’ve created it and I’ve put it inside the theme via ftp, in the correct directory. now how ca I do to use it?
Please could you reply me?
Thank youHere we go! Here’s the link for dropbox with an explanation sheet.
Please reply me asap!
ThanxHave you try to see what’s wrong?
Sorry, but My site is almost finished, I can’t re-load everytinh.
Couldn’t you be a little bit more helpful?ok, it looks like went back to normality. But something is strange. I’ve understood that code block causes some problems. But colors are uncorrect anyway
Please! Everything is going crazy, colors changing random and layout too. Please help me!
Please reply me as soon as possible, it’s quite urgent. Thanx
Sorry, I’m seeing something wrong in my site. are you working on it?
I assume that th problem is wiht Icon Boxes. I don’t know why but it looks like they can’t take colors from the color column contains them
Ok, so.. Before open enfold child theme oprion. Go to general style.
Watch MAIN CONTENT and ALTERNATE CONTENT COLORS. Do you see that “Highlight Background+Border color” in the two sections are different? Ok then, go now to “Servizi” page. The colors of icon boxes, even if they should be different, are the same anc I can’t do anthingGot it! Thank you!
What if I have to put a .js code internally in a page? Do I have to use code block? ThanksYou have been sooo clear, thank you so much. Last question. I don’t have a .js folder into child theme (just style.css and function.php). Didi you mean in the Enfold theme .js folder right?
Hi, nothing happens and I can’t understand the post you refered to.
Just tell me how to link an external .js in the pages please.
If I want to link a new .js where should I link it?
Considering I’m using child-theme.
Thank you sooo much!THIS IS SMOOTHSCROLL .JS:
var ss = {
fixAllLinks: function() {
// Get a list of all links in the page
var allLinks = document.getElementsByTagName(‘a’);
// Walk through the list
for (var i=0;i<allLinks.length;i++) {
var lnk = allLinks[i];
if ((lnk.href && lnk.href.indexOf(‘#’) != -1) &&
( (lnk.pathname == location.pathname) ||
(‘/’+lnk.pathname == location.pathname) ) &&
(lnk.search == location.search)) {
// If the link is internal to the page (begins in #)
// then attach the smoothScroll function as an onclick
// event handler
ss.addEvent(lnk,’click’,ss.smoothScroll);
}
}
},smoothScroll: function(e) {
// This is an event handler; get the clicked on element,
// in a cross-browser fashion
if (window.event) {
target = window.event.srcElement;
} else if (e) {
target = e.target;
} else return;// Make sure that the target is an element, not a text node
// within an element
if (target.nodeName.toLowerCase() != ‘a’) {
target = target.parentNode;
}// Paranoia; check this is an A tag
if (target.nodeName.toLowerCase() != ‘a’) return;// If we didn’t find a destination, give up and let the browser do
// its thing
if (!destinationLink) return true;// Find the destination’s position
var destx = destinationLink.offsetLeft;
var desty = destinationLink.offsetTop;
var thisNode = destinationLink;
while (thisNode.offsetParent &&
(thisNode.offsetParent != document.body)) {
thisNode = thisNode.offsetParent;
destx += thisNode.offsetLeft;
desty += thisNode.offsetTop;
}// Stop any current scrolling
clearInterval(ss.INTERVAL);cypos = ss.getCurrentYPos();
ss_stepsize = parseInt((desty-cypos)/ss.STEPS);
ss.INTERVAL =
setInterval(‘ss.scrollWindow(‘+ss_stepsize+’,’+desty+’,”‘+anchor+'”)’,10);// And stop the actual click happening
if (window.event) {
window.event.cancelBubble = true;
window.event.returnValue = false;
}
if (e && e.preventDefault && e.stopPropagation) {
e.preventDefault();
e.stopPropagation();
}
},scrollWindow: function(scramount,dest,anchor) {
wascypos = ss.getCurrentYPos();
isAbove = (wascypos < dest);
window.scrollTo(0,wascypos + scramount);
iscypos = ss.getCurrentYPos();
isAboveNow = (iscypos < dest);
if ((isAbove != isAboveNow) || (wascypos == iscypos)) {
// if we’ve just scrolled past the destination, or
// we haven’t moved from the last scroll (i.e., we’re at the
// bottom of the page) then scroll exactly to the link
window.scrollTo(0,dest);
// cancel the repeating timer
clearInterval(ss.INTERVAL);
// and jump to the link directly so the URL’s right
location.hash = anchor;
}
},getCurrentYPos: function() {
if (document.body && document.body.scrollTop)
return document.body.scrollTop;
if (document.documentElement && document.documentElement.scrollTop)
return document.documentElement.scrollTop;
if (window.pageYOffset)
return window.pageYOffset;
return 0;
},addEvent: function(elm, evType, fn, useCapture) {
// addEvent and removeEvent
// cross-browser event handling for IE5+, NS6 and Mozilla
// By Scott Andrew
if (elm.addEventListener){
elm.addEventListener(evType, fn, useCapture);
return true;
} else if (elm.attachEvent){
var r = elm.attachEvent(“on”+evType, fn);
return r;
} else {
alert(“Handler could not be removed”);
}
}
}ss.STEPS = 25;
ss.addEvent(window,”load”,ss.fixAllLinks);
And then I obiouvsly have to link the -js page inside my header but I don’t know ho to do it correctly
Hi, I’ve created a temporary user for you.
I don’t need to point an image out. All the images have the same problem.
Try to open the page Home and look the images in the first slider.
Thank you soo much, please reply asapThank you soo much Yigit!
Have a nice day!Ahah yeah, sorry.
http://www.i2mondibar.itThank you
Hi, yeah, would be great if you could make the changes for me, last time I’ve caused fatal error so…
Please activate also classic editor mode for me! And don’t deactivate composer, I would like to have both
Thank you sooo muchMy credentials are:
Hi, 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
Ok, 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 muchSorry, 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?
ThanxOk, I’ve upload the code where you told me
-
AuthorPosts