[Pro] Upside down web page!

Hi everyone,

I have a client who has businesses in the UK and Australia and would like a link between them… with a difference.

When on the UK site, there would be a link to the Australian site which, when clicked, would take the user to an upside down version of the home page for just a few seconds, then revert back to normal. This would also work in reverse.

I have never been asked to do this before and I’m not sure if it’s possible. The only thing I can think is using just an upside down image as a page and the timed redirect which then goes to the normal page?

Personally, I don’t like the idea but…

Any ideas (or reasons not to do it!)

Many thanks


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Mark,
Try this;
http://www.freewayactions.com/test/flip-page/

The page uses a small bit of JavaScript to add a class style to the main PageDiv that rotates it using CSS transforms;

<style>
.flip {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}
</style>
<script>
	var pagediv = document.getElementById("PageDiv");
	pagediv.className += ' flip';
	window.setTimeout(function() { pagediv.className = pagediv.className.replace('flip',''); },15000);
</script>

Add the code to your page using Page > HTML Markup > Before and set the 15000 number in the code to the number of thousands of a second you want the user to wait before the page flips back to normal.

The great thing about this is that the page will still be functional even when it is inverted.
Regards,
Tim.

On 27 Mar 2015, at 12:16, MarkSmith wrote:

Any ideas (or reasons not to do it!)


FreewayStyle.com - Freeway templates and parts to download, use and explore - http://www.freewaystyle.com


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks a million Tim. Quick question: if someone had Javascript turned off, would this still flip but not return or would it just not flip.

I’m guessing that it would be the the former?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Mark,
I set it up so that if JS was switched off then the page doesn’t get flipped in the first place so won’t get stuck up side down.
Regards,
Tim.

On 27 Mar 2015, at 16:52, MarkSmith wrote:

Thanks a million Tim. Quick question: if someone had Javascript turned off, would this still flip but not return or would it just not flip.

I’m guessing that it would be the the former?


FreewayActions.com - Freeware and commercial Actions for Freeway Express & Pro - http://www.freewayactions.com


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

That’s brilliant Tim, thanks so much. That was the main objection to not implementing it so I’m guessing they’ll now go ahead.

Thanks again


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options