This project is read-only.

I don't see No matching results...

Jun 15, 2010 at 9:36 PM
Edited Jun 15, 2010 at 9:37 PM
In this minimal example I'm not able to see message: 'No matching results' Have you an idea why ? <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>test</title> <link rel="stylesheet" type="text/css" href="css/jquery.flexbox.css" /> <script type="text/javascript"> $().ready( function() { $('#fb').flexbox('json.txt'); }); </script> </head> <body>
</body> </html>
Jun 16, 2010 at 4:15 PM

"No matching results" is a property that needs to be set in the function definintion sort of like below:

<html>
<head> 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
<title>test</title> 
<link rel="stylesheet" type="text/css" href="css/jquery.flexbox.css">
<script language="javascript" type="text/javascript"> 
 $().ready( function() { $('#fb').flexbox('json.txt', { 
                autoCompleteFirstMatch: false,
                noResultsText: 'No matching results',
                watermark: 'Enter search text',
                showArrow: false,
                showResults: true,
                maxVisibleRows: 0,
                minChars: 0,
                paging: false,
                width: 120 }
}); 
</script>
</head>
<body> 
<p>
   <form id="form1" runat="server">
	<div id="fb"></div>
	<div id="fb-result"></div>
    </form>
</p>
</body> 
</html>