473,554 Members | 2,934 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

temporarily draw freehand on a page using javascript

Hi,

I'm developing an application that is going to be used in schools as
a teaching aid and require the ability to temporarily draw on my (as
in pages produced by my application) web page using javascript (such
as a teacher drawing a circle around part of the text or image on the
page to point it out to the students).

I'm not sure how i would do this but think it may have something to do
with the <canvashtml element?

Does anybody have any ideas?

Thanks.
Nov 12 '08 #1
28 2262
What about generating an object which has onClick function to switch
itself to black (using css) and generating a lot of this object so
that it covers the entire HTML page? (Kind of like the idea of pixels)

I doubt this will be effecient though.
Nov 13 '08 #2
Hmmm, there must be a better way, but thanks for the suggestion...
Nov 13 '08 #3
macca wrote:
I'm developing an application that is going to be used in schools as
a teaching aid and require the ability to temporarily draw on my (as
in pages produced by my application) web page using javascript (such
as a teacher drawing a circle around part of the text or image on the
page to point it out to the students).

I'm not sure how i would do this but think it may have something to do
with the <canvashtml element?

Does anybody have any ideas?
"I have no clue what I'm doing, and I'm too lazy or too stupid to find me
one. Right?"

<http://catb.org/~esr/faqs/smart-questions.html>
PointedEars
--
Prototype.js was written by people who don't know javascript for people
who don't know javascript. People who don't know javascript are not
the best source of advice on designing systems that use javascript.
-- Richard Cornford, cljs, <f8************ *******@news.de mon.co.uk>
Nov 13 '08 #4
Erm okay.

If you dont have anything useful or constructive bring to the thread,
why bother saying anything at all?

Stupid Troll.
Nov 13 '08 #5
macca wrote:
If you dont have anything useful or constructive bring to the thread,
why bother saying anything at all?
There was something constructive and useful in it, like "please search
before you post" or "please ask intelligible and intelligent questions
here". But you appear to be too stupid to recognize that. Expected
googlodyte behavior confirmed again.
Stupid Troll.
Said the luser.
Score adjusted

PointedEars
--
Anyone who slaps a 'this page is best viewed with Browser X' label on
a Web page appears to be yearning for the bad old days, before the Web,
when you had very little chance of reading a document written on another
computer, another word processor, or another network. -- Tim Berners-Lee
Nov 13 '08 #6
rf

"disappeare dng" <di***********@ gmail.comwrote in message
news:d7******** *************** ***********@v13 g2000pro.google groups.com...
What about generating an object which has onClick function to switch
itself to black (using css) and generating a lot of this object so
that it covers the entire HTML page? (Kind of like the idea of pixels)

I doubt this will be effecient though.
Would you care to quote a bit of the message you are replying to? I didn't
get the original message so I have no bloody idea what you are talking
about.
Nov 14 '08 #7
rf

"macca" <pt*******@goog lemail.comwrote in message
news:49******** *************** ***********@k36 g2000pri.google groups.com...
Hmmm, there must be a better way, but thanks for the suggestion...
You too!
Nov 14 '08 #8
rf

"macca" <pt*******@goog lemail.comwrote in message
news:7b******** *************** ***********@b31 g2000prb.google groups.com...
Hi,

I'm developing an application that is going to be used in schools as
a teaching aid and require the ability to temporarily draw on my (as
in pages produced by my application) web page using javascript (such
as a teacher drawing a circle around part of the text or image on the
page to point it out to the students).

I'm not sure how i would do this but think it may have something to do
with the <canvashtml element?

Does anybody have any ideas?
Ah, your original post just hit my server. My prior comments still stand
though.
As to your question: The canvas element and: google.
Nov 14 '08 #9
On Nov 12, 8:20*pm, macca <ptmcna...@goog lemail.comwrote :
Hi,

*I'm developing an application that is going to be used in schools as
a teaching aid and require the ability to temporarily draw on my (as
in pages produced by my application) web page using javascript (such
as a teacher drawing a circle around part of the text or image on the
page to point it out to the students).

I'm not sure how i would do this but think it may have something to do
with the <canvashtml element?

Does anybody have any ideas?

Thanks.
Yes, use the "canvas", but note that there's no "canvas" in IEs. See
this thread, it's about ~the same question, and contains a working
example:
http://groups.google.com/group/comp....7f66b3b41cd9d8
HTH,
--
Jorge
"Silly things such as logic, common sense, rational thoughts or good
manners are not allowed in this forum."
Nov 14 '08 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
1776
by: Eric Osman | last post by:
Let's say I want to filter the contents of a target web page, and present a simpler page on the screen. For example, let's say a target web page is full of links, text, images, forms, etc. and I want to present a simple page containing just the links. The original page is not "mine", that is, I can't just edit it in notepad and stick...
4
2837
by: ianv2 | last post by:
Hi Is the following possible using Javascript ? I would like a page to redirect to another page if the page expiry has passed. E.G. If my questionnaireform.html page had an expiry date of July 31, if I
2
8413
by: simon.wilkinson | last post by:
Hi, I am trying to update all Select boxes on a page dynamically using javascript, I simple want to change the selected item in each select box when a tick box is pressed on the page. Each Select box is named in the same convention ie. ddl_DeliveryStatus_ and then the recordID and contains the same options in the same order. The number of...
1
2684
by: ruchinagaich1 | last post by:
Please tell me, How do i open a hyperlink in parent page using javascript?
7
6224
by: vunet.us | last post by:
Can I get the name of a referral page using JavaScript? Just really wondering...
3
7340
by: akristensen | last post by:
I am new to this site, so be patient if I do not ask the question correctly. Current Target Platform: Browser: MS IE, script language: Javascript (will use VBScript, but JS is preferred), External apps: MS Excel What I need to do: From a web page using javascript, I open a new Excel application and sheet, populate some information into it....
1
4100
by: fastvarun | last post by:
Can anybody help me how to remove url while print out of a page using javascript window.print() plz help me...........................
4
3608
Ashwani Sharma
by: Ashwani Sharma | last post by:
is there any way to save a web page using javascript in cross browser
0
7578
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7497
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7780
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7530
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7862
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6119
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5136
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3539
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1994
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.