Smooth transition

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
maxlan
 
 
Posts: 73
Joined: Thu Jan 07, 2016 6:56 pm

Smooth transition

Post by maxlan » Mon Oct 31, 2016 3:37 pm

Hi.
How to achieve the effect of smooth transition from one page to another using wwb.
Thank you

User avatar
Pablo
 
Posts: 13920
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Smooth transition

Post by Pablo » Mon Oct 31, 2016 3:46 pm

HTML does not have smooth transition between pages. This is only possible if the content is loaded by script (via AJAX).

maxlan
 
 
Posts: 73
Joined: Thu Jan 07, 2016 6:56 pm

Re: Smooth transition

Post by maxlan » Mon Oct 31, 2016 3:57 pm

Pablo wrote:HTML does not have smooth transition between pages. This is only possible if the content is loaded by script (via AJAX).
It can be an example or a link?

User avatar
[RZ]
 
 
Posts: 2138
Joined: Tue Nov 04, 2008 12:08 pm

Re: Smooth transition

Post by [RZ] » Mon Oct 31, 2016 4:01 pm

perhaps this may be useful? viewtopic.php?f=53&t=55937
(also jQuery-free may soon be available)

User avatar
Pablo
 
Posts: 13920
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Smooth transition

Post by Pablo » Mon Oct 31, 2016 4:17 pm


maxlan
 
 
Posts: 73
Joined: Thu Jan 07, 2016 6:56 pm

Re: Smooth transition

Post by maxlan » Mon Oct 31, 2016 4:53 pm

<script type="text/javascript">
$(document).ready(function() {
$("body").css("display", "none");
$("body").fadeIn(500);
$("a.fade").click(function(event){
event.preventDefault();
linkLocation = this.href;
$("body").fadeOut(500, redirectPage);
});
function redirectPage() {
window.location = linkLocation;
}
});
</script>
This code works from the first page to the second, the second to the first no.

User avatar
BaconFries
 
 
Posts: 4167
Joined: Thu Aug 16, 2007 7:32 pm

Re: Smooth transition

Post by BaconFries » Mon Oct 31, 2016 5:09 pm

Please note that it is out with the scope of the forum to assist with custom code. If you wish to use it is generally understood you understand how to use and how it fix any errors.

Post Reply

Who is online

Users browsing this forum: No registered users and 19 guests