Share on Google+Share on Google+

michael james
Screen flashing
0 Answer(s)      5 years and a month ago
Posted in : HTML

Hey I am trying to make my screen flash (like a white flash as if from a camera). This is my code so far:

<html>
<head>
<title>
Temporary Template
</title>
<style type="text/css">
td
{
    text-align:center;
}

tr.row
{
    background-color:#000;
    color:#FFFFFF;
}

th.forum:hover
{
    /*vertical-align:bottom;
    text-align:right;*/
    background-image:url(Forum.jpg);
    color:black;
}

th.home:hover
{
    background-image:url(home3.jpg);
}

th:onClick
{

}
th:hover
{
    background-color:grey;
}

th
{
    width:33%;
    height:50%;
}
    /*.cell5
    {
        background-color:white
        -webkit-transition-property:all;
        -webkit-transition-delay:1s;
        -webkit-transition-duration:.25s;
    }*/
    </style>

<script type="text/javascript">
function showIt9()
{document.getElementById('calshow').src="CL9.jpg";
document.getElementById('calshow').style.display='block';}
function hideIt9()
{document.getElementById('calshow').style.display='none';}

function showIt8()
{document.getElementById('logshow').src="CL8.jpg";
document.getElementById('logshow').style.display='block';}
function hideIt8()
{document.getElementById('logshow').style.display='none';}

function showIt7()
{document.getElementById('regshow').src="CL7.jpg";
document.getElementById('regshow').style.display='block';}
function hideIt7()
{document.getElementById('regshow').style.display='none';}

function showIt3()
{document.getElementById('galshow').src="CL3.jpg";
document.getElementById('galshow').style.display='block';}
function hideIt3()
{document.getElementById('galshow').style.display='none';}

function showIt2()
{document.getElementById('forshow').src="CL2.jpg";
document.getElementById('forshow').style.display='block';}
function hideIt2()
{document.getElementById('forshow').style.display='none';}

function showIt1()
{document.getElementById('homshow').src="CL1.jpg";
document.getElementById('homshow').style.display='block';}
function hideIt1()
{document.getElementById('homshow').style.display='none';}

function playSound(soundfile) {
document.getElementById("dummy").innerHTML=
"<embed src=\""+soundfile+"\" hidden=\"true\" autostart=\"true\" loop=\"false\" />";
}
</script>

</head>


<body>
<span id="dummy"></span>
<table id="all" border = "0" cellspacing = "0" cellpadding = "0" width = 100% height = 100%>
    <tr>
     <td height = 30%> <img align="right" border="" src="" id="homshow" style="display:none" width="190" height="200" />  </td>
     <td> <center> <img border="" src="" id="forshow" style="display:none" width="140" height="190" /> </center> </td>
     <td> <img border="" src="" id="galshow" style="display:none" width="190" height="200" /> </td>
    </tr>
    <tr>
     <td width = 25% height = 40%>  </td>

     <td class = "cell5" width = 50%> 
        <table border="0" cellspacing = "1" align = center width = "100%" height = "100%">
            <tr class = "row"> 
                    <th class="home" align="center" onMouseOver="showIt1()" onMouseOut="hideIt1()"> <a href="#" onClick="playSound('shutter.wav');"> HOME </a> </th>
                    <th class="forum" align="center" onMouseOver="showIt2()" onMouseOut="hideIt2()"> <a href="#" onClick="playSound('shutter.wav');"> FORUMS </a> </th>
                    <th class="gallery" align="center" onMouseOver="showIt3()" onMouseOut="hideIt3()"> <a href="#" onClick="playSound('shutter.wav');"> GALLERY </a> </th>
            </tr>
            <tr class = "row"> 
                    <th class="register" align="center" onMouseOver="showIt7()" onMouseOut="hideIt7()"> <a href="#" onClick="playSound('shutter.wav');"> REGISTER </a> </th>
                    <th class="login" align="center" onMouseOver="showIt8()" onMouseOut="hideIt8()"> <a href="#" onClick="playSound('shutter.wav');"> LOG - IN </a> </th>
                    <th class="calendar" align="center" onMouseOver="showIt9()" onMouseOut="hideIt9()"> <a href="#" onClick="playSound('shutter.wav');"> CALENDAR </a> </th>
            </tr>
        </table>
    </td>

     <td width = 25%> </td>
    </tr>
    <tr>
     <td height = 30%> <img align="right" border="" src="" id="regshow" style="display:none" width="190" height="200" /> </td> 
     <td> <center> <img border="" src="" id="logshow" style="display:none" width="140" height="190" /> </center> </td>
     <td> <img border="" src="" id="calshow" style="display:none" width="190" height="200" /> </td>
    </tr>
</table>
</body>


</html>

So what I want is that I want the screen to flash white when a link is clicked. Thanks.

Ads

View Answers









