Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1081837
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T22:13:18+00:00 2026-05-16T22:13:18+00:00

My sandbox is here: http://9.latest.truxmap.appspot.com/ First click a marker on the map (if there

  • 0

My sandbox is here: http://9.latest.truxmap.appspot.com/

First click a marker on the map (if there are none when the page loads, check the ‘food trucks opening soon’ box in the navigation widget). Next go to the ‘Reviews’ tab.

In GWT, everytime I open a marker I’m calling the javascript function resizeReviewTab() which corrects styling issue that arise given the fact that the content in the status and review tabs are dynamic. If the Javascript worked, then you will see STARS rather than radio buttons floating right above the text area in the ‘Reviews’ tab. Otherwise, you’ll see plain radio buttons.

I cant figure out what happens when the marker DOESNT open up properly. How could it work once, then not again, then work again after a few different markers? Heres the function thats called:

function resizeReviewTab(){ 

    $('#content').text(""); 

    $('.statusWindowB').css('height', $('.statusWindowA').css('height'));                   

    $('.name-sliding').focus(function() {

        $('.name-label-sliding').animate({ marginLeft: "133px" }, "fast");

            if($(this).val() == "name")
                $(this).val() == "";

        }).blur(function() {

            if($(this).val() == "") {
                $(this).val() == "name";
                $('.name-label-sliding').animate({ marginLeft: "12px" }, "fast");
            }
        });     

    $('.content-sliding').focus(function() {
            $('.content-label-sliding').fadeOut("slow");
    });

    starify();  
} 

starify() is the javascript for the jQuery plugin jquery.stars with a few modifications, visible here: http://9.latest.truxmap.appspot.com/lib/jquery.rating.js

I need to call this function because if I merely load it at the beginning of the html document, none of the info windows created by clicking the map will ever have their radio buttons changed into stars.

This is quite bothersome, I’m looking forward to your replies. Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T22:13:18+00:00Added an answer on May 16, 2026 at 10:13 pm

    The two answers given by @amurra and @meouw were valid and could have caused issues in the future. However, the answer to the question asked the in OP is that GWT calls the SelectionChangedHandler TWICE, every time the active cell is changed — once when a cell is de-selected, and once when another cell is re-selected. This was causing the javascript function to be called twice, back-to-back, which was leading to nasty behavior. Thanks a lot for the help in this thread!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In source code here http://www.daftlogic.com/sandbox-javascript-slider-control.htm There is these instructions: // safely hook document/window events
First, here's is my rough example: http://demindu.com/sandbox/simple.html What I'm trying to do: Create a
On this page: http://www.palosverdes.com/sandbox/9slategrey/index.cfm I'm trying to put in a new menu (the one
I am attempting to Consume the Voxbone service publicly located here: http://sandbox.voxbone.com/VoxAPI/services/VoxAPI?wsdl So what
URL is here: http://prorankstudios.com/sandbox/wtf/ Using IE9, with focus on the User or Pass field,
Here is my site: http://dl.dropbox.com/u/331982/Sandbox/comsat.html To get the items to appear that are messing
I am using http://mjsarfatti.com/sandbox/nestedSortable/ Nested Sortables for JQuery. I want to make each nestable
This is the gallery I've been asked to implement http://sandbox.leigeber.com/slideshow/ I've chopped and changed
Original code: (can be seen working here: http://sandbox.hokuten.net/jqrpg/ ) /* google.setOnLoadCallback(function() { */ $(function()
Here's the code for my Paypal button: <form action=https://www.sandbox.paypal.com/cgi-bin/webscr method=post> <input type=hidden name=cmd value=_xclick>

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.