Currently I am selecting PDF files using 2 drop down menu's. The first is YEAR, and the 2nd is MODEL. I am using a Java script that changes the contents of the MODEL drop down when the YEAR drop down has been selected.
However, I have been using a frames based setup and loading these PDF doc's into the frame below the header frame in which the selection drop downs exist.
This setup works fine however I am now adding external links now from the PDF files to other pages with in my website. Because the lack of PDF's ability to use the link target _parent, it loads the new page in the frameset.
I'm looking for a new way of implementing this with PHP / MySQL or even a PHP / Javascript combination. My only main goal is that the PDF files are embedded instead of drawn from a frameset.
The only way I can think of doing this is having a PHP page that refreshes on itself with the new output selected by the user.
Example:
User comes to page selection page
User selects Year 2003... Model 1
Script runs... Embeds PDF /2003/Model1.pdf
If anyone has any ideas on the best way to implement this I would appreciate it. I'm looking for the cleanest and easiest way to do this.
Thanks!