href with Masked Domain

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Dennis

    #1

    href with Masked Domain

    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.fram es.Main.locatio n.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


  • kaeli

    #2
    Re: href with Masked Domain

    In article <GIqdnaZpj4cSbu PcRVn-sA@comcast.com> , dhearn10
    @NOSPAMPLEASE.c omcast.net enlightened us with...[color=blue]
    >
    > I have something like
    > documentID = <generate the name>
    > window.top.fram es.Main.locatio n.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?
    >[/color]

    What is the error you get? 404? 500?

    --
    --
    ~kaeli~
    If you don't pay your exorcist, you get repossessed.



    Comment

    Working...