| View previous topic :: View next topic |
| Author |
Message |
The Doctor
Editor-in-Chief
|
|
| Back to top |
|
 |
dethwing
DeTheeThaw
|
Posted: Sun Jul 13, 2003 2:26 pm Post subject: 2 |
|
|
| Nothing happens. I don't get it. |
|
| Back to top |
|
 |
JDTAY
obseletes now
|
Posted: Sun Jul 13, 2003 2:28 pm Post subject: 3 |
|
|
| It works for me. You're probably just one of those losers who doesn't use IE. |
|
| Back to top |
|
 |
Chuck
Daedalian Member
|
Posted: Sun Jul 13, 2003 2:31 pm Post subject: 4 |
|
|
It works in Internet Explorer but not in Netscape Navigator.
This is my 7500th post. I know you get a house, car, and big screen TV when you hit 10,000. Is there any prize for 7500? |
|
| Back to top |
|
 |
The Doctor
Editor-in-Chief
|
Posted: Sun Jul 13, 2003 2:38 pm Post subject: 5 |
|
|
I don't know. What about 1402nd? Anything from some foreign people who count using base 1402?
[This message has been edited by The Doctor (edited 07-13-2003 10:39 AM).] |
|
| Back to top |
|
 |
Beartalon
'Party line' kind of guy
|
Posted: Sun Jul 13, 2003 3:57 pm Post subject: 6 |
|
|
| Quote: |
| You're probably just one of those losers who doesn't use IE. |
No, he's a VICTIM of the losers who don't write browser detection into their code so their product can be seen by MOST people, regardless of browser.
I have the code. I've played with it to get an elliptical clock face, with the date going around another ellipse perpendicular to the clock face. It looks like an atom
[This message has been edited by Beartalon (edited 07-13-2003 11:57 AM).] |
|
| Back to top |
|
 |
margitsw
Queen of VSP
|
Posted: Sun Jul 13, 2003 4:16 pm Post subject: 7 |
|
|
From the source code
if (ie){
And that says it all. |
|
| Back to top |
|
 |
Beartalon
'Party line' kind of guy
|
Posted: Sun Jul 13, 2003 5:13 pm Post subject: 8 |
|
|
| I checked again. It also says "if(ns)..." so the detection code is there. I wonder why it doesn't work? |
|
| Back to top |
|
 |
extropalopakettle
No offense, but....
|
Posted: Sun Jul 13, 2003 5:39 pm Post subject: 9 |
|
|
| Works fine for me in Netscape (4.75). |
|
| Back to top |
|
 |
The Doctor
Editor-in-Chief
|
Posted: Sun Jul 13, 2003 6:25 pm Post subject: 10 |
|
|
| Beart, how'd you do that elipse thing? |
|
| Back to top |
|
 |
Beartalon
'Party line' kind of guy
|
Posted: Sun Jul 13, 2003 9:06 pm Post subject: 11 |
|
|
| I'm trying to find it. I either deleted or overwrote the result. It's obviously based on a circle, but I introduced new variables for the different radii of the ellipse. I'll have to work on it again. |
|
| Back to top |
|
 |
Beartalon
'Party line' kind of guy
|
Posted: Mon Jul 14, 2003 2:39 am Post subject: 12 |
|
|
If you look in the source, you can see variables names ClockWidth and ClockHeight. Change these to affect the shape of the clock part. Make one value larger than the other for an elliptical clock. If you use negative numbers, you'll flip the clock horizontally, vertically or both, and the hands will move in the appropriate direction for the new look.
Further down, you'll see this text which creates the scrolling date effect:
code:
for (i=0; i < D.length; i++){
var DL=(ns)?document.layers['nsDate'+i]:ieDate[i].style;
DL.top=Dy[i] + ClockHeight*1.5*Math.sin(currStep+i*Dsplit*Math.PI/180)+scrll;
DL.left=Dx[i] + ClockWidth*1.5*Math.cos(currStep+i*Dsplit*Math.PI/180);
}
To get an ellipse for the date, add a multiplying factor to each line, like so:
code:
for (i=0; i < D.length; i++){
var DL=(ns)?document.layers['nsDate'+i]:ieDate[i].style;
DL.top=Dy[i] + 2*ClockHeight*1.5*Math.sin(currStep+i*Dsplit*Math.PI/180)+scrll;
DL.left=Dx[i] + 1.5*ClockWidth*1.5*Math.cos(currStep+i*Dsplit*Math.PI/180);
}
Now the date will also be elliptical. If you use negative numbers, the date ellipse will rotate appropriately. If you make one of the multiplying factors less than one, the date ellipse will intersect the clock, like the atom I was talking about.
Now, try the multiplying factor somewhere else for more effects. This code:
code:
for (i=0; i < D.length; i++){
var DL=(ns)?document.layers['nsDate'+i]:ieDate[i].style;
DL.top=Dy[i] + ClockHeight*1.5*Math.sin(2*(currStep+i*Dsplit*Math.PI/180))+scrll;
DL.left=Dx[i] + ClockWidth*1.5*Math.cos(currStep+i*Dsplit*Math.PI/180);
}
has a multiplying factor inside the sin function, and produces an infinity-symbol with the scrolling date.
I'll upload these. |
|
| Back to top |
|
 |
Beartalon
'Party line' kind of guy
|
|
| Back to top |
|
 |
Beartalon
'Party line' kind of guy
|
Posted: Mon Jul 14, 2003 2:57 am Post subject: 14 |
|
|
| Hmph. They won't work for some reason, although they test locally just fine. Maybe it's geocities, my host. Try saving the sources to your hard drive and running it from there. |
|
| Back to top |
|
 |
The Doctor
Editor-in-Chief
|
Posted: Mon Jul 28, 2003 10:53 pm Post subject: 15 |
|
|
They work for me.
Those are great! I like that infinity one. Snazzy.
[This message has been edited by The Doctor (edited 07-28-2003 06:53 PM).] |
|
| Back to top |
|
 |
HyToFry
Drama queen
|
Posted: Wed Jul 30, 2003 11:53 pm Post subject: 16 |
|
|
| They sure don't work for me. |
|
| Back to top |
|
 |
The Ktulu
Daedalian Member
|
Posted: Thu Jul 31, 2003 12:55 am Post subject: 17 |
|
|
| Nor for me. |
|
| Back to top |
|
 |
Ancalagon
Winged Member
|
Posted: Thu Jul 31, 2003 3:03 pm Post subject: 18 |
|
|
| Doesn't work here either. Browser thingy? |
|
| Back to top |
|
 |
Beartalon
'Party line' kind of guy
|
Posted: Thu Jul 31, 2003 4:53 pm Post subject: 19 |
|
|
| It could be, but if I view it locally in IE, they work fine for me. |
|
| Back to top |
|
 |
Beartalon
'Party line' kind of guy
|
Posted: Thu Jul 31, 2003 4:54 pm Post subject: 20 |
|
|
| The error tells me invalid argument at line 118 char 2. I'll look at it when i get home. |
|
| Back to top |
|
 |
HyToFry
Drama queen
|
Posted: Thu Jul 31, 2003 5:16 pm Post subject: 21 |
|
|
| They don't work even locally for me. |
|
| Back to top |
|
 |
|