★ wanayoo — archive 1999 http://www.devshed.com/Talk/Forums/Forum3/HTML/000358.htmlNouvelle recherche | Portail wanayoo
DevShed Menu
* DevShed Home
* Developer News
* DevShed Brain Dump




UBBFriend: Email This Page to Someone!
  DevShed Discussion Forums
  JavaScript
  open new window

Post New Topic  Post A Reply
profile | register | preferences | faq | search

next newest topic | next oldest topic
Author Topic:   open new window
cskoo
Member
posted June 04, 2000 11:53 PM     Click Here to See the Profile for cskoo     Edit/Delete Message Reply w/Quote
may i know how could open a new window for the html file that place outside the root directory? the path that can not be access by browser?

rkmarcks
Member
posted June 05, 2000 06:14 AM     Click Here to See the Profile for rkmarcks   Click Here to Email rkmarcks     Edit/Delete Message Reply w/Quote
You're question is a little vague. If the file is outside the server path, it sounds like you're saying you don't have privledges to the residing directory. If that's the case, then you simply cannot retrieve the file. You must place the file into a directory where you have access privledges.

If in fact you have access privledges, use:

var win1=window.open(file,title,details)

where file is the complete path
title is your title for the popup window (not the same as window name)
details is optional defining how you want the popup to appear.

All times are MST (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | DevShed.com

Copyright © 1997-2000 ngenuity. All rights reserved.

Powered by: Ultimate Bulletin Board, Version 5.41a
© Infopop Corporation (formerly Madrona Park, Inc.), 1998 - 1999.