On Jun 10, 10:38 am, Shweta Shakya <[email protected]> wrote:
> is there a way to use light box effect on pictures displayed in information
> window?
>
> I simply used these jquery libraries
>
> <script type="text/javascript" src="js/jquery.js"></script>
>     <script type="text/javascript" src="js/jquery.lightbox-0.5.js"></script>
>     <link rel="stylesheet" type="text/css"
> href="css/jquery.lightbox-0.5.css" media="screen" />
>
> $(function() {
>     alert("here");
>         //$('#map a').lightBox();
>         $('.images1 a').lightBox();
>     });
>
> and used this in information window
>
> map.openInfoWindowTabsHtml(point,[new
> GInfoWindowTab("Address","<table>"+"<tr>"+"<td>"+bnameLink+"<br>"+addinfo+"­<br>"+bldType
> +"<br>"+ "</td>"+ "<td class='images1'>"+"<a href='/cmap/images/"
> +"lyceum.jpg" + "'><img src='/cmap/images/" + "lyceum.jpg" + "'
> align='right' height='72' width='96' border='0'/></a>"+ "</td>"+"</tr>"),new
> GInfoWindowTab("Occupants",occlist),new
> GInfoWindowTab("Amenities",amnlist2)]);
>
> Just using this code in a simple html works but when i stick it in
> information window's image it doesn't work.
>
> how can we do this in google map?

Did you investigate the results of this search?
http://groups.google.com/group/Google-Maps-API/search?group=Google-Maps-API&q=lightbox

It has been discussed before.

As always, if you need help please provide a link to your map that
shows the issue you need help solving.
See these for more information on why we ask for a link:

http://groups.google.com/group/Google-Maps-API/web/suggested-posting-guidelines

http://groups.google.com/group/Google-Maps-API/web/why-including-a-link-is-critical

  -- Larry
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to