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 4617638
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T02:09:09+00:00 2026-05-22T02:09:09+00:00

I am building a html menu and I am using jQuery UI to format

  • 0

I am building a html menu and I am using jQuery UI to format the buttons. I want to create an icon only button. Everything works fine for IE 9, Chrome and Safari on Windows 7. It also works for Chrome on OS X but not Safari on OS X.

There is an interaction with a Google map that I have on the page. If I do not create the map the menu will render correctly with the icon only button. But if I create the map the menu disappears.

The failure occurs when I set the buttons text property to false. I have tried to do this 2 ways

(1)

$("#zoomIn").button({ icons: { primary: 'ui-icon-zoomin' }, text: false });

(2)

$("#zoomIn").button({ icons: { primary: 'ui-icon-zoomin' } });
$("#zoomIn").button("option", "text", false);

If I dont set this property the menu display correctly but there is text in the button.

The HTML for the button is

<button id="zoomIn">xxx</button>

I’m including the following files (these are from the jQuery UI demo page)

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js" type="text/javascript"></script> 
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.12/jquery-ui.min.js" type="text/javascript"></script> 
<script src="http://jquery-ui.googlecode.com/svn/tags/latest/external/jquery.bgiframe-2.1.2.js" type="text/javascript"></script> 
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.12/i18n/jquery-ui-i18n.min.js" type="text/javascript"></script> 

I have tried including local copies the jQuery libraries.

I’m baffled by this one. Hopefully someone else has run into this problem and solved it. Any help is much appreciated.

  • 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-22T02:09:10+00:00Added an answer on May 22, 2026 at 2:09 am

    Finally tracked down the issue.

    I am using a jQuery UI stylesheet, in which there is a style

    .ui-button-icon-only .ui-button-text, .ui-button-icons-only 
    .ui-button-text { padding: .4em; text-indent: -9999999px; }
    

    setting text-indent to -999px; resolves the issue.

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

Sidebar

Related Questions

I am building a menu in HTML/CSS/JS and I need a way to prevent
I am building an application where most of the HTML is built using javascript.
I am building my portfolio website simply using HTML , Flash , and the
I've got a flyout menu on a site that I'm building. I'm using a
Suppose you're building an HTML form and you want to have 2 or more
I am building a html email. it looks fine in outlook 2003, outlook 2007,
I'm building a pretty basic HTML table creator/editor (based on a designMode iframe) at
I'm using Zend_Navigation (sweet addition to the framework, btw) to build my menu, after
I am building a web application using Grails. I decided to use dojo and
I am building a PHP application that uses a select menu to build email

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.