burginsteve
08-11-2007, 04:22 PM
I'm designing a web page that includes
<div id='myMap' style="position:relative; width:100%; height:100%; left: 1px;"></div>
It displays a Microsoft VirtualEarth satellite image (the actual location is dictated by javascript that is placed in the <head>).
It works fine until I try to include the Manual Scroller (http://www.dynamicdrive.com/dynamicindex2/manualscroll.htm) javascript menu. The menu works fine but the VirtualEarth image fails to display.
This scroller has 2 scripts and it's this script that stops the Virtual Earth image displaying...
var speed=2
iens6=document.all||document.getElementById
ns4=document.layers
if (iens6){
document.write('<div id="container" style="position:relative;width:60px;height:220px;overflow:hidden;border:0px ridge white">')
document.write('<div id="content" style="position:absolute;width:60px;left:0px;top:0px">')
}
Can anyone help me get both elements working on the same page?
<div id='myMap' style="position:relative; width:100%; height:100%; left: 1px;"></div>
It displays a Microsoft VirtualEarth satellite image (the actual location is dictated by javascript that is placed in the <head>).
It works fine until I try to include the Manual Scroller (http://www.dynamicdrive.com/dynamicindex2/manualscroll.htm) javascript menu. The menu works fine but the VirtualEarth image fails to display.
This scroller has 2 scripts and it's this script that stops the Virtual Earth image displaying...
var speed=2
iens6=document.all||document.getElementById
ns4=document.layers
if (iens6){
document.write('<div id="container" style="position:relative;width:60px;height:220px;overflow:hidden;border:0px ridge white">')
document.write('<div id="content" style="position:absolute;width:60px;left:0px;top:0px">')
}
Can anyone help me get both elements working on the same page?