L
Lucanus
Hi All,
I have scoured my JavaScript book, but can't find the answer, so I
hope that you can help...
I have a banner on my webpage, called (creatively) "banner".
This banner uses a map called "bannerMap".
The map has an area called "homeLink".
The area's href is "home.htm".
How do I reference this href?
I have tried:
document.bannerMap.homeLink.href - FAILED
document.banner.bannerMap.homeLink.href - FAILED
document.homeLink.href - FAILED
document.banner.homeLink.href - FAILED
Has anyone tried this before? Is it possible? What is the answer?!
Thanks
Luke
I have scoured my JavaScript book, but can't find the answer, so I
hope that you can help...
I have a banner on my webpage, called (creatively) "banner".
This banner uses a map called "bannerMap".
The map has an area called "homeLink".
The area's href is "home.htm".
How do I reference this href?
I have tried:
document.bannerMap.homeLink.href - FAILED
document.banner.bannerMap.homeLink.href - FAILED
document.homeLink.href - FAILED
document.banner.homeLink.href - FAILED
Has anyone tried this before? Is it possible? What is the answer?!
Thanks
Luke