iFrame question
iFrame question
Out of context: Reply #14
- Started
- Last post
- 21 Responses
- mg330
In each page destined for viewing in an iframe, you add this code in the HEAD.
script
/script
Of course add the < > tags to the script tags.
Where you see 'cframe' change it to the name of the destination iframe. Leave the rest of the script as is.
I don't know why it works. I'm sure there is some small tweak you could do to make the page open when it redirects.
Like I said, this solved my problem of needing content searchable, but the HTML page tha comes up in a search doesn't open as just an HTML page with text only. It redirects to the index.html of the site.