vkidv
10-05-2003, 09:48 PM
Im having problems with a script i made; Please dont mock the script's contents, But i need some help:
<html>
<script language="javascript">
function click2(website) {
var stay=confirm("LINKPRO:\nYou clicked a link! Which goes away from PokéPage 341. We do not control the contents of the page you are navigating to.\nIt is not our
responsibilty of the contents of the page.\n-*Click OK to continue to the website.\n-*Click CANCEL to stay at PokéPage341\n**Quick Check: The Address/link you click is:
"+website+" . **")
if (!stay) {alert("The PokéPage 341 Team\nKeeping the web safe.\nEmail:safety@pokepage341.cjb.net") }
if (stay) { openme=window.open(website) }
}
function linkpro{} {
alert("Link-Pro\nIs to protect links that we do not control the content.\nVisit: http://www.geocities.com/vleaderv/linkpro for more infomation")
}
</script>
<a href="javascript:click2(http://www.someoutsidesite.com);"><i><h6>Link-Pro ON</i></h6></a>
</html>
What i want to happen is when a certain links (i choose) are pressed this little thing comes up saying if you want to leave the site. But only for the outsider links.
I cant type much, its my bed time.
Please help, Thanks :D
<html>
<script language="javascript">
function click2(website) {
var stay=confirm("LINKPRO:\nYou clicked a link! Which goes away from PokéPage 341. We do not control the contents of the page you are navigating to.\nIt is not our
responsibilty of the contents of the page.\n-*Click OK to continue to the website.\n-*Click CANCEL to stay at PokéPage341\n**Quick Check: The Address/link you click is:
"+website+" . **")
if (!stay) {alert("The PokéPage 341 Team\nKeeping the web safe.\nEmail:safety@pokepage341.cjb.net") }
if (stay) { openme=window.open(website) }
}
function linkpro{} {
alert("Link-Pro\nIs to protect links that we do not control the content.\nVisit: http://www.geocities.com/vleaderv/linkpro for more infomation")
}
</script>
<a href="javascript:click2(http://www.someoutsidesite.com);"><i><h6>Link-Pro ON</i></h6></a>
</html>
What i want to happen is when a certain links (i choose) are pressed this little thing comes up saying if you want to leave the site. But only for the outsider links.
I cant type much, its my bed time.
Please help, Thanks :D