Results 1 to 3 of 3
Thread: a problem with frames
Jun 13, 2007, 11:03 #1
- Join Date
- Jun 2007
- 0 Post(s)
- 0 Thread(s)
a problem with frames
I want to put an iframe (or a frame) in a page on my website, with the content in the iframe coming from another website. But I want the entire page to reload when (1) anyone clicks on any link in the iframe, and (2) anyone clicks on any button (after submitting a form) in the iframe.
Then why am I using an iframe? Well, that is a channel on my site being powered by the other site. So the look and feel should be mine, but the block in the iframe comes from them.
Is there any way to do this?
and get every hyperlink on the other site look like this:
<a href="whatever" onclick="doThree('newpage1.html','newpage2.html','newpage3. html')">ONE LINK changes all frames</a>
The hassle is, they might crib about having to recode a zillion <a href> tags. So is there any way that this could be done in the CSS of the other site itself, by making every hyperlink (anchor tag) automatically run that onclick function, so that I do not have to worry about the manual effort of re-hardcoding several <a href>s, and the missing out that might happen?
I would really, really appreciate any pointers - either a solution to what I asked, or a completely different approach altogether .
Again, I would want the frames belonging to my content (as opposed to the frame containing their content) to reload even when someone clicks on a submit button.
Thank you for reading this through!