CodeCanyon

Smart Suggest — Advanced Auto-Complete

  • Has been a member for 4-5 years
  • Bought between 10 and 49 items
TLE says
Purchased

Hi,

I have purchased this item and currently trying to get it working. To test it out, I put the whole folder on my server as suggested and run the documentation.php. Unfort, when I type into the search box nothing appears.

Is anyone else having this problem? Or can the developer help?

Thanks, Andy

Posted 1 year ago
  • Has been a member for 4-5 years
  • Bought between 10 and 49 items
TLE says
Purchased

Hi,

I’ve got this working now. How would I change this so that when you click on each result it takes you to a new URL ?

Posted 1 year ago
  • Has been a member for 3-4 years
  • Bought between 10 and 49 items
gtranet says
Purchased

This script doesn’t work for me. I tried to use the examples provided with the script without modified it, but it didn’t work. :(

What did you do to get it works TLE ?

Thanks!

Posted 1 year ago
  • Has been a member for 1-2 years
  • Bought between 1 and 9 items
gpineda says
Purchased

I was having some problems with the input box offset (due to CSS relative positions). I added this piece of code to the script to fix the problem:

objFindPos = inputObj; posX = objFindPos.offsetLeft; posY = objFindPos.offsetTop; while(objFindPos.offsetParent){ posX=posX+objFindPos.offsetParent.offsetLeft; posY=posY+objFindPos.offsetParent.offsetTop; if(objFindPos==document.getElementsByTagName('body')[0] {break} else{objFindPos=objFindPos.offsetParent;} }

posX and posY should have the correct coordinates. just replace the inputObj.offset() with these values.

Posted 1 year ago
  • Has been a member for 3-4 years
  • Bought between 10 and 49 items
gcameo says

Hi, I was just about to purchase this item but wanted to find out if it’s been updated to jquery 1.4.2 yet.

Regards

Posted 1 year ago
  • Has been a member for 1-2 years
  • Interviewed on the Envato Notes blog
  • Exclusive Author
  • Sold between 1 000 and 5 000 dollars
  • Bought between 50 and 99 items
  • Australia
SportTipsWorld says
Purchased

Is the author ever venturing back to answer some questions, by his customers. Please

Posted 1 year ago
  • Has been a member for 2-3 years
  • Bought between 100 and 499 items
  • United States
Avoli says

Does anyone have this working with Classic ASP and SQL Server? We like PHP but it’s for a client.

Posted 1 year ago
  • Has been a member for 4-5 years
  • Bought between 10 and 49 items
ke says
Purchased

could you refer json output?

i cannot understand php arrays, i want to integrate asp.net project

Posted 1 year ago
  • Has been a member for 1-2 years
  • Bought between 100 and 499 items
Gutspiller says

How does this script know what to display for results? Is there more than inserting the one liner for it to show the proper results?

Posted 11 months ago
  • Has been a member for 2-3 years
  • Bought between 10 and 49 items
Amigo2000 says
Purchased

Hi Jskidmore
Thanks for this useful and nice script,
It works also with jquery-1.4.2 very nice.

Posted 11 months ago
  • Has been a member for 1-2 years
  • Exclusive Author
  • Sold between 1 and 100 dollars
  • Bought between 50 and 99 items
Pixalax says
Purchased
Hello, I have got a problem with this script. I gather data from mysql database. Here is the Json output;
[{"header":{"title":"Admins","num":"1","limit":5},"data":{"primary":"admin","secondary":"Full Name","onclick":"alert('You clicked on the 32 admin!');"}}]

Still it says No records found? How come? Json shows data? Any solutions?

Posted 10 months ago
  • Has been a member for 1-2 years
  • Exclusive Author
  • Sold between 1 and 100 dollars
  • Bought between 50 and 99 items
Pixalax says
Purchased

Im so sorry but first time I am giving a script 1 star. This should be ridiculously easy while CSS is getting messed up. Just google fancy Apple.com-style search suggestion and you will see what is ridiculously easy. No need to deal with messed up CSS , no need to deal with messed up positioning if you are using it in many divs…

I wish, I could return this since it is useless for me. Coding the result I found from google, took me half of the time which I spent on reading the documentation without messing up any css or trying to deal with any other problems.

Posted 10 months ago
  • Has been a member for 1-2 years
  • Bought between 10 and 49 items
TawnyaM says

@TLE or anybody else that can help.

Did you figure out how to redirect to a unique page per search item? Does anybody know if this is possible?

I want to purchase this script but only if this option is possible.

Cheers Tawnya

Posted 10 months ago
  • Has been a member for 0-1 years
  • Bought between 1 and 9 items
MagicDude4Eva says
Purchased

I have asked the author about keyup/keydown support and was told that he is currently not enhancing this widget.

I have added keyup/keydown support in the jquery class provided:

Do the following – I hope this works for you – it meets my requirements:

CSS :
Add this to the end:
    ul.ss-box li.ss-result.active a
    {
      background: #cde0ff url(/images/ui/smartsuggest.search-item-hover.gif) repeat-x top; /* Also is set in JavaScript file for IE6 compatibility */
    }

Javascript:
Line 27 (add):
// Remember selected item
var selected = -1;

Line 51 (change):
// If any key but the enter key or tab key was pressed, continue. (Also skip Up/Down key)
if (event.keyCode != 13 && event.keyCode != 9 && event.keyCode != 38 && event.keyCode != 40) {

Line 129 (change - I consider it a ommission by the author - if your JSON response does not have onclick, it will not fill the inputfield - this fixed it)
link_open += (item['onclick'] != undefined) ? ' onclick="'+fill_code.replace("%", item[options.fillBoxWith])+(options.executeCode ? item['onclick'] : '')+'" ' : ' onclick="'+fill_code.replace("%", item[options.fillBoxWith])+'" ';

Line 133 (change - I just added the 'title' tag to have access to the primary field)
output += '<li class="'+options.classPrefix+'result" title="'+item['primary']+'">'+link_open+"\n";

Line 190 (add):
        boxObj.mouseover(function(e) {
            selected = -1;
            $('li', boxObj).removeClass('active');
        });

        inputObj.keydown(function(e) {
            if (e.keyCode == 13 && boxObj.css('display') != 'none') {
                // enter
                var activeLI = $('li.active', boxObj);
                if ( activeLI.length ) {
//                    e.stopPropagation();
//                    e.preventDefault();
                    inputObj.focus();
                    activeLI.click();
                    boxObj.fadeOut();
                }
                return;
            }

            if (e.keyCode == 38 || e.keyCode == 40) 
              { // up or down
                e.stopPropagation();
                e.preventDefault();

                var o = e.keyCode == 38 ? -1 : 1;
                var lis = $('li', boxObj);
                var m = lis.length;
                var resultcount = $('li.ss-result', boxObj).size();

                if (m > 0 && resultcount > 0) {
                    do {
                        selected += o;
                        if (0 > selected) {
                            selected = m - 1;
                        } else if (selected >= m) {
                            selected = 0;
                        }
                    } while ($(lis[selected]).hasClass("ss-header"));

                    lis.removeClass('active');
                    $(lis[selected]).addClass('active');
                    inputObj.val($(lis[selected]).attr('title'));

                    if (boxObj.css('display') == 'none') {
                        boxObj.fadeIn();
                    }

                }
            }
        });        
</li>
Posted 9 months ago
  • Has been a member for 3-4 years
  • Bought between 50 and 99 items
phyntek says

Hi

A client of mine buy this script in order to made a recipe facebook app. Is working great but in order to search all the ingredients, i have to duplicate with jquery the textfields and every new textfield get a name like this “field42, field43, field44”. My question is, is there’s a way where i can call this:

$(’#field4’).smartSuggest({ src: ‘assets/php/search_multiple.php’, fillBox: true, fillBoxWith: ‘fill_text’, executeCode: false });

to every new textfield? Because when a new text field is created and i try to make a search for a new ingredient, the results appears in the first text field.

Thanks,

Mike Henriquez

Posted 7 months ago
  • Has been a member for 3-4 years
  • Bought between 50 and 99 items
  • Referred between 1 and 9 users
ballyhoo says
Purchased

i have the menu setup and working with the demo files but when i connect it to a classic ASP page it doesnt display the results.

the search page is displaying the correct data but the autocomplete box doesnt appear

any ideas?

Posted 6 months ago
  • Has been a member for 0-1 years
  • Bought between 10 and 49 items
geek3 says
Purchased

Author absent from comments, syntax typos in tutorial (all over the place). He must have updated the code and never updated the docs. Really? After copying the code, I spent hours trying to get it to work even though others have. I haven’t and just gave up.

Posted 6 months ago
  • Has been a member for 3-4 years
  • Bought between 50 and 99 items
  • United States
masteryan says
Purchased

its been said already, but ya the files in ‘code’ folder of the download are all screwed up. they don’t match the examples. js and css file named incorrectly. images are in a folder nested inside the images folder, which doesnt match the image calls in the css file.

i gave 3 stars for this, but otherwise it works great and is easy to integrate into any site if you know how to use PHP arrays.

its unfortunate that development has stopped since this is the best searchbox on codecanyon.

Posted 5 months ago
  • Has been a member for 2-3 years
  • Exclusive Author
  • Sold between 1 000 and 5 000 dollars
  • Bought between 10 and 49 items
jskidmore says
Author

FOR SUPPORT , email me by clicking my name on the right-hand side of the page. This page is NOT MONITORED FOR SUPPORT REQUESTS . I respond promptly to email. Thanks!

Posted 3 months ago
  • Has been a member for 1-2 years
  • Bought between 50 and 99 items
  • United States
playforever says

You should make an extension like this for Magento ecommerce platform. People would easily pay 10 times more than what you are asking here.

Posted 2 months ago

You must sign in or sign up to purchase this item.

$3Regular Licence

$3

Regular Licence a website (commercial, personal, client), or intranet site project - Details

463 Purchases 60 Comments

Buyer Rating
12345 ( 67 ratings )
no-thumbnail

jskidmore

  • Has been a member for 2-3 years
  • Exclusive Author
  • Sold between 1 000 and 5 000 dollars
  • Bought between 10 and 49 items
View Portfolio
Created 12 January 10
Software Version jQuery 1.3, jQuery 1.4
Files Included JavaScript JS, JavaScript JSON, HTML, CSS, PHP
by
by
by
by
by