Results 1 to 8 of 8

Thread: New window

  1. #1
    Ron Bakker
    Guest

    Default New window

    I'm trying to opening a new window without scroll bar task bar, to display enlarged photos of my online catalogue.
    The way I have it set up now I feel that some may get confused.
    I have looked at other sites for the code, but I can't tell what belongs to what.
    Cheers Ron

  2. #2
    ApeNz
    Guest

    Default Re: New window

    dont you put " blank " in the target area of the HTML code by the link

  3. #3
    Rob99
    Guest

    Default Re: New window

    What are you using to make the code?

    To open a window, you need to define the width and height, you can set scrollbars if you like. All this happens on the main page.

    The window that it opens contains very little code, probally just a <img src=" and maybe a close window.

  4. #4
    Ron Bakker
    Guest

    Default Re: New window

    I use Dreamweaver3
    Here is site with the effect I am going for.
    http://www.toyo.co.nz/px4.htm
    when you click on the pic, the window that opens is simple.

    Cheers Ron

  5. #5
    Rob99
    Guest

    Default Re: New window

    This is on the main page
    [pre]
    <html>
    <head>
    <title>Untitled Document</title>
    <script language="JavaScript" type="text/JavaScript">
    <!--
    function MM_openBrWindow(theURL,winName,features) { //v2.0
    window.open(theURL,winName,features);
    }
    //-->
    </script>
    </head>

    <body>
    [img]images/image-thumb.gif[/img]
    </body>
    </html>
    [/pre]

    This is the popup window:
    [pre]
    <html>
    <head>
    <title>Untitled Document</title>
    </head>

    <body>
    [img]images/image.gif[/img]
    </body>
    </html>
    [/pre]

  6. #6
    Greg S
    Guest

    Default Re: New window

    I can't recall how it goes in DW3 - here's how I do it in MX:

    Click on your image.
    In the Behaviours window, click the + to add an event.
    Click Open Browser Window.
    Scroll to your images folder to the larger image.
    Enter the image dimensions.
    After choosing which attributes you want, eg scroll bar etc, click ok.
    Under events choose (on click)

    The code should look something like this:

    <ahref="javascript:;"onclick="MM_openBrWindow('ima ges/image1.jpg','','width=450,height=470')">[img]images/image1b.jpg[/img]

  7. #7
    Rob99
    Guest

    Default Re: New window

    &l t;/head>

    dont know how that happend but obviously </head>

  8. #8
    Ron Bakker
    Guest

    Default Re: New window

    Wow it was there all along!!
    Thanks Greg S. this makes things easy for me.

    Cheers Ron

Similar Threads

  1. Lost window when minimized window to taskbar
    By Nicoleklh in forum PressF1
    Replies: 5
    Last Post: 22-11-2006, 08:02 PM
  2. A window that won't go away!
    By Gill in forum PressF1
    Replies: 6
    Last Post: 10-04-2003, 08:53 PM
  3. Replies: 6
    Last Post: 09-01-2003, 11:12 PM
  4. Pop up window in XP
    By fuzzybear in forum PressF1
    Replies: 1
    Last Post: 26-09-2002, 11:14 PM
  5. Replies: 2
    Last Post: 05-12-2001, 07:56 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •