Advertisement
bueddl

Untitled

Sep 27th, 2013
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.35 KB | None | 0 0
  1. <script type="text/javascript">
  2. $(document).ready(function(){
  3. var h1Value = $("h1").html();
  4. if($('h1').size() == 0 || h1Value == undefined || h1Value == ''){
  5. document.title = "The Championships, Wimbledon 2013 - Official Site by IBM";
  6. }else{
  7. document.title = "The Championships, Wimbledon 2013 - Official Site by IBM - " + h1Value;
  8. }
  9. });
  10. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement