Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / javascript and dbpro

Author
Message
harggood
21
Years of Service
User Offline
Joined: 9th Apr 2003
Location: the forest
Posted: 16th May 2004 23:08
As you know, db reads from and writes to the clipboard. You can also access the clipboard from a .html page with javascript. This is just a simple example of .html and dbpro talking through the clipboard.

source and html:
[href]awfuldarkforest.tripod.com/menutest.zip[/href]
Baneblade
21
Years of Service
User Offline
Joined: 26th Feb 2003
Location: Ireland
Posted: 18th May 2004 16:06
Hi harggood,
This is a great idea. I tried to download your code but I kept getting errors. Could you please re-post it?

Bane
darkdomy
21
Years of Service
User Offline
Joined: 6th Apr 2003
Location: Italy
Posted: 18th May 2004 23:11
hello
clik link http://awfuldarkforest.tripod.com/menutest.zip

html file surce
menutest.html




dbpro code



hello
Baneblade
21
Years of Service
User Offline
Joined: 26th Feb 2003
Location: Ireland
Posted: 20th May 2004 17:05
Thanks guys,
I will check this out tonight!

Bane
David T
Retired Moderator
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 20th May 2004 20:43
It works here.

Very nice

You can eliminate the "copy to clipboard" button like so:



Do not, whatever you do, click this link
In light of a recent complaint, we again advise you not to click the above link.

Login to post a reply

Server time is: 2024-05-13 07:54:09
Your offset time is: 2024-05-13 07:54:09