Jump to content

Recommended Posts

Posted

Acest script afiseaza in pagina un link care odata activat (printr-un click de mouse) genereaza un fiser text cu codul sursa al paginii:

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>PC Troubleshooting Afisare Cod Sursa Pagina Web</title>

<script language="Javascript">
<!--

function viewsource()
{
window.location="view-source:"+window.location;
}
//-->
</script>
</head>

<body>
<a href="#" onclick="viewsource();">Vezi codul sursa!</a>
</body>

</html>[/code]

:pct2:

Te-ai inregistrat? Ne-ar placea sa te prezinti.

Cum pot sustine forumul?
Cumpara de la eMag folosind acest link.
--------------------
oG2BN9d.gifse1WdXd.gifQG6MtmI.gifRHYjDzD.gifG5p1wui.gif

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.