TinyPortal

Development => Block Codes => Topic started by: akulion on September 13, 2006, 04:08:40 PM

Title: Watching Eyes block
Post by: akulion on September 13, 2006, 04:08:40 PM
Hi

Instead of a reading speech just look at the demo (http://www.propix.hu/www/jseyes/jseyes.html)

Step 1: Download the file from their page

Step 2: upload all files to forum root

Step 3: Add code below to block, activate, enjoy



<head>
<script src="jseyes.js"></script>
</head>
<center><script>jseyeswr()</script><b><font size="1" face="Verdana">Please Behave - Remember We are watching
you!</font></b></center>




Ps: customization instructions and stuff included in zip file.

PPS: We have discovered a horrible fact that this will only work in Firefox and Netscape browsers....for Intrnet explorer it needs location variables to be added as follows:

jseyeswr(X,Y)

where X and Y represent co-ordinates on the page

and wont work at all in opera...

This is the perfect example why IE and Opera suck and Firefox rules...
Title: Re: Watching Eyes block
Post by: akulion on September 13, 2006, 05:26:44 PM
made a few changes - now on click the link points back to your homepage

Title: Re: Watching Eyes block
Post by: Greenbug on September 13, 2006, 05:42:58 PM
No matter what I do those eyes wont look down.
Title: Re: Watching Eyes block
Post by: akulion on September 13, 2006, 05:54:47 PM
it could be conflicting with another script u have on there

can i see a link? maybe its something on the page itself
Title: Re: Watching Eyes block
Post by: Greenbug on September 13, 2006, 05:56:52 PM
Its on your site I cant get it to look down at.
Title: Re: Watching Eyes block
Post by: akulion on September 13, 2006, 06:01:15 PM
dang

just noticed dosent work properly in IE

and in opera not at all!!

double dang those browsers!!

firefox Rules!!
Title: Re: Watching Eyes block
Post by: Greenbug on September 13, 2006, 06:02:33 PM
HAHAHA, thats funny I was going to post I was using IE too.
Title: Re: Watching Eyes block
Post by: akulion on September 13, 2006, 06:04:58 PM
just found out the problem with IE

it needs the EXACT location variables for it to work....

sucks

but u can put it as jseyeswr(0,0)

to have it right at the top left hand corner of ur page