Kindly Assist me.I am in Trap...... On Fri, Aug 28, 2009 at 1:05 PM, Dinesh Lohan <[email protected]> wrote:
> Also See in The attachment How Image is appearing outside the google map. > > > On Fri, Aug 28, 2009 at 9:51 AM, dinesh <[email protected]> wrote: > >> >> Hi, >> I am using Google Map for Displaying Weather Information and using >> Overlay Text on image to pass information on Google map.And on Google >> Map I want to add Blinking Effect of Image On MAP. >> For Introducing Blinking Effect Java script >> <script type="text/javascript"> >> var blinkImg = function (imgname, s) { >> clearTimeout(blinkImg['blinking' + imgname]); >> var obj = document.images[imgname]; >> if (arguments[1] === 'blink') { >> obj.style.visibility = !(blinkImg[s + imgname] = !blinkImg[s + >> imgname])? '' : 'hidden'; >> blinkImg['blinking' + imgname] = setTimeout(function(){blinkImg >> (imgname, s);}, 350); >> else { >> blinkImg['blink' + imgname] = false; >> obj.style.visibility = ''; >> </script> >> <bod<img name="blinker1" src="img/imagename.gif"><br> >> <input type="button" onclick="blinkImg('blinker1', 'blink');" >> value="Blink"> >> <input type="button" onclick="blinkImg('blinker1', 'stop');" >> value="Stop"> >> </body> >> >> >> And below are Part .php code of Map display >> if($fish_info) >> { ?> >> var latlng = new GLatLng(northEast.lat()-latSpan * 0.3,northEast.lng()- >> lngSpan * 0.1); >> info = "<?php echo $fish_info; ?>" ; >> file = "<?php echo 'img/imagename.gif'; ?>" ; >> map.addOverlay(createMarker(latlng,file,info)); >> <?php >> }?> >> I am trying to use Java Script with PHP code and when I used Java >> script Image is blinking outside google map not on Google >> map.Image.gif is fish that should Blink on google map.In above PHP >> code How can I used this code so that Image start blinking on var >> latlng=new GlatLng(northEast.lat()-latSpan*0.3,northEast.lan() - >> lngspan*0.1) on this location.Help me out from this.... >> >> >> >> > > > -- > Dinesh > -- Dinesh --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
