| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 50780 | 2004-11-01 08:37:00 | New window | Ron Bakker (356) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 286750 | 2004-11-01 08:37:00 | 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 |
Ron Bakker (356) | ||
| 286751 | 2004-11-01 08:41:00 | dont you put " blank " in the target area of the HTML code by the link | ApeNz (4220) | ||
| 286752 | 2004-11-01 10:48:00 | 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. |
Rob99 (151) | ||
| 286753 | 2004-11-01 10:54:00 | I use Dreamweaver3 Here is site with the effect I am going for. www.toyo.co.nz when you click on the pic, the window that opens is simple. Cheers Ron |
Ron Bakker (356) | ||
| 286754 | 2004-11-01 11:17:00 | This is on the main page <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> images/image-thumb.gif </body> </html> This is the popup window: <html> <head> <title>Untitled Document</title> </head> <body> images/image.gif </body> </html> |
Rob99 (151) | ||
| 286755 | 2004-11-01 11:18:00 | 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('images/image1.jpg','','width=450,height=470')">images/image1b.jpg |
Greg S (201) | ||
| 286756 | 2004-11-01 11:22:00 | &l t;/head> dont know how that happend but obviously </head> |
Rob99 (151) | ||
| 286757 | 2004-11-01 18:26:00 | Wow it was there all along!! Thanks Greg S. this makes things easy for me. Cheers Ron |
Ron Bakker (356) | ||
| 1 | |||||