Related Tutorials/Questions & Answers:
Screen flashing
Screen flashing  Hey I am trying to make my screen flash (like a white flash as if from a camera). This is my code so far: <html> <... I want is that I want the screen to flash white when a link is clicked. Thanks
Screen Capture
Screen Capture  How to capture the screen using jsps and servlets
Advertisements
Screen shot
Screen shot  webpage screenshot source code
splash screen
splash screen  What is splash screen and how can i set splash screen in iphone??   hello, if you want to launch splash screen then add... splash screen will show launching time
Screen Capture
Screen Capture  Hi deepak, I am trying to take a screen shot using java script Activex object. But Iam getting Automation server cant create object exception .how can i solve
difference between touch screen and non touch screen
difference between touch screen and non touch screen  code wise ,what is a difference between touch screen and non touch screen in J2ME
difference between touch screen and non touch screen
difference between touch screen and non touch screen  what is a difference between touch screen and non touch screen in J2ME (code wise
Caputuring screen shot
Caputuring screen shot  How to to capture screen shot for a computer on internet
Screen Flickers - Framework
Screen Flickers  One of my screen flickers. Is that is beacuse of less memory
Screen Scraping - Ajax
Screen Scraping  How i can do the screen scraping using java and ajax
recorder screen in java
recorder screen in java  Dear friends, how can I capture the screen in real time? best regards Riccardo Susca
recorder screen in java
recorder screen in java  Dear friends, how can I capture the screen in real time? best regards Riccardo Susca
noise during print screen
noise during print screen  hi there, i have a java program which can print screen every 1 seconds... but during the print screen, the image seems will have some noise and ends up half page of the image will be black screen
iPhone Capturing Screen SDK
iPhone Capturing Screen SDK  Creating an application to capture the screen shots from iPhone. In objective c is there any class that make it enable..?   UIGraphicsBeginImageContext(CGSizeMake(480,320)); UIImage* result
Touch screen effect
Touch screen effect  Hello everyone, I would like to create a desktop application using java, is it possible to have touch screen effect for the desktop application? Exp: when user click next button, whole screen will move
populating a screen on the same page
populating a screen on the same page  i'm making a time table in jsp. i have put button on each slot.if a person click on that slot it'll redirect... down. But now i want that onclicking slot(button) a small selection screen like
iphone login screen
 Mode       The   App   will   begin   with   the   Login   Screen,   The   screen   should   be   having   same   functionality  as  any  website
ipad screen resolution pixels
ipad screen resolution pixels  Hi! Can you tell the exact size of the iPad in pixels ..including height & width. Thanks Very Much!   Finally find it on the apple website... The iPad display has a screen resolution
login screen - Java Beginners
login screen  how can code a login screen please send me the code with two entries Username and Password and validate it please  Hi Friend, Try the following code: import javax.swing.*; import java.awt.
messages to the screen without using "document.write()"
messages to the screen without using "document.write()"  To write messages to the screen without using "document.write
How to connect on screen keyboard to system.
How to connect on screen keyboard to system.  How to connect on screen keyboard to system.I made on screen keyboard in java(swing).Now i want connect to system means when i pressed any button then it type on notepad or any
How to connect on screen keyboard to system.
How to connect on screen keyboard to system.  How to connect on screen keyboard to system.I made on screen keyboard in java(swing).Now i want connect to system means when i pressed any button then it type on notepad or any
splash screen time delay iphone
splash screen time delay iphone  How can i delay the splash screen?   How to delay splash screen in iPhone/iPad/ Objective C Splash scree is the very first screen that run while application launch. By default
virtual on screen keyboar - Swing AWT
virtual on screen keyboar  sir i need shift key operation code in my project program of virtual keyboard can uplz send
Capturing screen shot
;} } Screen shot for the result of the above program: Download
how to clear dos screen in java - Java Beginners
how to clear dos screen in java   how to clear dos screen in java
How to clear Dos screen in java? - Java Beginners
How to clear Dos screen in java?  How to clear Dos screen in java? Is there any way to clear the dos screen in windows platform just like "cls" in dos and clrscr in c
Java get Screen Dimensions
Java get Screen Dimensions     ... and width of the specific screen. The Toolkit class has a static method called... and height of the screen.       Here is the source code
iPhone Splash Screen
iPhone Splash Screen In this example, I'm going to show you how to create splash screen in iphone apps. The motto behind showing splash screen is to show... show your user a splash screen instead of a boring black screen while
Forgot Password Screen of Application
Forgot Password Screen of Application       Forgot Password Screen our web application allows... Password link, the "Access Your Username and password" screen
My screen EPAD is broken ...please help
My screen EPAD is broken ...please help   iam in iraq and my screen EPAD is broken ,.please help..can tel me a place to join it to solve this problem ?..Sory
Tutorials   
Java Spring Hibernate Struts Training How to display button as a link in vaadin? hi change navbar dropdown color in bootstrap How to remove the background color of bootstrap menu bar? How to change color of opened Bootstrap drop down toggle? Setting bootstrap container background color Help school all activities and admision process.. add one row after another date make a webpage HTMl HTMl Source code how to apply globalisation to a world wide asp.net application how to print HTML using javascript or Jquery How to recover from google panda update? How to survive google panda 4.0 update How to find if you have been hit by Panda 4.0 Design a web page using XHTML and JavaScript that does the followings: ffmpeg converting file mp4 to mov JavaScript How to Disable Catch-all Emails on CPanel z-index always on top What is Web hosting Database and HTML web development trainee Uploading files Image Gallery Image Gallery dropdown How to redirect from a HTML page? Easiest method for expiring the css and js headers HTML WITH AJAX VB 6 Read Web Page Header string palindrom using vbscript? html button How to add mod_deflate to apache without recompiling How to use place hoder in IE(version : 8) Html Software Question div align left css Fetching data from excel file on other website and display in interactive graph form where do I find the fix for tree view catalog not expanding and collapsing correctly for roseindia shopping cart 1.1 pass to next page to enter into a particular page only if the username,password and listbox value mtches hi Cricket stadium ticket booking design Need some help creating an order form. HTML div tag HTML div tag

Ads

 
Advertisement null

Ads