Say I have a main page called advertisement html and a iframe on a templet page. I need to get a page within the site call add_pages to load into the frame when ever the advertisement page is loaded. I to have several other pages load into the iframe whenever there page loads if that makes sence.

you could use a javascript to load the iFrame src based on the page you are loading....something like a javascript switch statement.

Say I have a main page called advertisement html and a iframe on a templet page. I need to get a page within the site call add_pages to load into the frame when ever the advertisement page is loaded. I to have several other pages load into the iframe whenever there page loads if that makes sence.

I didn't get what you wanted to say!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.