Virtual Mechanics: Community Forums and FAQs
Virtual Mechanics: Community Forums and FAQs
WebDwarf, SiteSpinner, SiteSpinner Pro 'How do I...'
Floating dictionary on my webpage|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Working Mechanic |
Does anyone have (or know of) a floating dictionary (I'm not sure of the technical term but visitors to your webpage can click on a word on your webpage and it appears in the little floating dictionary window thingy and they can get the definition)?
I saw one of these on the Scholastic Site (powered by Wordsmyth)and there's apparently a free one at http://lookwayup.com/free/webmaster.htm but I can't get the code to work (as usual). The instructions are: Paste the code below into every page and frame on your web site where you want this feature activated. Exactly the same line on every page, no need to customize. Put it just before the </HEAD> tag or the </BODY> tag. <script type="text/javascript" src="/free/lWu.js"></script> That's all there is to it! Does anyone know how to do this or of another floating dictionary thingy? |
||
|
|
Honorary 'Creative' Mechanic |
I simply use this on my website.
|
|||
|
|
Honorary Mechanic |
If you are asking how to paste the code in, go to page>page editor>Header tab and paste the code in a new header
|
|||
|
|
Honorary 'Aussie' Mechanic |
Maybe I'm missing something here, but wouldn't you also need to upload a file called "IWu.js" to a sub-folder named "free" to your server?
|
|||
|
|
Honorary Mechanic |
Good eye Terry. Actually from looking at that site, the file is in their directory, so try: <script type="text/javascript" src=http://lookwayup.com/free/lWu.js"></script> I hope this works.
Dan |
|||
|
Guru 'Power' Mechanic![]() |
Postyr, you haven't missed anything. That file is vital to the whole operation. Rather than create a folder called "free" I suggest just copy the IWu.js file to your root folder and modify the code to this:
<script type="text/javascript" src="lWu.js"></script> |
|||
|
|
Working Mechanic |
Thanks for the suggestions. I will try them all tomorrow - past midnight here. How will I get hold of the IWu.js file?
|
|||
|
|
Guru 'Geezer' Mechanic |
http://lookwayup.com/free/lWu.js then use your browser's File->Save Page As... (or Save) to save the page contents as a file named lWu.js
|
|||
|
|
Working Mechanic |
Thanks for all the tips and help. The AnswerTips looks really good Klimt but my site may be used by kids and it doesn't look like you can control the advertising content.
Thanks everyone for the help on the external LookWayup file. The pop-up dictionary now appears on my test webpage when I preview it but it only appears while loading then promptly disappears. I've checked the specialfx but it's not that. There's this code in the IWU.js file - is there any way it might be telling the pop-up to close? if (ie4) Popup=document.all.Popup; setTimeout('if (ns6)Popup=dL.getElementById(\'Popup\');popIt=ns4?dL.Popup:Popup.style;unPop();if (LWUintro){popIt.visibility=ns4?\'show\':\'visible\';pageOffset()}',300); // call soon var LWUinc=1 function pageOffset() { if (!pop && (LWUintro!=0)){ if (!timerID)timerID=setTimeout("if(!pop)unPop();LWUintro=0",LWUintro); |
|||
|
Guru 'Power' Mechanic![]() |
I would not touch the IWU.js file, as the same file works on the Lookwayup site you got it from.
I gave you misleading information above -- a simple link would work for a javascript file you keep on your site. However, having more closely read the Lookwayup instructions, I see that they want you to link directly to them for the javascript file. So the link suggested by American Style Landscaping is the one to use. This means that you don't need to keep IWU.js on your own site. It also means that your test page has a better chance of working -- there may be code in IWU.js that prevents it working if stored on your own site. If that still doesn't work as you want, can you post a link to your test page? |
|||
|
|
Working Mechanic |
Thanks Brucee, you're right - they don't seem to want people storing IWU.js on their website. I emailed them (not expecting a reply) and they've got back quite promptly with an alternative code which seems to work if you put it in the header. In case anyone's interested:
<script type="text/javascript" src="http://lookwayup.com/free/lWu.js"> </script> Thanks for everyones help. |
|||
|
|
Honorary 'Aussie' Mechanic |
One up for Dan.
The script is exactly the same as he suggested. |
|||
|
|
Working Mechanic |
Hey all, long time no comment.
I came across this and thought it was interesting, so tried it out on an old website I did. But when I double click a word it comes up all fine, but it leaves a block colour afterwards. Is this just me? Here is the example, only on for 24 hours. Any help? Also, a side note, when the box opens with the deffination in, can I get that box to open any bigger rather then have it have scroll bars? Thanks! __________ That guy in the background, quietly taking it all in. |
|||
|
|
Working Mechanic |
Hey, I just tried the one Roma suggested and that works brilliantly. So, no need to worry! Unless you really want to know what was wrong with the other one, anyway.
Thaaanks! __________ That guy in the background, quietly taking it all in. |
|||
|
| Powered by Eve Community |
| Please Wait. Your request is being processed... |
|

