Forum Moderators: phranque
We'd like to have a way for many different websites (let's call them 'A', 'B', 'C', etc.) to link to our website (let's call it 'Z'). The links would be fashioned so that a page from our website, 'Zpg1' for example, would open into a new target window (let's call that '_Zwindow').
Depending on which website (A,B,C, etc) called up '_Zwindow', we'd like 'Zpg1' to display using a unique style sheet - 'Astyle.css', 'Bstyle.css', etc. In other words, we'd like the pages from our website to look a bit different depending on whether they were linked to from 'A', 'B', 'C' etc, accordingly.
Then, if 'Zpg1' has links to 'Zpg2', 'Zpg3', etc [all still keeping focus in '_Zwindow'] can we use dynamic programing to make the correct style - 'Astyle.css' (or 'Bstyle.css' or 'Cstyle.css' etc) - persist onto pages 'Zpg2', 'Zpg3', etc, "automatically", without having to write a different file for each version ('Zpg2styleA', 'Zpg2styleB', etc, etc, etc!)?
Would dynamic programing allow us to do that? Do it easily? Please excuse my ignorance on this matter; finding out if this can be done would be very helpful to me! Thanks, all. I'm looking forward to your responces.
- Paul