tiamat2012
Programmer
Hey everyone,
I'm trying to make a link to my source code so that people can see what my page looks with ease.
I know how to do it in javascript
works, but how do I do it with href?
I tried doing
but it didn't work, any ideas?
-Kerry
I'm trying to make a link to my source code so that people can see what my page looks with ease.
I know how to do it in javascript
Code:
onmousedown="void(document.location='view-source:'+document.location)"
works, but how do I do it with href?
I tried doing
Code:
<a href="void(document.location='view-source:'+document.location)">
View Source
</a>
but it didn't work, any ideas?
-Kerry