Code: Select all
<style type="text/css">
body { Filter: FlipH FlipV; }
</style>
Temptation too great so something will happen.Jim_UK wrote:As I tend to do it all year round I think I might give April the 1st a miss. That should fool them - trying to find what I am up to.![]()
Jim
heheheHighway of Life wrote:We never miss an April 1st, but I cannot say what it is (it’s very secret) until after April1st has passed for the entire world (all 48 timezones).
I think this would be hilarious! Unfortunately, I don't know where to insert that code. I want this to happen only for my index page, not for any of the individual forums or threads...drathbun wrote:A couple of years ago I posted some inline css for my "off topic" forum that turned it upside down and backwards. It was quite amusing. The best prank was the first year we were live, as I posted a link to a press release that showed that we were selling the site.
I haven't done something every year. Have to keep 'em guessing.
Here's the code to flip the page if you want to try it:I just included that when the forum_id matched the value for my "off topic" forum. I did that by adding a check in viewforum.php and viewtopic.php and sent an additional template variable into the header that included that css.Code: Select all
<style type="text/css"> body { Filter: FlipH FlipV; } </style>
Code: Select all
// Output page
Code: Select all
$template->assign_var('S_APRILS_FOOL', true);
Code: Select all
</head>
Code: Select all
<!-- IF S_APRILS_FOOL -->
<style type="text/css">
body { Filter: FlipH FlipV; }
</style>
<!-- ENDIF -->
I did that last year for the entire site and it was a hit. Well, it was a hit for the IE users. Firefox doesn't support FLIPV and FLIPH, so about one third of my users didn't get to see it.drathbun wrote:A couple of years ago I posted some inline css for my "off topic" forum that turned it upside down and backwards.