Welcome Guest.   Make a donation to an author on the site September 16, 2014, 10:27:21 AM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
View the new Member Awards and Badges page.
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: Prev 1 [2]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: FreeThesaurus.net - new official DC web service, is now up and running!  (Read 15645 times)
Wordzilla
Forum Search Daemon
Charter Member
***
Posts: 470



Two there should be; no more, no less.

View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #25 on: September 07, 2007, 07:15:47 AM »

@Carol: I'm not yet skilled in javascript scripting embarassed, perhaps there was some hidden bug in my ajax scripts. If so, I hope someone will point it out here for me to fix.
Logged

ak_
Supporting Member
**
Posts: 223


see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #26 on: September 07, 2007, 08:09:43 AM »

Quote
Christian  a. (3c): decent, civilized.  Wink

Tell that to victims of the crusades (or George Bush/Tony Blair) ...
Ahah Kiss

Ok enough with the off-topic posts, sorry.
Logged

Veign
Charter Honorary Member
***
Posts: 993



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #27 on: September 07, 2007, 09:18:28 AM »

Wordzilla,
What component do you use for the Suggestion drop-down?  I have a need for something like this to use in a website of mine.
Logged

Lashiec
Member
**
Posts: 2,374


see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #28 on: September 07, 2007, 09:31:17 AM »

Wordzilla, my skills are worst than yours in JavaScript, but it seems to me that the Ajax part is trapped in a loop under Firefox, as it tries to show the yellow box, but it can get the data. The browser slows and the antivirus icons is spinning like mad. Opera and Internet Explorer don't show this problem, so maybe it's a Firefox bug?

Bug reporting aside, great work! Thmbsup
Logged
Carol Haynes
Waffles for England (patent pending)
Global Moderator
*****
Posts: 7,954



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #29 on: September 07, 2007, 09:36:12 AM »

Glad it isn't just me - I was beginning to think it must be an issue with a Firefox addin.
Logged

Veign
Charter Honorary Member
***
Posts: 993



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #30 on: September 07, 2007, 09:41:25 AM »

Hmm.  I use Firefox and all works as expected.
Logged

Wordzilla
Forum Search Daemon
Charter Member
***
Posts: 470



Two there should be; no more, no less.

View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #31 on: September 07, 2007, 09:49:31 AM »

@Lashiec, Carol:

I just modified and uploaded the ajax script, in which I removed the part that tell it to "retry on failure" (probably very dumb idea tongue).

I'm not sure if the yellow definition panel will display for you guys but it now shouldn't slow down/freeze your browser.

I have two independent firefox 2.0.0.6 here, one works (with firebug turned on), one doesn't. Sad undecided

Please post here if you have any problem with the live suggest/dictionary features, I'll fix asap.  Thmbsup
Logged

Carol Haynes
Waffles for England (patent pending)
Global Moderator
*****
Posts: 7,954



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #32 on: September 07, 2007, 09:52:59 AM »

That seems to have cured the slow downs for me - no yellow pop ups though in FF.
Logged

Lashiec
Member
**
Posts: 2,374


see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #33 on: September 07, 2007, 09:56:11 AM »

Yup, fixed now, at least the browser don't go berserk. The panel is not appearing, anyway Grin. So Opera FTW! (is not that I was using Firefox anyway... Wink)
Logged
Wordzilla
Forum Search Daemon
Charter Member
***
Posts: 470



Two there should be; no more, no less.

View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #34 on: September 07, 2007, 12:39:50 PM »

Ok just updated the script again, seems to me that the bug has been fixed.

It turned out that I was caught by a Firefox bug/nonconformance, as described here wallbash:

http://lukav.com/wordpres...synchronos-calls-problem/
https://bugzilla.mozilla....rg/show_bug.cgi?id=313646

And interestingly, people who have Firebug installed are not affected: undecided
http://lukav.com/wordpres...synchronos-calls-problem/

Logged

Wordzilla
Forum Search Daemon
Charter Member
***
Posts: 470



Two there should be; no more, no less.

View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #35 on: September 07, 2007, 12:53:14 PM »

Wordzilla,
What component do you use for the Suggestion drop-down?  I have a need for something like this to use in a website of mine.

