Change location of Wicket’s ajax debug link

I needed to move Wicket’s ajax debug link from the bottom right to the bottom left because it was covering some links.  The script below is how I accomplished it (uses jQuery).  The link uses absolute positioning so you can customize this to move it anywhere on the page.

    <script type="text/javascript">
        $(document).ready(function() {
            // Moves the debug window to the left instead of the right.
            // Needs to use setTimeout so that the wicket-ajax-debug.js
            // script has a chance to create the link
                setTimeout(function() {
                    $("#wicketDebugLink").css('left', '10px');
                }, 1000);

One Response to “Change location of Wicket’s ajax debug link”

Leave a Reply