PDA

View Full Version : Accessing html file from another website


Spin1197
09-24-2003, 02:58 AM
I am a beginner at Java and need to find a way to open up a html page as a pop up that is located on another website

Most will probably find this easy but it is not for me since I am just getting started.

The site I want to pop up is a fact of the day and is located on the site www.cenntenialofflight.gov

The URL that I am trying to access is as follows
www.cenntenialofflight.gov/fact/month_day.htm
where month_day is the current date.

I need a script that will find out the current date and then use it do display the correct page.

I have played around with several options but cannont figure it out.

Any help would be greatly appreciated.
Spin1197

Spin1197
09-24-2003, 04:18 AM
I have figured out part of the script and it really was easier than I thought

I still have a problem

I now can access the sites htm files however it is only accessing files from the days 0-6 no matter what the day.

Ex: Sept 23 (9_23) is returning the file (9_2.htm) instead of the (9_23.htm) file.

Do I need to have it locate the current week?

A little help and I will be finished

Thanks
Spencer

Spin1197
09-24-2003, 04:38 AM
I guess I just posted a little too early.

I figured out the answer to all my questions...it was only a matter of trial and error

I tried to delete the post but the forum would not allow me

Thanks

Kor
09-24-2003, 08:09 AM
I am a beginner at Java and need to find a....

1. Java and JavaScript are two absolutely different languages, by code and by meaning.... even by origin...:-)

2. You problem does not mean you want to access a page, but to open a page which, even I am not a native English speaker, I believe it is not the same thing.

3. I am glad to hear you solved the problem, yet be careful on the future whith the accuracy of your questions...