Ex No: 7 | FRAMES AND EVENTS |
---|---|
Aim: | To write a JavaScript program to display the specification of an object in another frame on mouseover event. |
Algorithm | |
Step1: Create a folder “Ex7” to place all the HTML files and Image files. | |
Step2: Create three HTML file “index.html”, “obj.html” and “desc.html”. | |
Step3: Add JavaScript code in “obj.html” to implement mouse over event. | |
Step4: Use parent property and innerHTML property to show the description on “desc.html” page. | |
Source Code | |
index.html
obj.html
desc.html
|
|
Result: | Thus JavaScript code is written to show description of an object on mouseover event in Frames. |