By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,576 Members | 1,360 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,576 IT Pros & Developers. It's quick & easy.

Funny script!

P: n/a
IE 5.5 - 6 only

Go to http://www.psssst.qc.ca/ and click on the "now" option on the top
menu.

Look at your clock!

Click "now" again to disable the script.
May not be perfect on some machine/configuration but he, it's just an funny
useless script! ;-)
OgreGras

Jul 23 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Ivo
"ogregras" wrote
IE 5.5 - 6 only

Go to http://www.psssst.qc.ca/ and click on the "now" option on the top
menu.

Look at your clock!

Click "now" again to disable the script.
May not be perfect on some machine/configuration but he, it's just an funny useless script! ;-)
OgreGras

Don't listen to strange men, my mama said. Tinkering with my clock? Could
you post the relevant bits in the newsgroup? That could be fun.

I.
Jul 23 '05 #2

P: n/a
Harmless. Useless, yes, but harmless.
"ogregras" <12**@1234.com> wrote in message
news:Or********************@weber.videotron.net...
IE 5.5 - 6 only

Go to http://www.psssst.qc.ca/ and click on the "now" option on the top
menu.

Look at your clock!

Click "now" again to disable the script.
May not be perfect on some machine/configuration but he, it's just an funny useless script! ;-)
OgreGras

Jul 23 '05 #3

P: n/a
It's harmless don't worry.
But again it's not perfect, just funny.

Here's the code:

<!--
*********************
NOW!

script by OgreGras
http://www.psssst.qc.ca

*********************
-->

<script language="javascript">

var height = 15 ;
var width = 51;
var top = screen.availHeight + 8 ;
var left = screen.availWidth - width - 8 ;
var lInterval ;
var ledivnow ;

function displayAlways()
{
if (!(ledivnow.isOpen))
{
ledivnow.show(left, top, width, height);
}
};

function goNow()
{
if (window.createPopup)
{
var cok = getCookie("nowcok") ;
if(cok)
{
clearTimeout(lInterval);

ledivnow = createPopup();

ledivnow.document.parentWindow.openPsssst = function()
{

window.open("http://www.psssst.qc.ca/viewtopic.php?t=398&j=0") ;
};

ledivnow.document.body.innerHTML = '<img id="lediv" style="cursor:hand;"
src="heure.gif" border="0" width="51" height="15" alt="MAINTENANT!"
onclick="openPsssst()">';

lInterval = setInterval(displayAlways, 10);
}
}
};

onload = goNow;

</script>

<!-- END: NOW!! -->

Jul 23 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.