Displaying blog entries with identical google maps -
you can see problem here:link deleted can not display full text of posts on front page because maps conflict.
these expanded posts right displaying collapse on front page
link deleted
link deleted
as display them expanded maps overlap changing map name variable in code not solve problem, neither changing name of display maps (right same tried that)
question: realize when display 2 maps on same page there 2 "iniktialize" functions. 2 pages have identical java script function names. how deal these ?
i realize when display 2 maps on same page there 2 "iniktialize" functions. 2 pages have identical java script function names. how deal these ?
you can't have multiple functions same name (the browser pick 1 version , it, different browsers might pick different versions). either give them different names, or if same thing different data, use parameters passed in give unique behavior.
Comments
Post a Comment