Closed Thread Icon

Topic awaiting preservation: Limitations ?!? (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=8858" title="Pages that link to Topic awaiting preservation: Limitations ?!? (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: Limitations ?!? <span class="small">(Page 1 of 1)</span>\

 
D-Runner
Obsessive-Compulsive (I) Inmate

From: Randers
Insane since: Sep 2003

posted posted 09-14-2003 21:32

Hey guys..

I've been looking through this forum, a lot of nice things are taken up for discussion here, the forum is active and all.
BUT i haven't seen anyone code in the way I've just done, and I have a lot of probs, coding that way.
What my point or question really is, is if anyone knows that way of coding and what limitations it has
I've made a little shaker code, kindly borrowed the idea from Doc himself :P

--------------------- --------------------- ---------------------

Main = {
DoIt: function()
{
setTimeout('boobie.style.top = (((document.body.clientHeight/2)-(parseFloat(girl.style.height)/2))-5)',30)
setTimeout('boobie.style.top = (((document.body.clientHeight/2)-(parseFloat(girl.style.height)/2))+5)',60)
setTimeout('boobie.style.top = (((document.body.clientHeight/2)-(parseFloat(girl.style.height)/2))-5)',90)
setTimeout('boobie.style.top = (((document.body.clientHeight/2)-(parseFloat(girl.style.height)/2))+5)',120)
setTimeout('boobie.style.top = (((document.body.clientHeight/2)-(parseFloat(girl.style.height)/2))-5)',150)
setTimeout('boobie.style.top = (((document.body.clientHeight/2)-(parseFloat(girl.style.height)/2))+5)',180)
setTimeout('boobie.style.top = (((document.body.clientHeight/2)-(parseFloat(girl.style.height)/2)))',210)
},
init: function()
{
girl.style.left = ((document.body.clientWidth/2)-(parseFloat(girl.style.width)/2))
boobie.style.left = ((document.body.clientWidth/2)-(parseFloat(girl.style.width)/2))
girl.style.top = ((document.body.clientHeight/2)-(parseFloat(girl.style.height)/2))
boobie.style.top = ((document.body.clientHeight/2)-(parseFloat(girl.style.height)/2))
}
}


CheerZ

/// Walther aka D-Runner

Dracusis
Maniac (V) Inmate

From: Brisbane, Australia
Insane since: Apr 2001

posted posted 09-15-2003 07:08

What question are you asking exactly?

If your asking if the code you posted is a *good* way to code, I'd say no.

It's overly redundant, atempts to create a seemingly non-linear effect through linera code and it's hard coded to only work in a handfull of web browsers.

That effect, as horribly annoying as it is, could be done is about 5 lines of code and be used in any web browser and with any absolutly positioned element.

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 09-15-2003 08:58

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

D-Runner
Obsessive-Compulsive (I) Inmate

From: Randers
Insane since: Sep 2003

posted posted 09-15-2003 15:12

That's the answer I needed

Heeh, I don't use that way normally, just tried it out yesterday and just wanted to know if it's a good way or not.
Obviously it's not


CheerZ

/// Walther aka D-Runner


[This message has been edited by D-Runner (edited 09-15-2003).]

Hugh
Paranoid (IV) Inmate

From: Dublin, Ireland
Insane since: Jul 2000

posted posted 09-15-2003 17:59

Does giving variables names like that make programming more exciting ?

Scott
Bipolar (III) Inmate

From: schillmania.com
Insane since: Jul 2002

posted posted 09-23-2003 03:41

Well, on the upside it could be some amusing code to watch - assuming the code relates to the content of course!



[This message has been edited by Scott (edited 09-23-2003).]

« BackwardsOnwards »

Show Forum Drop Down Menu