SMF For Free Support Forum

SMF For Free Support => SMF For Free Codes and Support => Topic started by: Qub1 on February 25, 2008, 09:52:47 am

Title: [CODE] Current Page Name and URL [Qub1]
Post by: Qub1 on February 25, 2008, 09:52:47 am
Forum Url: http://narutolounge.smfforfree4.com
This code is used to Show the Current Page name and URL Location.

Previeuw (http://www.qub1test.smfforfree4.com)

To use, paste this in your Footers or Headers, your Choise (Edit the Red Text as you Wish):
Quote
<script>

catchT=document.title
URL=document.URL

<!--write title & URL begin
document.write("Page Title:&nbsp;&nbsp;&nbsp;&nbsp;<b>" + catchT + "</b>" +
"<br>Current Page URL:" + "&nbsp;&nbsp;&nbsp;<b>" + URL + "</td>","</b>");
<!----end--->
</script>

Then it should work. Thanks for Using!
- Qub1 (http://www.narutolounge.smfforefree4.com)