koalyptus

koalyptus supports this item

Supported

9 comments found.

Hi. Is it also possible to replace some keywords with links? ie. if there’s a word “google” somewhere it will be replaced with link to http://www.google.com, etc.?

Yes, it is possible! Actually this is what I do in the Live Preview documentation to replace the word ‘tipsy’ with a link tipsy’s website :). This is the code if you are interested:
$('.tooltip-tipsy').keyworder({
                dictionary:[{ 
                    keyword: 'tipsy', 
                    definition: '<a href="http://onehackoranother.com/projects/jquery/tipsy/" target="_blank" title="Follow this link for more info...">tipsy</a>', 
                    type: 'replace' 
                }]
            });

There is possible to get dictionary by json?

Hi, There is not a native feature to do so, but I would say yes. You make your AJAX call and as long as the retrieved objects look like dictionaries it should be fine, you can instantiate the {Keyworder} object with the loaded dictionaries. Do I answer your question? :)

is it possible to use other tooltip plugin? some that does not use title atribute, so it will be possible to add small image or icon inside a tooltip?

Hi, {Keyworder} lets you configure the tooltip options and from what I see in the tooltip documentation it should be possible. Otherwise, this demo shows how to implement a tooltip by using the plug-in’s callbacks: http://mguglielmi.free.fr/scripts/keyworder/#call. In the definitions you can put your own HTML , images etc.

Thanks for answer I just checked html markup on your demo and I see that it is possible to use different tooltip. So I bought it and if I will have some problem to configure it I will contact you through email form here. Thanks

Thanks a lot blue_eyed_devil :)

Perfectly working with kooltip from codecanyon once you set up a template. All I can say that I recommend it to anyone writing articles that use many technical or specific terms.

Kool :)! Thanks for your positive feedback.

I found one problem. It won’t accept keywords with some UTF -8 characters. Not all but for example it don’t accept “?”. It is not a big problem for me, but I bet there are several languages where can your plugin have serious problem to display any definition.

Thanks for pointing this out. I will investigate this encoding issue and hopefully fix this problem for the next release.

Hello,

>I found one problem. It won’t accept keywords with some UTF -8 characters…

An solution ?

Thanks!

Okay, what you could do is use the fnReplaceText delegate in the dictionary definition to circumvent the UTF-8 characters issue. Basically, escaping the sequence seems to work:
$('.default').keyworder({
    dictionary:[{ 
        keyword: 'æøåäüö', 
        definition: 'special chars', 
        fnReplaceText: function(text, o) {
            // escape keyword 
            o.keyword = escape(o.keyword);
            // this = keyworder instance
            var that = this;
            // Get the html string raplacing the keyword occurrence
            var html = that.getHtml(o);
            // Get the regex
            var rgx = that.getRegularExpression(o);
            // escape current text to search for keyword occurence
            var text = escape(text);

            // replace the keyword with html string
            text = text.replace(rgx, function(m){ return html.replace(new RegExp('{key}', 'gi'), m); });
            // return unescaped text
            return unescape(text);
        }
    }]
});

Tell me how it goes. Cheers

Thank you for your efficiency, your professionalism, and your reactivity. :)

Thanks a lot Mick_ :) !

This script is great!!!

While I am having difficulties in getting it to function in my already running site, I know that once I get it working it will be a god·send thing for what we wanted on our site.

So, for those that see an enigma in my statements, I have played with it in an example script for testing, but actual implementation into a already running site has been more tricky – with css ops, and possible other factors. Yet, even with this happening, I still say that this script is well worth purchasing.

Kudos koalyptus! * 5 stars to you.

Cheers, I really appreciate!

Hey. HOT STUFF! Really usable. Of course, one question. Is it posibille to exclude h1 replacing, only “normal” text is replaces, h1 is not. Thanks and keep up great work. Greetings from Slovenia Urban

Thanks urbanlah,

Yes you can make the plugin ignore sections of the content by using the kwd-ignore css class, so in your case:
<h1 class="kwd-ignore">Your title</h1>

Cheers from Sydney

Hello. Thanks for great support. Well, I didn’t think about that :). It is working perfectly. Great script, will see how it works with seo. Greetings.

That’s an awesome idea! Good luck.

by
by
by
by
by
by