Announcement

Collapse
No announcement yet.

Open Browser Popup doesn't work ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Open Browser Popup doesn't work ?

    Hi,

    I want to open a browser window popup of a html page.

    I use DWeaver and add the Behaviour "Open Browser Window". this gives me the following for the page My_PopupAssess.html

    Code:
    <td height="78"><img src="5-steps-01-red_r2_c4.gif" alt="Assess the risk" name="n5steps01red_r2_c4" width="64" height="78" border="0" onbeforeunload="MM_openBrWindow('http://www.esafetysigns.co.uk/acatalog/My_PopupAssess.html','Assess','status=yes,scrollbars=yes,resizable=yes,width=400,height=350')"></td>
    but this doesn't work?

    Should I expect to see some javascript in my HEAD to support the MM_openBrWindow ?

    Any ideas, thanks, Simon.
    esafetysigns.co.uk
    your instant download portal for self printable health and safety signs and posters
    ... download once use as many times as you like !


    http://www.esafetysigns.co.uk/index.html
    http://www.esafetysigns.co.uk/acatalog/index.html

    #2
    Hi Simon,

    Should I expect to see some javascript in my HEAD to support the MM_openBrWindow ?
    I'm no Dreamweaver expert but there does need to be that function in the head tags for it to work.
    ********************
    Tracey
    SellerDeck

    Comment


      #3
      Can you not perhaps use something like this:
      Code:
      <a href="javascript:ShowPopUp('myPopUpPage.html',440,440)"><img src="ClickMeImage.jpg" border="0" ></a>
      ShowPopUp() is included in actiniccore.js

      Comment


        #4
        Hi Tracey,

        The function was there but the onbeforeunload bit doesn't sound logical to me so i changed it to onClick, it did work, but for some reason doesn't make the cursor change when you roll-over it, which I would prefer.

        Hi Duncan,

        Didn't realise this was possible, works a treat.

        Thanks both, Simon.
        esafetysigns.co.uk
        your instant download portal for self printable health and safety signs and posters
        ... download once use as many times as you like !


        http://www.esafetysigns.co.uk/index.html
        http://www.esafetysigns.co.uk/acatalog/index.html

        Comment

        Working...
        X