folderblog
What is folderblog?
Folderblog is a free PHP script that automatically displays the images placed in a given directory, no database needed. It can be used as a blog or gallery — and anything in between.

» demo blog   » learn more   » download now

Discussion
problems with pop-up comments(back to index)
Someone else may encounter this difficulty, so beware:

The javascript function go(url) that comes with fb gave me annoying problems with getting proper window sizes in firefox and apparently has something to do with the differences seen below.

My javascript function that works wonderfully:
function go(url) { onclick:popup=window.open(url,"comments<#fbnumber#>","scrollbars=1,toolbar=0,location=0,top=10,left=50,width=450,height=500"); 
}

and the one that fb comes with, that gave me some headaches:
function go(url) { onclick:popup=window.open(url,"comments<#fbnumber#>","location=no,menubar=no,resizable=yes,scrollbars=yes,toolbar=no,status=yes,width=350,height=400"); 
}


don't know the details why, but works soooo much better.
posted by geoff on 10 Nov 05 at 11:30 PM
it may have something to do with the
 <?xml version="1.0" encoding="utf-8" ?>
 
in my header info.
posted by geoff on 11 Nov 05 at 12:38 AM
Hello. Thank you very much for the gallery!!!
However I have one small problem with the comment popup window. when I click "comments" the popup window appears on the bottom of my screen, so that it is hard to notice. Could you please tell me how can I fix this so that the popup appears on the top or in the middle of the screen. Thank you once again!
posted by Irene on 3 Jun 06 at 3:41 PM
The key is to tell the popup where to appear by the parameters. As mentioned by geoff, the original fb code comes without the "left=" and "top=" parameters. If you add something like "left=10,top=10" it will show up 10 pixels away from the upper left corner.
posted by ikue on 5 Jun 06 at 2:01 PM
Post a Reply:

Name:    Remember me
URL:    
(include http:// or mailto:)
(back to index)