This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 25052 - <!DOCTYPE html> <html lang="pt-BR"> <head> <meta charset="UTF-8" /> <title>Notifier</title> <script> function notify(text){ document.getElementById('msg').innerHTML+='<p>'+text+'</p>' [...]
Summary: <!DOCTYPE html> <html lang="pt-BR"> <head> <meta charset="UTF-8" /> <title>...
Status: RESOLVED INVALID
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-14 19:34 UTC by contributor
Modified: 2014-03-17 20:14 UTC (History)
2 users (show)

See Also:


Attachments

Description contributor 2014-03-14 19:34:57 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html
Multipage: http://www.whatwg.org/C#event-handler-attributes
Complete: http://www.whatwg.org/c#event-handler-attributes
Referrer: http://www.whatwg.org/specs/web-apps/current-work/multipage/introduction.html

Comment:
 <!DOCTYPE html> <html lang="pt-BR"> <head> <meta charset="UTF-8" />  
<title>Notifier</title>   <script>    function notify(text){	
document.getElementById('msg').innerHTML+='<p>'+text+'</p>'	titleFlick()  
}    function titleFlick(){	if(document.hasFocus()){      
document.title='Notifier'	return	   }	
document.title=document.title=='Notifier'?'* Notifier':'Notifier'    
setTimeout('titleFlick()',500)	 }    </script> </head>  <body>   <input
type="button" id="notify" value="Notify in 5 seconds"	 onclick="notify('Will
notify in 5 seconds...');setTimeout('notify(\'Event shoot!\')',5000)" />  
<div id="msg"></div> </body>  </html>

Posted from: 189.125.72.210
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.117 Safari/537.36