foto popup
ik heb dit script
Code (php)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<script language="javascript" type="text/javascript">
function popitup(url) {
newwindow=window.open(url,'name','height=450,width=600,location=0,toolbar=0,status=0');
if (window.focus) {newwindow.focus()}
return false;}
</script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript">
<!-------ENTER YOUR FACEBOOK ALBUM IDS HERE------->
var id1 = "360324520661374";
var id2 = "";
var id3 = "";
var id4 = "";
var id5 = "";
<!----------------------------------------------->
function fbFetch1(){
var url = "https://graph.facebook.com/" + id1 + "/photos&callback=?&limit=0";
$.getJSON(url,function(json){
var html = "";
$.each(json.data,function(i,fb){
var name = "";
if (fb.name !== undefined){
var name = fb.name;}
html += "<a onclick=\"return popitup('" + fb.source + "')\"><img style='margin:5px;padding:0px;cursor:pointer;vertical-align:middle;' src=" + fb.picture + " title=\"" + name + "\"></a>"; });
html += "";
$('.facebookfeed1').animate({opacity:0}, 500, function(){
$('.facebookfeed1').html(html);});
$('.facebookfeed1').animate({opacity:1}, 500);});};
function fbFetch2(){
var url = "https://graph.facebook.com/" + id2 + "/photos&callback=?&limit=0";
$.getJSON(url,function(json){
var html = "";
$.each(json.data,function(i,fb){
var name = "";
if (fb.name !== undefined){
var name = fb.name;}
html += "<a onclick=\"return popitup('" + fb.source + "')\"><img style='margin:5px;padding:0px;cursor:pointer;vertical-align:middle;' src=" + fb.picture + " title=\"" + name + "\"></a>"; });
html += "";
$('.facebookfeed2').animate({opacity:0}, 500, function(){
$('.facebookfeed2').html(html);});
$('.facebookfeed2').animate({opacity:1}, 500);});};
function fbFetch3(){
var url = "https://graph.facebook.com/" + id3 + "/photos&callback=?&limit=0";
$.getJSON(url,function(json){
var html = "";
$.each(json.data,function(i,fb){
var name = "";
if (fb.name !== undefined){
var name = fb.name;}
html += "<a onclick=\"return popitup('" + fb.source + "')\"><img style='margin:5px;padding:0px;cursor:pointer;vertical-align:middle;' src=" + fb.picture + " title=\"" + name + "\"></a>"; });
html += "";
$('.facebookfeed3').animate({opacity:0}, 500, function(){
$('.facebookfeed3').html(html);});
$('.facebookfeed3').animate({opacity:1}, 500);});};
function fbFetch4(){
var url = "https://graph.facebook.com/" + id4 + "/photos&callback=?&limit=0";
$.getJSON(url,function(json){
var html = "";
$.each(json.data,function(i,fb){
var name = "";
if (fb.name !== undefined){
var name = fb.name;}
html += "<a onclick=\"return popitup('" + fb.source + "')\"><img style='margin:5px;padding:0px;cursor:pointer;vertical-align:middle;' src=" + fb.picture + " title=\"" + name + "\"></a>"; });
html += "";
$('.facebookfeed4').animate({opacity:0}, 500, function(){
$('.facebookfeed4').html(html);});
$('.facebookfeed4').animate({opacity:1}, 500);});};
function fbFetch5(){
var url = "https://graph.facebook.com/" + id5 + "/photos&callback=?&limit=0";
$.getJSON(url,function(json){
var html = "";
$.each(json.data,function(i,fb){
var name = "";
if (fb.name !== undefined){
var name = fb.name;}
html += "<a onclick=\"return popitup('" + fb.source + "')\"><img style='margin:5px;padding:0px;cursor:pointer;vertical-align:middle;' src=" + fb.picture + " title=\"" + name + "\"></a>"; });
html += "";
$('.facebookfeed5').animate({opacity:0}, 500, function(){
$('.facebookfeed5').html(html);});
$('.facebookfeed5').animate({opacity:1}, 500);});};
</script by Digital Brittany>
<script>fbFetch1()</script>
<div align=center>
<span class="facebookfeed1"><center>Loading...</center></span>
<script>fbFetch2()</script>
<span class="facebookfeed2"></span>
<script>fbFetch3()</script>
<span class="facebookfeed3"></span>
<script>fbFetch4()</script>
<span class="facebookfeed4"></span>
<script>fbFetch5()</script>
<span class="facebookfeed5"></span>
<br>Made by Thom Veen</a>
</div>
function popitup(url) {
newwindow=window.open(url,'name','height=450,width=600,location=0,toolbar=0,status=0');
if (window.focus) {newwindow.focus()}
return false;}
</script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript">
<!-------ENTER YOUR FACEBOOK ALBUM IDS HERE------->
var id1 = "360324520661374";
var id2 = "";
var id3 = "";
var id4 = "";
var id5 = "";
<!----------------------------------------------->
function fbFetch1(){
var url = "https://graph.facebook.com/" + id1 + "/photos&callback=?&limit=0";
$.getJSON(url,function(json){
var html = "";
$.each(json.data,function(i,fb){
var name = "";
if (fb.name !== undefined){
var name = fb.name;}
html += "<a onclick=\"return popitup('" + fb.source + "')\"><img style='margin:5px;padding:0px;cursor:pointer;vertical-align:middle;' src=" + fb.picture + " title=\"" + name + "\"></a>"; });
html += "";
$('.facebookfeed1').animate({opacity:0}, 500, function(){
$('.facebookfeed1').html(html);});
$('.facebookfeed1').animate({opacity:1}, 500);});};
function fbFetch2(){
var url = "https://graph.facebook.com/" + id2 + "/photos&callback=?&limit=0";
$.getJSON(url,function(json){
var html = "";
$.each(json.data,function(i,fb){
var name = "";
if (fb.name !== undefined){
var name = fb.name;}
html += "<a onclick=\"return popitup('" + fb.source + "')\"><img style='margin:5px;padding:0px;cursor:pointer;vertical-align:middle;' src=" + fb.picture + " title=\"" + name + "\"></a>"; });
html += "";
$('.facebookfeed2').animate({opacity:0}, 500, function(){
$('.facebookfeed2').html(html);});
$('.facebookfeed2').animate({opacity:1}, 500);});};
function fbFetch3(){
var url = "https://graph.facebook.com/" + id3 + "/photos&callback=?&limit=0";
$.getJSON(url,function(json){
var html = "";
$.each(json.data,function(i,fb){
var name = "";
if (fb.name !== undefined){
var name = fb.name;}
html += "<a onclick=\"return popitup('" + fb.source + "')\"><img style='margin:5px;padding:0px;cursor:pointer;vertical-align:middle;' src=" + fb.picture + " title=\"" + name + "\"></a>"; });
html += "";
$('.facebookfeed3').animate({opacity:0}, 500, function(){
$('.facebookfeed3').html(html);});
$('.facebookfeed3').animate({opacity:1}, 500);});};
function fbFetch4(){
var url = "https://graph.facebook.com/" + id4 + "/photos&callback=?&limit=0";
$.getJSON(url,function(json){
var html = "";
$.each(json.data,function(i,fb){
var name = "";
if (fb.name !== undefined){
var name = fb.name;}
html += "<a onclick=\"return popitup('" + fb.source + "')\"><img style='margin:5px;padding:0px;cursor:pointer;vertical-align:middle;' src=" + fb.picture + " title=\"" + name + "\"></a>"; });
html += "";
$('.facebookfeed4').animate({opacity:0}, 500, function(){
$('.facebookfeed4').html(html);});
$('.facebookfeed4').animate({opacity:1}, 500);});};
function fbFetch5(){
var url = "https://graph.facebook.com/" + id5 + "/photos&callback=?&limit=0";
$.getJSON(url,function(json){
var html = "";
$.each(json.data,function(i,fb){
var name = "";
if (fb.name !== undefined){
var name = fb.name;}
html += "<a onclick=\"return popitup('" + fb.source + "')\"><img style='margin:5px;padding:0px;cursor:pointer;vertical-align:middle;' src=" + fb.picture + " title=\"" + name + "\"></a>"; });
html += "";
$('.facebookfeed5').animate({opacity:0}, 500, function(){
$('.facebookfeed5').html(html);});
$('.facebookfeed5').animate({opacity:1}, 500);});};
</script by Digital Brittany>
<script>fbFetch1()</script>
<div align=center>
<span class="facebookfeed1"><center>Loading...</center></span>
<script>fbFetch2()</script>
<span class="facebookfeed2"></span>
<script>fbFetch3()</script>
<span class="facebookfeed3"></span>
<script>fbFetch4()</script>
<span class="facebookfeed4"></span>
<script>fbFetch5()</script>
<span class="facebookfeed5"></span>
<br>Made by Thom Veen</a>
</div>
en inplaats van popup moet er dit script in
Dit dus
Gewijzigd op 07/03/2012 18:44:59 door Thom Veen
oké
hoe doe ik dit ???
en wat is het probleem er staat toch uitgelegd hoe het moet?
ja maar het lukt niet in dit script
En wat lukt er niet aan? Wat heb je al geprobeerd? Waar loop je op vast?
Code (php)
1
2
3
4
5
6
7
8
9
10
2
3
4
5
6
7
8
9
10
<script language="javascript" type="text/javascript">
function popitup(url) {
newwindow=window.open(url,'name','height=450,width=600,location=0,toolbar=0,status=0');
if (window.focus) {newwindow.focus()}
return false;}
</script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript" src="jquery.magnifier.js">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript">
function popitup(url) {
newwindow=window.open(url,'name','height=450,width=600,location=0,toolbar=0,status=0');
if (window.focus) {newwindow.focus()}
return false;}
</script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript" src="jquery.magnifier.js">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript">
Waarom gebruiken we nog popups met: window.open?
Toevoeging op 07/03/2012 20:24:04:
- Aar - op 07/03/2012 19:54:32:
Waarom gebruiken we nog popups met: window.open?
hoe zou jij dit doen ?