[Mapserver-west] Question about dbox in ms4w

Bruno Patini Furtado bpfurtado at gmail.com
Mon Oct 9 06:35:43 EDT 2006


just a tip, you can replace the escaped quotes (\") by single quotes in
Javascript in order to get a more readable code. You can even start a string
with single quotes and use double quotes inside.

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>
>
> Thanks,
> Sam
>
>
> _______________________________________________
> Mapserver-west mailing list
> Mapserver-west at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/mapserver-west
>



-- 
"Minds are like parachutes, they work best when open."

Bruno Patini Furtado
Software Developer
webpage: http://bpfurtado.net
software development blog: http://bpfurtado.livejournal.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/mapserver-west/attachments/20061009/571b166a/attachment.html


More information about the Mapserver-west mailing list