Comments popup Fancybox
-
I’m opening the comments in a popup with the comments_popup_link()
Now I want to load the comments in a fancybox. Anyone got an idea how to do this?
I’m thinking to alter the function comments_popup_script() in comment-template.php:
$javascript = "<script type='text/javascript'>\nfunction wpopen (macagna) {\n window.open(macagna, '_blank', 'width=$width,height=$height,scrollbars=yes');\n}\n</script>\n"; echo $javascript;
To something like this:
[Code moderated as per the Forum Rules. Please use the pastebin]
but can’t get it working… Any help is appreciated!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Comments popup Fancybox’ is closed to new replies.