Facebook Requests Dialog appears behind DIV (in Safari)

584 views Asked by At

I have several DIVs with z-indexes (like: z-index: 999991;). In Safari, this results that the Requests Dialog I have created appears behind some DIV's.

Is their a way to give the Requests Dialog a z-index or something so it will always appear on top of every DIV?

My Requests Dialog code:

<script src="http://connect.facebook.net/en_US/all.js"></script>
    <p>
    <input type="button"
      onclick="sendRequestViaMultiFriendSelector(); return false;"
      value="Send Request to Many Users with MFS"
    />
    </p>

    <script>
      function sendRequestViaMultiFriendSelector() {
        FB.ui({method: 'apprequests',
          message: 'Join me on Mahjong Solitaire!',
          exclude_ids: '<?php echo $friends_array; ?>'
        }, requestCallback);
      }

      function requestCallback(response) {
        // Handle callback here
      }
    </script>

Hope this is possible!

1

There are 1 answers

0
Maurice On BEST ANSWER

Made the z-index smaller and this indeed worked!