onceadored
09-14-2006, 12:31 AM
Hi! This is my first post. I have a question and I hope someone has an answer...
I run a website that uses an iframe. Let's say I want to post a link to my site with a specific document to load in the iframe... for instance... The webpage may be mysite.com and the main document in the iframe is home.htm... But I want the user to see the events.htm document in the iframe displayed first. The only thing I can think of is a specific URL. I hope I've clarified enough. Anyone have a clue?
in the IFRAME code, you should have the SRC part. that tells the iframe what webpage to show inside the iframe when the whole page is loaded up to start. sounds like you want to put SRC="events.htm" as the value in your iframe tag.
if that answer is off a bit, please post a link to your webpage in question and perhaps explain a bit further on what effect you are trying to do.
thanks.
onceadored
09-14-2006, 04:10 AM
in the IFRAME code, you should have the SRC part. that tells the iframe what webpage to show inside the iframe when the whole page is loaded up to start. sounds like you want to put SRC="events.htm" as the value in your iframe tag.
if that answer is off a bit, please post a link to your webpage in question and perhaps explain a bit further on what effect you are trying to do.
thanks.
I know how to target frames and tell it what to show at start-up. What I'm wanting to do is use a specific URL to open that same page with a different page in the iframe. It sounds weird.
What I want to do is have an info page. The info page has an iframe. Outside of the iframe there are different page links containing different information that is targeted to that iframe. The iframe automatically opens up with a welcome page.
On the MAIN page there is a link to one of the pages listed on the info page that is targeted to the iframe.
Instead of the link just going to the info page and the visitor then having to click on the link to open the document, I'd like the link on the main page to automatically open that page into the iframe. All of the information is still on the INFO page.
It sounds complex but I was hoping somone might know. LoL.
ah, ok... so you want to pass a value to the info page saying... THIS particular link was clicked to get to the info page so THAT page should be shown inside your iframe area.
is that the thought?
onceadored
09-15-2006, 10:27 AM
yes, i think that may be the way of it. LoL. You made it sound more simple than I did. Do you know how I might be able to do that?
i dont know if javascript is able to do it, but it for that idea, you would be best to get into using PHP coding. it is a serverside language that does all that and more.
it would be a bit much to do in postings, its best to get some learning in by books and sites first so you know what its doing and why.
or there may be a solution already if you do a search in the "advanced" form threads.