Thanks so much for the replies! I implemented both suggestions and the problem was solved.
Moved on from blank screen now to blank map :-). Evan M. Rose || CEO || NiteFly Inc. www.nite-fly.com [[email protected] || p: (914) 500-8792 || f: (914) 576-6364] Twitter: http://bit.ly/mQvNS LinkedIn:http://bit.ly/3IVTHY NiteFly Blog: http://bit.ly/6qPbrX Add NiteFly on Facebook: http://bit.ly/2HHKwe Check the Flickr for event photos: http://bit.ly/4Wgkck ___ Harvard '09 Regis HS '05 [email protected] On Thu, Mar 25, 2010 at 9:51 PM, Michael Geary <[email protected]> wrote: > The most common reason for a page going blank like that some time after it > loads is that you are calling document.write() after the page is fully > loaded. document.write() can be used only during the page load. If you call > it after the document is "closed" (i.e. after the page is loaded), then > document.write() performs an implicit document.open(), which opens a *new* > document, erasing the current one. > > In your imap.js file, there is a specialsTease() function which is called > asynchronously from the Ajax.updater() code in snagUpdates(). Inside > specialsTease() there is this code: > > var gpoint = $$('tease'); > > > > GLog.write("HERE OK1c"); > > document.write (gpoint); > > So it would appear that this document.write() is being called > asynchronously after the document is loaded. That would cause the symptoms > you've observed. > > Also, it looks like your gpoint variable is an array of DOM elements, not a > text string as document.write() expects. So even if it were called during > the page load it probably wouldn't do anything very useful. > > -Mike > > On Thu, Mar 25, 2010 at 5:55 PM, Evan Rose <[email protected]> wrote: > >> and the URL once you're logged in is: >> http://ec2-184-73-10-25.compute-1.amazonaws.com/maptest.php >> >> <http://ec2-184-73-10-25.compute-1.amazonaws.com/maptest.php>There is no >> front end link to it as I'm testing/debugging even within the sandbox. >> >> >> Evan M. Rose || CEO || NiteFly Inc. >> www.nite-fly.com >> [[email protected] || p: (914) 500-8792 || f: (914) 576-6364] >> >> Twitter: http://bit.ly/mQvNS >> LinkedIn:http://bit.ly/3IVTHY >> NiteFly Blog: http://bit.ly/6qPbrX >> Add NiteFly on Facebook: http://bit.ly/2HHKwe >> Check the Flickr for event photos: http://bit.ly/4Wgkck >> ___ >> Harvard '09 >> Regis HS '05 >> [email protected] >> >> >> >> On Thu, Mar 25, 2010 at 8:54 PM, Evan Rose <[email protected]> wrote: >> >>> Ralph, >>> >>> Thanks for your response! >>> >>> That's the problem. As you can see, it loads the map box, goes through >>> two GLog.writes after 1) initializing the map and 2)loading the xml file and >>> calling the function which parses the xml and posts the proper markers. >>> >>> The problem arises right at the beginning of the parsing/marker function >>> and it starts with window.map.clearOverlays. I was wondering if there is any >>> possible error that could have arisen either in my map code that could make >>> the screen go blank or if there possibly were any other people who have had >>> this happen to them. >>> >>> >>> >>> Mar 25, 2010 at 8:47 PM, Ralph Ames <[email protected]> wrote: >>> >>>> >The location of the map is: >>>> http://ec2-184-73-10-25.compute-1.amazonaws.com/maptest.php But you'll >>>> need >>>> to to login with U: [email protected] P: debug to >get to it as its >>>> behind a >>>> registration wall. >>>> >>>> I logged in but can't see any map? >>>> >>>> Where is it? >>>> >>>> >>>> Ralph >>>> - >>>> www.easypagez.com/maps/map_index.html >>>> >>>> >>>> >>>> >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups >>>> "Google Maps API" group. >>>> To post to this group, send email to [email protected]. >>>> To unsubscribe from this group, send email to >>>> [email protected]<google-maps-api%[email protected]> >>>> . >>>> For more options, visit this group at >>>> http://groups.google.com/group/google-maps-api?hl=en. >>>> >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Google Maps API" group. >>>> To post to this group, send email to [email protected]. >>>> To unsubscribe from this group, send email to >>>> [email protected]<google-maps-api%[email protected]> >>>> . >>>> For more options, visit this group at >>>> http://groups.google.com/group/google-maps-api?hl=en. >>>> >>>> >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google Maps API" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]<google-maps-api%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/google-maps-api?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Google Maps API" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-maps-api%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-maps-api?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
