• Resolved nickthenameless

    (@nickthenameless)


    So in the source of the widgets.php page, there’s JS functions called popControl, popShadow, unpopShadow, and unpopControl. I believe these are the four functions that power the effect that is much like how the Lightbox plugin displays images. Please correct me if I’m wrong.

    My goal is to use this effect for the comment link of each post. When a reader clicks the comment link, it gives this Lightbox effect to display the form in which to enter the comment. I know this can work with forms, because the widgets.php page uses this effect to display the “Add Custom Text” form.

    I would appreciate any guidance on how to do this. I haven’t hacked WP in awhile, so as I type this I can’t even remember exactly where I would find the anchor tag for the comment link. Any level of help in the endeavor to make this happen would be much appreciated. Thanks!

Viewing 1 replies (of 1 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    Those are all javascript functions specifically made for the Widgets page. You can’t reuse them on the blog site themselves, they were not made to be reusable. They’re specific to the widgets configuration page.

    You can examine how they work and then write your own versions for whatever you want to do.

Viewing 1 replies (of 1 total)
  • The topic ‘Use function popControl() for comment link’ is closed to new replies.