-
AuthorPosts
-
February 9, 2015 at 4:33 pm #393122
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,
MPFebruary 10, 2015 at 6:58 am #393505Hi 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); } }); </scriptBest regards,
JosueFebruary 10, 2015 at 8:50 am #393552Thanks 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
February 10, 2015 at 9:01 pm #393969Hey!
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,
JosueFebruary 11, 2015 at 9:02 pm #394669Thanks again for your help and info.
MP
February 11, 2015 at 9:15 pm #394677You are welcome, glad to help :)
Regards,
JosueFebruary 20, 2015 at 6:36 pm #399804One 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,
MPFebruary 20, 2015 at 7:54 pm #399845Hey,
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 -
AuthorPosts
- You must be logged in to reply to this topic.
