June 19, 200818 yr Hi folks, I've got what I think is a relatively simple problem; I have a ul with multiple li links that I want to point to a page with an iframe. The only difference between each is the destination iframe url. What is the best way to code this? I have a total of 16 li links and would prefer not to have a webpage for each. http://www.bjmarine.net/newsite/index.html shows a set of 4 li in a ul on the left hand side under featured boats which currently each link to a different page with an iframe. This is an example of what I want to streamline. I am familiar with Java and C#, but it's been a while and would really like some help. Thanks for your input in advance! Denis
June 19, 200818 yr That could be a job for a php script ... short description: - you have a database + a table that stores this information; - you have a php script that builds the ul > li > link (s) by reading info from the database and echo-ing to the html; (links are like >> bjmarine.net/newsite/used/feature.php?id=1) - you have the feature.php that generates the html (including the iframe) by querying the database again but this time for a single record; If you don't want to use php+mysql you could use javascript+xml but that's another story
June 20, 200818 yr Author Thanks for the input. I'm trying to do this as simply as possible because it's the only instance of an issue like it across the site and I have no php experience.
Create an account or sign in to comment