coderunner schreef:Beste sadira,
Het "disable right mouse click" javascript dat jij gebruikt werkt enkel in Internet Explorer en blijkbaar staat er iets op de foto-pagina die dat script belet te werken. Vervang jouw javascript
Code: Selecteer alles
<script type="text/javascript">
function click()
{
if (event.button==2)
{
alert("Sorry no right clicks here");
}
}
document.onmousedown=click;
</script>
door onderstaand javascript
Code: Selecteer alles
<script type="text/javascript">
<!--
var message="Sorry dit is eigendom van Sadira's Place";
///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}
function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}
if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}
document.oncontextmenu=new Function("alert(message);return false")
// -->
</script>
Het javascript werkt nu zowel in Internet Explorer als in Firefox.
Ziehier het voorbeeld in werking
mvg,
Coderunner
ik had de link gekopieerd maar het lukt me nog steeds niet
<html>
<head><meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<script type="text/javascript">
<!--
var message="Sorry dit is eigendom van Sadira's Place";
///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}
function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}
if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}
document.oncontextmenu=new Function("alert(message);return false")
// -->
</script>
<meta name="verify-v1" content="NAsFpiJiMHV8MpFO2y8ENCG0mUfjEnfuRbV9DN1gaw8=" />
<title>
Sadira's Place </title>
<style type="text/css">body {cursor: url(
http://www.myspacecursor.net/cursor/DragonflyCM.ani); }
a {
color: #FF0000;
}
.style1 {
text-align: center;
}
.style2 {
color: #990033;
font-weight: bold;
}
.style4 {
color: #660066;
}
.style5 {
text-align: center;
color: #660066;
}
.style6 {
color: #990033;
}
</style>
</head>
<body bgproperties="fixed" style="color: #FF00FF; background-color: #000000; background-image: url('bckgrou.jpg')">
<li>
<p align="center"><font color="#CC6666" face="brush script MT" size="9">
<span class="style2">Foto's</span> </font>
<p align="center"> <p align="center"> <p class="style1">
<b><font color="#FF00FF" face="segoe print" size="5">
<span class="style4">Hier kun je verschillende fotoalbums zien als onder
andere,
</span>
<p class="style5"> Onze honden, Mijn foto's, Wedstrijden
<span class="style4">
<p class="style1"> Laat zeker weten wat je ervan vind</span></font>
<a name="#honden" class="style4"></a>
<p class="style1">
<embed src="
http://flash.picturetrail.com/pflicks/3/spflick.swf" quality="high" FlashVars="ql=2&src1=
http://pic80.picturetrail.com/VOL1968/1 ... /1/6885020" wmode="transparent" bgcolor="#000000" name="spiral" align="middle" allowScriptAccess="sameDomain" style="height:197px; width:281px; float: center;" type="application/x-shockwave-flash"> <p class="style1">
<p align="center"><font face="georgia" size="4"><p align="center">
<span class="style2">Dit zijn de foto's van ons Sadira van haar 6 weken tot
7 maanden.</span>
<table align="center"><tr><td>
<a href="101_3230.gif" title="Sadira 6 weken" onclick="puShow(this.title, this.href); return false;">
<img src="101_3230.gif" border="6" style="border-color:#FF0066; align=0 width="30" height="70"></a>
<a href="101_3266.gif" title="Sadira " onclick="puShow(this.title, this.href); return false;">
<img src="101_3266.gif" border="6" style="border-color:#FF0066; align=0 width="30" height="70"></a>
<a href="101_3347.gif" title="Sadira " onclick="puShow(this.title, this.href); return false;">
<img src="101_3347.gif" border="6" style="border-color:#FF0066; align=0 width="30" height="70"></a>
<a href="101_3437[1].gif" title="Sadira" onclick="puShow(this.title, this.href); return false;">
<img src="101_3437[1].gif" border="6" style="border-color:#FF0066; align=0 width="30" height="70"></a>
<a href="101_3455[1].gif" title="Sadira " onclick="puShow(this.title, this.href); return false;">
<img src="101_3455[1].gif" border="6" style="border-color:#FF0066; align=0 width="30" height="70"></a>
<a href="101_3502[1].gif" title="Sadira " onclick="puShow(this.title, this.href); return false;">
<img src="101_3502[1].gif" border="6" style="border-color:#FF0066; align=0 width="30" height="70"></a>
<a href="101_3568.gif" title="Sadira" onclick="puShow(this.title, this.href); return false;">
<img src="101_3568.gif" border="6" style="border-color:#FF0066; align=0 width="30" height="70"></a></td></tr></table>
<p align="center" class="style6"><font face="segoe print" size="5">Ons
Sadira, Nuchka en Baja<p align="center">
<table align="center"><tr><td>
<a href="101_3546.gif" title="Sadira " onclick="puShow(this.title, this.href); return false;">
<img src="101_3546.gif" border="6" style="border-color:#FF0066; align=0 width="30" height="70"></a>
<a href="101_3607.gif" title="Sadira " onclick="puShow(this.title, this.href); return false;">
<img src="101_3607.gif" border="6" style="border-color:#FF0066; align=0 width="30" height="70"></a>
<a href="in de hof 005.gif" title="Sadira" onclick="puShow(this.title, this.href); return false;">
<img src="in de hof 005.gif" border="6" style="border-color:#FF0066; align=0 width="30" height="70"></a>
<a href="in de hof 036.gif" title="Sadira" onclick="puShow(this.title, this.href); return false;">
<img src="in de hof 036.gif" border="6" style="border-color:#FF0066; align=0 width="30" height="70"></a>
<a href="sadira 11 maand 001.gif" title="Sadira " onclick="puShow(this.title, this.href); return false;">
<img src="sadira 11 maand 001.gif" border="6" style="border-color:#FF0066; align=0 width="30" height="70"></a>
<a href="sadira 11 maand 010.gif" title="nuchka " onclick="puShow(this.title, this.href); return false;">
<img src="sadira 11 maand 010.gif" border="6" style="border-color:#FF0066; align=0 width="30" height="70"></a>
<a href="sadira 11 maand 019.gif" title="Sadira " onclick="puShow(this.title, this.href); return false;">
<img src="sadira 11 maand 019.gif" border="6" style="border-color:#FF0066; align=0 width="30" height="70"></a>
<a href="sadira 11 maand 036.gif" title="Sadira en nuchka " onclick="puShow(this.title, this.href); return false;">
<img src="sadira 11 maand 036.gif" border="6" style="border-color:#FF0066; align=0 width="30" height="70"></a>
<a href="sadira 11 maand 042.gif" title="Sadira " onclick="puShow(this.title, this.href); return false;">
<img src="sadira 11 maand 042.gif" border="6" style="border-color:#FF0066; align=0 width="30" height="70"></a>
<a href="sadira 11 maand 047.gif" title="baja " onclick="puShow(this.title, this.href); return false;">
<img src="sadira 11 maand 047.gif" border="6" style="border-color:#FF0066; align=0 width="30" height="70"></a></td></tr></table>
<font face="segoe print" size="5"><p align="center"><span class="style2">Dit is
ons Sadira tijdens haar brevet.</span>
<table align="center"><tr><td>
<a href="IMG_0748.gif" title="Sadira brevet" onclick="puShow(this.title, this.href); return false;">
<img src="
IMG_0748.gif" border="6" style="border-color:#FF0066; align=0 width="30" height="70"></a>
<a href="sadira20.gif" title="Sadira brevet" onclick="puShow(this.title, this.href); return false;">
<img src="IMG_0759.gif" border="6" style="border-color:#FF0066; align=0 width="30" height="70"></a>
<a href="sadira21.gif" title="Sadira brevet" onclick="puShow(this.title, this.href); return false;">
<img src="IMG_0762.gif" border="6" style="border-color:#FF0066; align=0 width="30" height="70"></a></td></tr></table></font>
<p align="center" class="style6"> Nuchka en Sadira in de sneeuw<p align="center"><a href="sadiratje1.gif" title="in de sneeuw 2008 " onclick="puShow(this.title, this.href); return false;">
<img src="sadiratje1.gif" border="6" style="border-color:#FF0066; align=0 width="30" height="70"></a>
<a href="sadiratje2.gif" title="in de sneeuw 2008" onclick="puShow(this.title, this.href); return false;">
<img src="sadiratje2.gif" border="6" style="border-color:#FF0066; align=0 width="30" height="70"></a>
<a href="sadiratje3.gif" title="ons sadira en nuchka in de sneeuw" onclick="puShow(this.title, this.href); return false;">
<img src="sadiratje3.gif" border="6" style="border-color:#FF0066; align=0 width="30" height="70"></a>
<a href="sadiratje4.gif" title="in de sneeuw" onclick="puShow(this.title, this.href); return false;">
<img src="sadiratje4.gif" border="6" style="border-color:#FF0066; align=0 width="30" height="70"></a>
<p align="center" class="style6"> Dit zijn mijn fotokes wel van men 21 tot 24
<p align="center">
<a href="ik1.gif" title="ik 21 jaar " onclick="puShow(this.title, this.href); return false;">
<img src="beterAfbeelding 113.gif" border="6" style="border-color:#FF0066; align=0 width="30" height="70"></a>
<a href="ik2.gif" title="ik 21" onclick="puShow(this.title, this.href); return false;">
<img src="beter23.gif" border="6" style="border-color:#FF0066; align=0 width="30" height="70"></a>
<a href="ik3.gif" title="toan was ik 21" onclick="puShow(this.title, this.href); return false;">
<img src="beter7.gif" border="6" style="border-color:#FF0066; align=0 width="30" height="70"></a>
<a href="ik4.gif" title="IK op mijn 23ste" onclick="puShow(this.title, this.href); return false;">
<img src="101_3205.gif" border="6" style="border-color:#FF0066; align=0 width="30" height="70"></a>
<a href="ik5.gif" title="in 2008" onclick="puShow(this.title, this.href); return false;">
<img src="ikke 007.gif" border="6" style="border-color:#FF0066; align=0 width="30" height="70"></a>
<a href="ik6.gif" title="in 2008" onclick="puShow(this.title, this.href); return false;">
<img src="ikke 023.gif" border="6" style="border-color:#FF0066; align=0 width="30" height="70"></a>
<a href="ik7.gif" title="in 2008 " onclick="puShow(this.title, this.href); return false;">
<img src="ikke 032.gif" border="6" style="border-color:#FF0066; align=0 width="30" height="70"></a>
<p align="right"><a href="#boven"> Terug naar boven </a>
</body>
</html>