/ Published in: JavaScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>JavaScript ViewSource</title> <script type='text/javascript'> function ViewSource() { window.location = "view-source:" + window.location.href } </script> </head> <body> <a href=javascript:ViewSource()>View Source you lazy</a> <script language="javascript"> $(document).ready(function() { $(".sexy").lettering(); }); </script> </body> </html>