|
-
Feb 23rd, 2005, 10:36 PM
#1
Refresh page with an iFrame.
I have an iFrame on my page. It is my forum that is in that iFrame at the moment. But the problem is that if you are in a thread or in a section on the forum. And I refresh the whole page, it will again load the index file for the forum in the iFrame.
Any way around this?
http://noteme.com/forum.php
ØØ
-
Feb 24th, 2005, 01:03 AM
#2
Re: Refresh page with an iFrame.
Where do you want to refresh the IFRAME from? From inside the IFRAME or from the parent page?
-
Feb 24th, 2005, 01:08 AM
#3
Re: Refresh page with an iFrame.
Ehhhem.....
If you look at this sample page:
http://www.noteme.com/forum.php
you will see the forum (that is now white, will not be so for long.. ), if you click around in that forum, and read a thread or what ever. And you then press F5 in your browser. Then you refresh the whole page, and the forum goes back to the index.php page. I would like it to stay in the thread or section or where ever it was.
ØØ
-
Feb 24th, 2005, 01:29 AM
#4
Re: Refresh page with an iFrame.
That's normal behavior. If there is a way around this, it's going to be complex. You'd have to store the URL clicked on inside the IFRAME into a variable outside the IFRAME and do a check on it each time... I believe. AND make sure that it's persisting on refreshes. Not worth the hassle.
The first thing you're doing dumb is putting the entire forum into an IFRAME. Why not modify the header of that forum and add whatever relevant links you want there?
-
Feb 24th, 2005, 01:36 AM
#5
Re: Refresh page with an iFrame.
It's not dumb...
I saw this page had done it (at least more or less):
http://www.css-tla.com/?a=board
and found the idea amusing. But I was affraid that the refresh thingy was a bit hard to accomplish. Like storing the URL, guess I will have to put the URL idea on ice a bit. I am not that good in JS (I guess that is the way to do it) at the moment, to pull that off.
ØØ
-
Feb 24th, 2005, 01:44 AM
#6
Re: Refresh page with an iFrame.
 Originally Posted by NoteMe
No they haven't.
-
Feb 24th, 2005, 01:48 AM
#7
Re: Refresh page with an iFrame.
 Originally Posted by mendhak
No they haven't.
They didn't use an iFrame. They did build the page around the forum. I just tried to do it the simple way since my page was all ready more or less up and runnning...
-
Feb 24th, 2005, 01:53 AM
#8
Re: Refresh page with an iFrame.
I don't know about mercury board, but with others like phpbb or vbull, you can work with the main pages and include your 'menu' pages on the left and top however you feel like. Takes time, patience, and yes, you have to be careful (That means NO spelling mistakes!)
-
Feb 24th, 2005, 01:58 AM
#9
Re: Refresh page with an iFrame.
Yes, I can edit the templates with Mercury board to. But it will take ages. That was what I hoped I didn't have to do. Guess I have to quit spelling running with 3 n's and so on to make it work.
Well thanks for you time. Very greatfull.
ØØ
-
Feb 24th, 2005, 02:07 AM
#10
Re: Refresh page with an iFrame.
Grateful*
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|