?
Solved

Mozilla (firefox) bookmarklet to open a new window with a local page

Posted on 2004-04-30
2
Medium Priority
?
203 Views
Last Modified: 2008-03-06
Using a bookmarklet, I am trying to open a window with an htm file that is on my local drive.

When I try this script nothing happens...
javascript: void(window.open('file:///D:/Internet/Pages/page.htm',1,'outerWidth=330,outerHeight=315,screenX=400,screenY=320'))
(yes, the path is correct)

I know that everything is correct except the reference to the local file because if I substitute an internet site using http:// etc  the window opens correctly. Is there some other way to reference a local hard drive file?
Thanks
0
Comment
Question by:steve44
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 9

Expert Comment

by:keteracel
ID: 10968622
why not drag the file into firefox then bookmark it?

I have problems with mozilla-based programs and accessing the local drive too... So I just do what I've said above!
0
 
LVL 9

Accepted Solution

by:
keteracel earned 1000 total points
ID: 10968628
oh, if you're trying to reference a page from the current one, do a relative link like "../../otherdir/index.html"
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question