How to open a file in a new window

I need to create a link to a file and have that file open in a new window. I do NOT want to have to create a page for each of about 600 files! And yes, it has to live on MobileMe and be created in iWeb, so save the comments about using other tools and/or hosting services.
I can create the link just fine but the bloody thing opens in the same window. I thought I used to be able to do that in iWeb 1 but that's moot now.

It depends on where you put the file on your iDisk. For some reason I can't use the Documents folder on the iDisk However the Pictures folder works and you would use this link:
http://homepage.mac.com/yourMMe_account_name/.Pictures/filename. (Note the period before Pictures)
The code for the snippet is:
<script type="text/javascript">
function open_win()
window.open("http://homepage.mac.com/YOURMME_ACCOUNT/.Pictures/FILENAME","blank","toolbar=no, location=yes, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=yes, width=580, height=500") }</script>
<form><input type="button" value="Click to Play" onclick="open_win()"> </form>
Click on the Demo Page link above to see the example at the bottom of the page.

Similar Messages

  • How to open WMV files in a new window

    I would like to open and play Windows Media Player files in a
    new window that is sized to the player window - not a full new
    page. I cannot seem to find an exension that would handle this.
    Anyone have a place I can look?

    Yes, and if you multiple windows to open, you can save time
    and effort
    with my divaPOPgold:
    http://divahtml.com/products/divaPOPgold/open_popup_windows.php
    E. Michael Brandt
    www.divahtml.com
    www.divahtml.com/products/scripts_dreamweaver_extensions.php
    Standards-compliant scripts and Dreamweaver Extensions
    www.valleywebdesigns.com/vwd_Vdw.asp
    JustSo PictureWindow
    JustSo PhotoAlbum, et alia

  • Hyperlink to open a file in a new window

    I have been trying to format the hyperlink to a file so it opens on a new window. iWeb allows us to check the box 'open in new window' only for links to external pages; when we insert a link to a file, I realize the app uploads the file to the website, but I could not find a way to have it open in a new window. Is there a way we can get to and format the hyperlink reference?

    1. Create the link that connects to the file (pdf or whatever) on a separate page of your site on iWeb.
    2. Publish your site, then go on the internet to the page that has this link. Keep this page open on your Safari or some web browser you use.
    3. Go back to your iWeb and create another link on a different page (home page, for example) of your site, and connect this link to the URL of the open page in step 2 with "Link to: An External Page" option. Click to choose "Open link in new window" on the Inspector panel. Name this link that has something to do with the file of interest in step 1.
    4. On your iWeb, go the page created in step 1 and make sure "include page in navigation menu" is not selected or checked in the Inspector panel so that web visitor will not get to this page directly.
    5. Publish your site. Now go to your site on the web to the page in step 3. Click on the link and it will open a new page with the link that has the file attached. Visitor can now open the file in that new window.
    • It seems complicated, but you'll get it.
    • You may need to refresh the pages on Safari to make it work if you have left Safari on throughout your work.
    • For this method, you have to dedicate a page to carry the link that connects to the file.
    Example: I create a page that has list of links to the files for viewing. These files are weekly reports. Each file is named by its date such "March 4, 2011" "March 11, 2011" etc.. This page will be hidden from visitors at first when they visit my site. Then I create on my home page a link called "Weekly Reports" that open to "External Page" via the option I have in Inspector. Even though it says "External Page" I use the URL of the hidden page containing all the actual files. On this "hidden" page, I also has a link called "Weekly Report" but this link is connected directly to this page. I do this only because I want the "hidden" page to look like my home page in terms of displayed links.

  • How to open KM file in the same window

    When we open KM file by /irj/go/km/docs/... link it is previewed in a new Internet Explorer window.
    We changed Targed property to Self for iView navigation in LayoutSet render but the image file is still opend in new Window.
    How to workaround this?

    We changed Target Window Type property value of ResourceRenderer of Navigation iView  to Self.
    When an authenticated user  tries to open KM file it is opened in the same window if file URL include /irj/servlet/prt/prtroot....
    If file URL contain /irj/go/km/docs/.. it is opened in new window.
    When an anonymous user  tries to open KM file it is opened in a new (popup) window.
    We need that anonymous user can open km files in the same window.
    How to work around this?
    We use light framework.

  • How to open a swf in a new window

    I have a button in one swf that I'd like to open another swf
    in a new window. What's the easiest way to accomplish this task?

    Try to read this article
    http://74.125.39.104/search?q=cache:f8Iq_w8jem0J:kb.adobe.com/selfservice/viewContent.do%3 FexternalId%3Dtn_14192+flash+popup+window&hl=ru&ct=clnk&cd=1&gl=ua&client=firefox-a
    How is represented the list of mp3 files in your player? I
    have a similar task.. Do you use DataGrid?

  • Interactive Buttons - Open File - How do I open a file in a "new" window?

    Running CS5 and I'm working on an interactive document.  I have created a Button and my Action is to "Open File" and I've selected the applicable file.  When I export to PDF and click on that button, it opens the file but not in a new window so I lose my original source PDF.
    I know that I can do these actions in Acrobat but I'd prefer to do all my actions in InDesign so I don't have to keep going back and forth.
    Thanks!!

    I believe it has to be done with a JavaScript in Acrobat. It cannot be done in InDesign. You might ask in the Acrobat forum for more information.

  • How to open two files in the one window in PSE11?

    In older versions of PSE I was able to open two picture files in the same window by just resizing them smaller so that I could deal with them side by side........I couoldn't do it in PSE=10, and I upgraded to PSE11 and still don't know how to do it.  Can somone assist me?  Thanks..

      In the Organizer select two thumbnails and hit the F12 key to compare them. But I guess you mean in the Editor application. In Expert Mode it‘s possible to work with floating windows rather than fixed tabs but you first need to set your preferences. Go to:
    Edit >> Preferences >> General (Windows)
    Photoshop Elements Editor >> Preferences >> General (Mac)
    Then put a checkmark in the box against “Allow Floating Documents in Expert Mode”
    Click OK
    You can now open your two images and use the layout button at the bottom to choose various configurations or to cascade.
     

  • Need help opening a file in a new window

    I'm creating an interactive PDF in InDesign CS5.5.
    This PDF contains buttons I've made that link to other, separate, PDF files using the open file method.
    This is all working fine - trouble is, when I click the button to open the second PDF file, the first PDF automatically closes.
    Is there any way to make the second PDF open in a new window, keeping the first PDF open?
    This is something that every user must be able to do, so using preference --> Open cross-doc links in same window will not work.
    Is there a JavaScript code to use?
    Your help would be much appreciated!

    You can set up a link to behave as you want, ignoring whatever the user preference is set to, but I don't know if you can configure such a link in InDesign.
    In Acrobat, you can edit the link action (assuming it's a "Go to a page view / Go to a page in another document" type) and select "New Window" in the "Open in" drop down:

  • How to open the URL in a new window

    Hi,
    i have created a web template with hyperlinks in it. when i click the link in the browser it opens it in the same window.
    how can i open the link in a new browser. we are in BW 3.5
    Thanks
    Krishna

    Try adding this to your URL at the end:
    target=_blank
    Hope this helps...

  • How to open a website link in new window

    I have created a flash website which contains a link to an outside website. When I click on the link, it takes me to that outside website in the same browser window. To go back to my website, I have to use the back arrow. I want to change the link to the outside website so that the link opens in a new window. Therefore, if somebody goes to the link, when they finish they can close the new link's window and the original window with my website will still remain, without losing both upon closing.
    What do I need to adjust in order to do this?

    var url:URLRequest = new URLRequest("http://www.adobe.com"); navigateToURL(url, "_blank");
    getURL/navigateToURLThis method uses the getURL (ActionScript 2.0) or navigateToURL (ActionScript 3.0) command to create a new browser window by targeting a new, blank window. This method is simple, works on all browsers, and requires no JavaScript. This method, however, it does not provide control over window location, size, scrollbars, or toolbars.    I guess something like this you needed?

  • How to open portal favorites in a new window?

    Hi,
    we want that when a user clics in a portal favorites link, the iview gets opened in a new window.
    I have been searching in the forums and tried all the "solutions" but none of them worked,
    I tried: 
    - Setting the portal favorites iview property ¨Launch in new window : display in a headerless portal window¨
    - Tried setting the parameter ¨Targe Window Type: blank¨ in the collection renderer of the layout set of the favorites iview
    any hints?
    (using EP 7.0 SPS 20)
    best regards,
    Marco.

    Hi Marco,
    I have checked this issue and there it is not possible to force the
    iview which are opening portal content or portal pages as this is
    hardcoded.
    In PortalFavorites iView, portal pages are opening always in the portal
    area, when iView is in the portal area, or into another window, when the
    iView is called as standalone ( see 'Organize Entries' link from tray
    option).
    So there is no way to open into a new window portal pages direct from
    Portal Favorites.This works as designs unfortunately .
    Regards
    Shrikant

  • How to Open BSP page in a new window?

    Hi All,
    I am creating a BSP application wherein i have a htmlb button for "help".
    I want to open this help page in a new window, so that alongwith the help page the user can
    view other pages also simultaneously.
    Is there any way by which i can open this BSP page into a new window without loosing
    the contents of the current page on which the help button is present.
    A sample code for opening page in new window will be of great help.
    Thanks in Advance for your help.

    Hi Mahima,
    Use the onClientClick event of the button.
    on_Client_Click="callwindow();"
    <s cript>
    function callwindow()
    win_dow.o_pen("www.sap.com");
    </s cript>
    Please remove the underscores from code.
    Regards,
    Anubhav

  • How to open ALV Excel Inplace in new window

    Hi everybody,
    I have an ALV report which is used in Excel Inplace mode. However, I'd like to have Excel to be opened in a new window and not in the ALV container. I do not want to manually export my data to Excel as described in many discussions here on SCN, but I want to have exactly the same xls document opened that is generated by the ALV control. This is because I want to open the default XLS template uploaded into BDS filled with the data of the ALV grid.
    I thought that getting the generated XLS using the Desktop Office Integration, i_oi_document_proxy->repoen_document would work (using open_inplace = space), but unfortunately this opens the excel template without data.
    Does anyone have a soulution for this?
    Thanks and BR,
    Tamas

    var url:URLRequest = new URLRequest("http://www.adobe.com"); navigateToURL(url, "_blank");
    getURL/navigateToURLThis method uses the getURL (ActionScript 2.0) or navigateToURL (ActionScript 3.0) command to create a new browser window by targeting a new, blank window. This method is simple, works on all browsers, and requires no JavaScript. This method, however, it does not provide control over window location, size, scrollbars, or toolbars.    I guess something like this you needed?

  • How to open QuickTime files in the Footage window on Mac

    Using CS4 on the Mac when I double click a QuickTime HDV video clip in the project pannel it opens it in a separate window how can I open it in the Footage window?
    Thx
    Kevin

    The CS4 (or CS3) help can be used to search the entire Community, or restrict the search to their own help system.
    Just enable the checkmark near the top right of the page (to search "this system only").
    Also, there's a link at the top of the help page to download a .pdf version of the help files (for local use).
    Having the help files online allows other people to add useful comments, and those who write the help files to update them as needed.
    This helps keep them current, and ever-improving.
    Check out the download and search restriction links!

  • How to open the url link in new window or new tab in Sharepoint

    Hello,
        Am having one custom list and one column name  contains type (Hyperlink & picture).I want to open this in a new tab on click I tried but i didn't get any solution even I follow this link also.
    https://wb2-web.sharepoint.com/blog/Lists/Posts/Post.aspx?ID=9 
    and I didn't get this line of code:     <a
    onfocus="OnLink(this)" href="{$url}" >  
    Any Help

    You can do it one of two ways:
    1. Insert some CSS that will change the target to "_new".
    2. Change the field that the user enters information in to a single line of text, then create a calculated column that is:
    =CONCATENATE("<a href=",[URL Field]." target=new>Click here</a>")
    Format that as a number.
    Andy Wessendorf SharePoint Developer II | Rackspace [email protected]

Maybe you are looking for

  • How do I speed up/down parts of my scene?

    Hi all I'm a newbie at Premiere and try to manage the following: I've assembled a scene with several elements and video layers. The problem is, parts of the scene are simply taking too long and I would like to speed them up. In "Video 1" and "Video 2

  • Finder & Quicklook image size

    Hi,  Sometime ago, I noticed that Quicklook started showing smaller versions of images rather than zoomed to fill the screen, then today, when I click on an image in column-view in Finder, I get little thumbnail size previews in the far right column

  • How to create an enterprise role in WLS admin console ?

    HI All, we have an ADF application developed using jdev 11.1.2.1. we have some web pages that are assigned to the application role: users. the app role is mapped to the enterprise role: agt_users. after deploying to a WLS standalone server, we were a

  • Can't connect G4 Mac Mini, to new 2009 Mac Mini via AirPort

    Well, I bought a new Mac Mini and wanted my kids to use the old one for general web surfing. The first day I hooked it up with the AirPort to the new one and everything was great, we were Home Sharing iTunes, sharing files, etc. The next day when I p

  • Where i find the Download Link to Adobe Creative Cloud?

    Where i find the Download Link to Adobe Creative Cloud? Buyed this day and installed on my office computer... now i am at home and searching sience 25 mins for the download link but i can not find it =(