Coding : Code, snippets, bits & pieces...
Updated: 1/25/2002; 4:33:10 PM.

 

.
~sites to see~

Subscribe

Talk to me

 
 

Friday, January 25, 2002

Hey, I've just upgraded to Radio 8.0.2 and my new editor functions are still there. I know it's not the safe way to do it but until I figure out a more permanent way this should do.
3:40:00 PM    

Ok, it's getting late (actually it's getting early, very early in the morning) but this is what I did.

I added a new function called "lookUpWrd" to the wysiwyg editor. It uses the disk icon for now, until I get around to making a new toolbar image. You simply select a word and click on the disk icon and it automatically creates a link to dictionary.com that will open a new window with the word's definition when clicked. It's that simple. If nothing is selected when you click on the disk icon, you'll receive a message asking you to please select a word.

You should be able to get the code here (gems/newEditBox_1.txt).

Enjoy!


3:36:57 AM    

And now the word to look up - vicariously - should open up in a new window.
3:25:33 AM    

Ok, if this is working correctly, you should now be able to click on the following word - philomath  - and look it up at dictionary.com


3:21:56 AM    


© Copyright 2002 CE Granier.



 


January 2002
Sun Mon Tue Wed Thu Fri Sat
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31  
Dec   Feb