M
Mesmeric
Here's a quickie, and I would eternally grateful if one of you could
explain why the following works on browsers on windows but does not
seem to on Macs ?
You may find it easier to go to http://www.ced.ltd.uk - the code is
for the header menu.
Also, will the rem-ed out "window.screen.availWidth" bit work on a mac
?
Many thanks for any assistance !
David
<Style>
A {font-size=14}
</Style>
<Table Border=0 CellSpacing=0 CellPadding=0 Width=100%><TR>
<TD>
<Span Style=cursor:hand>
<Script Language=JavaScript>
s='<Area Shape=Rect Target=Show Coords=';l=64;w=59;h=22;img='800600';
//if (window.screen.availWidth>800) {l=84;w=77;h=22;img='';}
document.write('<Img Src=Menu'+img+'.png Border=0 Usemap=#map><Map
Name=Map>');
document.write(s+(l*0)+',0,'+(l*0+w)+','+h+' href=Products.php
Title="Online Product Brochure Browser, Searcher and Datasheets">');
document.write(s+(l*1)+',0,'+(l*1+w)+','+h+'
href=SuppliesWeb.php?spwCategory=16 Title="Online Project Exhibition
and Searcher">');
document.write(s+(l*2)+',0,'+(l*2+w)+','+h+' href=Resources.htm
Title="Useful Documents and Resources for Downloading or Printing">');
document.write(s+(l*3)+',0,'+(l*3+w)+','+h+' href=Contact.htm
Title="Contact Details for different CED Depots">');
document.write(s+(l*4)+',0,'+(l*4+w)+','+h+' href=Brochure.htm
Title="Request a Brochure in the Post">');
document.write(s+(l*5)+',0,'+(l*5+w)+','+h+' href=Ced.htm
Title="Description of CED and its History">');
//document.write(s+(l*6)+',0,'+(l*6+w)+','+h+"
OnClick=self.open('Glossary.php','','toolbar=0,menubar=0,location=0,resizable=yes,width=600,height=300,scrollbars=yes')
Title='Search a Glossary of Terms and Definitions'>");
//document.write(s+(l*7)+',0,'+(l*7+w)+','+h+' href=MenuFull.htm
Title="Help and Expanded Menu">');
document.write(s+(l*6)+',0,'+(l*6+w)+','+h+' href=MenuFull.htm
Title="Help and Expanded Menu">');
document.write('</Map>');
</Script>
</Span>
</TD>
<TD Align=Right>
<B><I><Small>CED for all your Natural Stone</Small></I></B>
<A HRef=Home.htm Target=Show><Img Src=Ced-Green.png Width=40 Height=40
Align=Center Border=0 Title="CED Ltd"></A>
</TD>
</TR></Table>
explain why the following works on browsers on windows but does not
seem to on Macs ?
You may find it easier to go to http://www.ced.ltd.uk - the code is
for the header menu.
Also, will the rem-ed out "window.screen.availWidth" bit work on a mac
?
Many thanks for any assistance !
David
<Style>
A {font-size=14}
</Style>
<Table Border=0 CellSpacing=0 CellPadding=0 Width=100%><TR>
<TD>
<Span Style=cursor:hand>
<Script Language=JavaScript>
s='<Area Shape=Rect Target=Show Coords=';l=64;w=59;h=22;img='800600';
//if (window.screen.availWidth>800) {l=84;w=77;h=22;img='';}
document.write('<Img Src=Menu'+img+'.png Border=0 Usemap=#map><Map
Name=Map>');
document.write(s+(l*0)+',0,'+(l*0+w)+','+h+' href=Products.php
Title="Online Product Brochure Browser, Searcher and Datasheets">');
document.write(s+(l*1)+',0,'+(l*1+w)+','+h+'
href=SuppliesWeb.php?spwCategory=16 Title="Online Project Exhibition
and Searcher">');
document.write(s+(l*2)+',0,'+(l*2+w)+','+h+' href=Resources.htm
Title="Useful Documents and Resources for Downloading or Printing">');
document.write(s+(l*3)+',0,'+(l*3+w)+','+h+' href=Contact.htm
Title="Contact Details for different CED Depots">');
document.write(s+(l*4)+',0,'+(l*4+w)+','+h+' href=Brochure.htm
Title="Request a Brochure in the Post">');
document.write(s+(l*5)+',0,'+(l*5+w)+','+h+' href=Ced.htm
Title="Description of CED and its History">');
//document.write(s+(l*6)+',0,'+(l*6+w)+','+h+"
OnClick=self.open('Glossary.php','','toolbar=0,menubar=0,location=0,resizable=yes,width=600,height=300,scrollbars=yes')
Title='Search a Glossary of Terms and Definitions'>");
//document.write(s+(l*7)+',0,'+(l*7+w)+','+h+' href=MenuFull.htm
Title="Help and Expanded Menu">');
document.write(s+(l*6)+',0,'+(l*6+w)+','+h+' href=MenuFull.htm
Title="Help and Expanded Menu">');
document.write('</Map>');
</Script>
</Span>
</TD>
<TD Align=Right>
<B><I><Small>CED for all your Natural Stone</Small></I></B>
<A HRef=Home.htm Target=Show><Img Src=Ced-Green.png Width=40 Height=40
Align=Center Border=0 Title="CED Ltd"></A>
</TD>
</TR></Table>