• Resolved lashbrooke

    (@lashbrooke)


    I added some javascript into my sidebar to open an image in a resizeable popup window. It was working fine and then all of a sudden has stopped working.

    Before I had the code working, i took some code I had on an existing site to see if that would work – which it did, then altered the existing code according to this. Now both are not working, its the strangest thing…any suggestions.

    Here is my code…

    <script type=”text/javascript”>
    // Popup window code
    function newPopup(url) {
    popupWindow = window.open(
    url,’popUpWindow’,’height=255,width=480,left=10,top=10,resizable=yes,scrollbars=yes,toolbar=yes,menubar=no,location=no,directories=no,status=yes’)
    }
    </script>
    <img src=”https://10.2.2.15/wp-content/uploads/2011/07/payyourfees_orange.jpg&#8221; alt=” width=”250″ height=”30″ class=”aligncenter” />

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Simple Text Widget and adding in javascipt’ is closed to new replies.