Results 1 to 2 of 2

Thread: DHTML (js) - Accesing through onmouseclick - permissions?

  1. #1
    Member pode1's Avatar
    Join Date
    Dec 2002
    Location
    Córdoba-Argentina
    Posts
    52

    DHTML (js) - Accesing through onmouseclick - permissions?

    I´ve got a frameset with 2 pages on it.
    First one lists a set of files, each one should be accesed through a mouse click ... so far so good ...
    But only can be accesed those that had been downloaded from the net (!???!) Others are rejected with an error message "access denied" OR anything´s showed either, but a blank page!

    OBviously seems to be related to some permission issue , but both type has the same! Accesed and denied ones! Visitor´s permission I mean.

    Here´s the PHP code:
    echo " <td id='t$i' onclick= \"document.url= window.event.srcElement.innerText\"> i:\myfolder\mifile.htm <!-- this is innertext for the actual td tag, url to be opened --> </td>";


    Files are set in wwwroot folder ... where every file has a set of access/ deny rights.

  2. #2
    Ultimate Member
    Join Date
    Aug 2002
    Posts
    3,922
    try document.location.href instead of document.url.

Posting Permissions

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