Hello Support,
Referencing from a previous post:
https://kriesi.at/support/topic/question-regarding-fullscreen-slider-with-youtube-video-functionality/
Is there a way for the Mobile & Table when someone goes to http://pmgl.bydecosta.com/ to redirect right away to /home/ and not take a couple of seconds?
On the PC & Mac Browsers it works great with the javascript you provided.
Hope to hear from you soon.
Thanks,
MP
Hi Marcelo!
Try with this code instead:
<script type = "text/javascript">
jQuery(document).ready(function() {
if(jQuery.avia_utilities.isMobile){
location.href = "insert your URL here";
}else{
window.setTimeout(function() {
location.href = "insert your URL here";
}, 5000);
}
});
</script
Best regards,
Josue
Thanks Josue,
I replaced the Javascript, I think it work but is hard to tell, because it still takes a couple of seconds when viewed on the iphone.
Is there a way to add a script for the iPad as well?
Thanks again for your help.
MP
Hey!
It will take a couple of seconds to make the redirect because the script needs to be loaded first, regarding iPad it should be working the same as the iPhone as both environments are recognised as mobile by Enfold.
Regards,
Josue
Thanks again for your help and info.
MP
You are welcome, glad to help :)
Regards,
Josue
One more question Josue that my colleagues are wondering if there is a way to add a 2 seconds fade in the beginning of the video and 2 seconds fade out in the video that is playing in the Splash page.
Thank you,
MP
Hey,
Hmm, i don’t think that’s easily doable to be honest, however there will be some page transition effects in the next patch.
Regards,
Josue