Hey Guys,
I'm working with a html that has a navigation bar that I would like to pull out into another file and reuse. I've tried using server-side includes but I found that the onClick event don't seem to be able to cross page boundaries. That is the onclick event can only be captured by javascript that exists in the navigation-bar file and not in a file that includes this script. Is there anyway around this?
Sonny.
I'm working with a html that has a navigation bar that I would like to pull out into another file and reuse. I've tried using server-side includes but I found that the onClick event don't seem to be able to cross page boundaries. That is the onclick event can only be captured by javascript that exists in the navigation-bar file and not in a file that includes this script. Is there anyway around this?
Sonny.