[Mapserver-west] Question about dbox in ms4w
Richard Greenwood
richard.greenwood at gmail.com
Mon Oct 9 09:22:18 EDT 2006
On 10/8/06, Sam Young <samnyoung at hotmail.com> wrote:
> I am using the dbox0.9a1-demo with msw4 and I am having trouble getting my
> main image to display.
>
> I was thinking my problem is in the code listed below. Does anyone have any
> suggestions?
> <script language="javascript">
> document.write("<img id=\"main\" src=\"../graphics/white_pixel.gif\"
> height=\"" + mapsizey + "\" width=\"" + mapsizex + "\">");
> </script>
I don't see anything immediately wrong with that one line, but if you
suspect that is where the problem is, try pulling it out of the
JavaScript document.write and test it as a standard img tag.
Have you not got the dBox demo working at all, or are you beginning to
modify the demo for your own application?
Rich
--
Richard Greenwood
richard.greenwood at gmail.com
www.greenwoodmap.com
More information about the Mapserver-west
mailing list