Closed Thread Icon

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

 
Osaires
Paranoid (IV) Inmate

From: oslo, Norway
Insane since: Aug 2001

posted posted 11-15-2001 23:54

I think i read somwere in the asylum that the eval command is slowing down the script is it true?
god say it isn't

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 11-15-2001 23: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.

Osaires
Paranoid (IV) Inmate

From: oslo, Norway
Insane since: Aug 2001

posted posted 11-16-2001 00:05

when i use eval i don't have to make one script for IE and one for NN, NN6
so is ther a alternative to eval,

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 11-16-2001 00:16

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.

Osaires
Paranoid (IV) Inmate

From: oslo, Norway
Insane since: Aug 2001

posted posted 11-16-2001 00:22

thank you very much.

well then i i have another problem, if i have a layer's name stored inn a variable i usaly do this
eval ("document.all."+name+".style.left = 200"), how can i do this without a eval command?


he he, this suks i'm just finishd with my script 250 lines and it's all eval;




[This message has been edited by Osaires (edited 11-16-2001).]

Osaires
Paranoid (IV) Inmate

From: oslo, Norway
Insane since: Aug 2001

posted posted 11-16-2001 00:32

ok, i think i got it, never mind about that post

thanks again, looking forward to fast dhtml

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 11-16-2001 00:32

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.

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 11-16-2001 00:34

Or you could do

document.all[name].style.left = whatever

if you're sure they're using IE.

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 11-16-2001 00:42

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.

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 11-16-2001 03:25

Ini: It would be interesting to have a page with some of the common problems/poor ways of doing things outlined and the generally agreed upon 'best practice' solution(s) outlined - it wouldn't have to be much more than what you've written above but it would be useful. I know I find such discussions as above very useful and I know its helping me improve my JavaScripting so thanks.

Emps


You're my wife now Dave

« BackwardsOnwards »

Show Forum Drop Down Menu