Don't thingk you should be submitting javascript to your database. Its
probably not encoded and decoded well when entering it to your
database and outputting it on your info window.

On Apr 6, 10:24 am, Ahunter61 <[email protected]> wrote:
> Here's my linkwww.conneroutdoors.com
> I have been searching this group and the internet for the last week
> and can't seem to find the answer. my map uses php and mysql to get
> the content of my infowindows. and what I have now is javascript to
> add a five star and review that I would like to display in all of my
> infowindows. Problem is when I put the code into my data base then
> click on the sidebar link to open the corresponding infowindow it
> opens a new page in my browser.
>  Here is one of the codes I am trying to use
>
> <!--This script should be places anywhere on a page you want to see
> rating box-->
> <div style="width:99%;height:410px;">
>  <script type="text/javascript">
> var r_companyid = 944;
> var r_ratingboxid = 2298;
> var r_presentation = 0;
> var r_itemid = encodeURIComponent(window.location.href);
> var r_userid = '-1';
> var r_rspage = 'rsratingbox';
> var r_category = '1';
> var r_css = 'Botticelli-Narrow-w.css';
> </script>
> <script type="text/javascript" src="http://www.rating-system.com/js/rs/
> rsiframe.js"></script>
> <br /><small>Powered by <a href='http://www.rating-system.com'
> target='_blank' title='Hosted Ratings & Review solution and Q&A
> software'>Rating-System.com</a></small><!-- DO NOT REMOVE THE LAST
> LINE, please contact us first if you need to do it --></div>
>
> Any ideas would be greatly appreciated as I am at a total loss on what
> to do.
>  Thanks Pete
--~--~---------~--~----~------------~-------~--~----~
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