jQWidgets Forums

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts

  • evainefaye
    Participant

    Peter

    I’ve determined that the issue ONLY seems o to happen if your running as http://localhost

    The same exact code if I tried to go to http://stephanie-laptop/ then it displayed the off text, so its not a matter of size, or what i ahd for the labels, etc.

    It looks like there is some kind of a bug that would make it not display when running as localhost


    evainefaye
    Participant

    Peter. I’ll try it again when home but I don’t think it’s the size of the element. The fiddle works find this only fails if you try this running as local host it seems but ill follow up

    I did try multiple different things. It only fails for the “off” text the on text works fine


    evainefaye
    Participant

    I am seeing this exact same issue (and with this users example I’m working on a localhost development currently, I haven’t tested it deployed outside of that scenario)

    Only happens in Firefox (I’m on FireFox 32, works fine in IE and Chrome)

    I put together a fiddle, but whats strange is the fiddle works fine:

    http://jsfiddle.net/s21jkb6L/

    here is the code I have that is pretty much a duplicate of what the fiddle has (I even pulled the file sources in from the same location as the fiddle did)

    <html>
    	<head>
    		<link type="text/css" rel="stylesheet" href="http://jqwidgets.com/public/jqwidgets/styles/jqx.base.css" />		
    		<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>		
    		<script type="text/javascript" src="http://jqwidgets.com/public/jqwidgets/jqx-all.js"></script>
    		<script type="text/javascript">
    			$(document).ready(function () {
    				$("div#test").jqxSwitchButton();
    			});
    		</script>
    	</head>
    	<body>
    		<div id="test"></div>
    	</body>
    </html>
    

    That code gives me the following for the ‘off’ view only in firefox

    SNIPPING

Viewing 3 posts - 1 through 3 (of 3 total)