Results 1 to 4 of 4

Thread: Html Onclick Event

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Apr 2003
    Location
    Marysville, WA
    Posts
    112

    Question Html Onclick Event

    Is it possible to force the display of "another" htm file from an active one. That is, in htm file foo do something like IF (BAR) THEN SHOW XXX.HTM. This could be done off the ONCLICK event, but I have no idea of how to use it. Any help would be appreciated.
    Jim B

  2. #2
    Frenzied Member Acidic's Avatar
    Join Date
    Sep 2003
    Location
    UK
    Posts
    1,090
    You can show the other file (in an iframe or something), but you cannot run a script from it. Although, if it is a script that you want to run. then save the script in an external file and make both files read the same file. Then both files can run the functions.
    Have I helped you? Please Rate my posts.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Apr 2003
    Location
    Marysville, WA
    Posts
    112
    Acidic, thanks for the reply.
    I am very "green" with HTML and your response is beyond me. Not your fault, my fault. Any HTML code snipets would be helpful.
    Jim B

  4. #4
    Frenzied Member Acidic's Avatar
    Join Date
    Sep 2003
    Location
    UK
    Posts
    1,090
    Well. Could you please be a bit more specific in that case? What from the other page do you want it to do?
    Have I helped you? Please Rate my posts.

Posting Permissions

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



Click Here to Expand Forum to Full Width