Hi,
I have several hundred html links in a file "main.html" pointing to external websites. ie: "external.html"
When a user clicks an external link from within "main.html", I want to bring up "external.html" in all its glory, but with a banner / header across the top (I am guessing iframe is a good option) - so effectively the link will take us to "frame.html", with "banner.html" and "external.html" in an iframe (or alike).
The banner has to be populated with information specific for that "external.html" file.
ie: when they click on the link to "external_1.html", the header might have the text "external_1".
So, I am happy with doing this as a one off, but can't see the method to have a single 'onclick' script to pass the required information from "main.html" to "frame.html", and then for "banner.html" to be updated with the text passed from the 'onclick', and to know to call in the correct "external" to populate the iframe.
I will further complicate it by asking if it is possible to have all the scripting required contained within "main.html"?
Its a big ask - but I appreciate your help.
Cheers,
Matt