First off, my test page is here: <!-- m --><a class="postlink" href="http://www.deltaaudio.com/temp/theone.html">http://www.deltaaudio.com/temp/theone.html</a><!-- m -->
On the page is a nav bar. I then have two layers which i want to line-up with said nav bar. Since the site uses liquid
design, the nav bar will not be displayed at a constant position, and hence i cannot assign a definite position to
the two layers (they show the nav 2 for two items in the nav bar on the page).
Now, i've managed to get everything working beautifully in IE, but NN 4.7 & 6.2 declares that the object i'm passing
"is not defined".
I'm not a coder as such, so i've cobbled together scripts from (<!-- m --><a class="postlink" href="http://www.webreference.com/js/column33/">http://www.webreference.com/js/column33/</a><!-- m -->) and
Dreamweaver.
It's probably easier for you to have a look at the actual page than for me to try to explain it here. But the crux of
my problem seems to be when NN gets into the second line of the following function.
function ax_getImageXfromLeft(imgID) {
if (NS4) return eval(imgID).x
else return ax_getRealLeft(imgID);
}
The Java console reports:
JavaScript Error:
<!-- m --><a class="postlink" href="http://www.deltaaudio.com/temp/theone.html">http://www.deltaaudio.com/temp/theone.html</a><!-- m -->, line 42:
serv is not defined.
I know it's got to be a simple solution, but it's beyond my current knowledge, so if anyone can offer any assistance i'd appreciate it, and be able to stop pulling my hair out in frustration!
Thanks
Druid
On the page is a nav bar. I then have two layers which i want to line-up with said nav bar. Since the site uses liquid
design, the nav bar will not be displayed at a constant position, and hence i cannot assign a definite position to
the two layers (they show the nav 2 for two items in the nav bar on the page).
Now, i've managed to get everything working beautifully in IE, but NN 4.7 & 6.2 declares that the object i'm passing
"is not defined".
I'm not a coder as such, so i've cobbled together scripts from (<!-- m --><a class="postlink" href="http://www.webreference.com/js/column33/">http://www.webreference.com/js/column33/</a><!-- m -->) and
Dreamweaver.
It's probably easier for you to have a look at the actual page than for me to try to explain it here. But the crux of
my problem seems to be when NN gets into the second line of the following function.
function ax_getImageXfromLeft(imgID) {
if (NS4) return eval(imgID).x
else return ax_getRealLeft(imgID);
}
The Java console reports:
JavaScript Error:
<!-- m --><a class="postlink" href="http://www.deltaaudio.com/temp/theone.html">http://www.deltaaudio.com/temp/theone.html</a><!-- m -->, line 42:
serv is not defined.
I know it's got to be a simple solution, but it's beyond my current knowledge, so if anyone can offer any assistance i'd appreciate it, and be able to stop pulling my hair out in frustration!
Thanks
Druid