SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    ♪♪ ♪ ♪ ♪ ♪♪ ♪ ♪♪ Markdidj's Avatar
    Join Date
    Sep 2002
    Location
    Bournemouth, South UK
    Posts
    1,551
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    intro page forwarding working differently online

    I use this to check my site....

    c1=top.location.href.indexOf("mysite.com")
    c2=top.location.href.indexOf("index.html")
    c3=top.location.href.indexOf("nextpage.html")
    if ((c1==-1)||((c2==-1)&&(c3==-1))){top.location.href = "index.html"}

    works on my comp, but not on my site , why? I'm sure somone knows this!!
    LiveScript: Putting the "Live" Back into JavaScript
    if live output_as_javascript else output_as_html end if

  2. #2
    ♪♪ ♪ ♪ ♪ ♪♪ ♪ ♪♪ Markdidj's Avatar
    Join Date
    Sep 2002
    Location
    Bournemouth, South UK
    Posts
    1,551
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    that's not the mistake. I'll have to keep looking

    that's not he mistake, as the intro page uses the same function and works properly.....looks like I have to keep looking
    LiveScript: Putting the "Live" Back into JavaScript
    if live output_as_javascript else output_as_html end if


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •