href with Masked Domain

D

Dennis

I have a domain name I just purchased and forwarded
it to my ISP (free) web server. The forwarding works
as expected and gets me to my home page. The links
written in HTML (anchors) work as expected, using
a relative name (i.e., "main.html" without the domain
name preceeding it).

One of the links is dynamic, leading to a subpage based
on date, and is written in javascript. The script works
if the page is on my local disk and if I use the ISP's address
to get to the page, but not if I use the forwarded name.

I have something like
documentID = <generate the name>
window.top.frames.Main.location.href= documentID;

documentID is a relative name (i.e., "main.html"). Again, it
works if I get to the page via my ISP address, but not the
forwarded address.

Any Help?

Thanks,

Dennis
 
K

kaeli

dhearn10 said:
I have something like
documentID = <generate the name>
window.top.frames.Main.location.href= documentID;

documentID is a relative name (i.e., "main.html"). Again, it
works if I get to the page via my ISP address, but not the
forwarded address.

Any Help?

What is the error you get? 404? 500?

--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top