[thelist] for loop, array and mouseover teazer

Chris Price chris.price at choctaw.co.uk
Wed Sep 12 09:47:42 CDT 2007


Lee Kowalkowski wrote:
> MyPointer.onmouseover = new Function("MyWorld.nodeValue = MyDesc[" +
> i + "] + ' world'");
>
> ... because 'i' will be evaluated when the function is defined and
> therefore essentially be a constant value.
>   
Thanks Lee, but now I get the error MyWorld and MyDesc are not defined.

Kind Regards
-- 
Chris Price

Choctaw

chris.price at choctaw.co.uk
http://www.choctaw.co.uk

Tel. 01524 825 245
Mob. 0777 451 4488

Beauty is in the Eye of the Beholder
while Excellence is in the Hand of the Professional

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-+- Sent on behalf of Choctaw Media Ltd -+-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Choctaw Media Limited is a company
registered in England and Wales
with company number 04627649

Registered Office:
Lonsdale Partners,
Priory Close,
St Mary's Gate,
Lancaster LA1 1XB
United Kingdom





More information about the thelist mailing list