Well I coded it from scratch (inspired by an ajax script published in the book Ajax for Dummies)

This is the javascript that handles live suggest requests:
http://freethesaurus.net/suggest.js

Database backend (which outputs one word/phrase each line, with \n as separator, simple stuff):
http://freethesaurus.net/suggest.php?q=xxxx

Inline javascript:
[copy or print]
<input type="text" value="" id="q" name="q" size="35" onkeyup="sd()" onclick="sd()" onblur="rh()" autocomplete="off"/>


The entry function in suggest.js delays ajax action for 250 milliseconds to accommodate fast typers:
[copy or print]
var TimerId = 0;

function sd(){
      clearTimeout(TimerId);
      TimerId = setTimeout("getSuggest()",250);
}
Logged

Carol Haynes
Waffles for England (patent pending)
Global Moderator
*****
Posts: 7,954



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #36 on: September 07, 2007, 01:27:17 PM »

That seems to have got it - well done Wink

It's all a learning curve  Thmbsup
Logged

Carol Haynes
Waffles for England (patent pending)
Global Moderator
*****
Posts: 7,954



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #37 on: September 07, 2007, 01:33:56 PM »

Another 'bug' - don't know how you can fix this one ...

If a definition is a long one the pop up box is too narrow to display the whole definition. Try hovering over "good" to see what I mean.

AFAICS the only way to solve this would be to allow the mouse to enter the yellow box (currently it disappears if you move the mouse) and include a scroll bar. A workaround would be to make the yellow box quite a bit wider so that more will fit on screen.

Some of the synonyms for good are a bit over the top (and not really synonyms as far as I can see).
Logged

Veign
Charter Honorary Member
***
Posts: 993



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #38 on: September 07, 2007, 03:16:04 PM »

Wordzilla,
What component do you use for the Suggestion drop-down?  I have a need for something like this to use in a website of mine.

Well I coded it from scratch (inspired by an ajax script published in the book Ajax for Dummies)


Good stuff.  Would I be able to use what you have done on my website (another free service)? - I will find a place to give you credit of course...
Logged

Wordzilla
Forum Search Daemon
Charter Member
***
Posts: 470



Two there should be; no more, no less.

View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #39 on: September 07, 2007, 05:46:45 PM »

Sure Veign, feel absolutely free to use my code in any way you like. smiley
Logged

Wordzilla
Forum Search Daemon
Charter Member
***
Posts: 470



Two there should be; no more, no less.

View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #40 on: September 07, 2007, 05:49:14 PM »

Another 'bug' - don't know how you can fix this one ...

If a definition is a long one the pop up box is too narrow to display the whole definition. Try hovering over "good" to see what I mean.

AFAICS the only way to solve this would be to allow the mouse to enter the yellow box (currently it disappears if you move the mouse) and include a scroll bar. A workaround would be to make the yellow box quite a bit wider so that more will fit on screen.

Some of the synonyms for good are a bit over the top (and not really synonyms as far as I can see).

Sooo... does the new yellow box appeal to you, with scrollbar and tuned timeouts? Cool
Logged

jgpaiva
Global Moderator
*****
Posts: 4,710



Artificial Idiocy

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #41 on: September 07, 2007, 06:46:12 PM »

Sooo... does the new yellow box appeal to you, with scrollbar and tuned timeouts? Cool
Amazing!!! Beautiful, i must say. Too bad it won't work under opera  Sad
Logged

Wordzilla
Forum Search Daemon
Charter Member
***
Posts: 470



Two there should be; no more, no less.

View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #42 on: September 07, 2007, 06:53:37 PM »

Hmm, I've tested it on Firefox 2.0.0.6, IE 7, Opera 9.23, and Safari 3 here and Lashiec just confirmed it to work on Opera. Grrrrrh, browsers, browsers..
Logged

Carol Haynes
Waffles for England (patent pending)
Global Moderator
*****
Posts: 7,954



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #43 on: September 07, 2007, 06:55:30 PM »

Sooo... does the new yellow box appeal to you, with scrollbar and tuned timeouts? Cool

Oooooooooo .... beautiful Wink

What a star!
Logged

Pages: Prev 1 [2]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.046s | Server load: 0.18 ]