| | |
History troubles.
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Jun 2009
Posts: 1
Reputation:
Solved Threads: 0
I am making a site called theremote.ca
The question I have is this.
When a user visits my site evrything is done from the main page and the pages they visit change through frames.
They never actually leave the index page.
The problem I am having is the history. It is showing all pages they visited with me and of course if they choose to click one of them it will not take them back to index, it will take them directly to that page that should be appearing within the frame on the index page.
How do I adjust these pages so they will either show up in history only as theremote.ca or even better is there a way to make them NOT add themselves to the users browser history at all.
Desperate in ottawa.
Snapped
The question I have is this.
When a user visits my site evrything is done from the main page and the pages they visit change through frames.
They never actually leave the index page.
The problem I am having is the history. It is showing all pages they visited with me and of course if they choose to click one of them it will not take them back to index, it will take them directly to that page that should be appearing within the frame on the index page.
How do I adjust these pages so they will either show up in history only as theremote.ca or even better is there a way to make them NOT add themselves to the users browser history at all.
Desperate in ottawa.
Snapped
That is a limitation of frames. You can use a parameter for the page being loaded in the frame so history will cache that way. www.website.com?param=someothersite.com
In the "not index" pages in the index page a reference to set the frame src to the 'frame' parameter if set, or to the home page if not set
Or in php asp the same can be done serverside and never serve the pages outside of the frameset
html Syntax (Toggle Plain Text)
<script type='text/javascript'> if (self.location == top.location) { self.location='/index.html?frame=' + self.location; </script>
javascript Syntax (Toggle Plain Text)
//my scripting isnt this good if (frame != "") {document.getElementbyID('frame').src= frame;}
php Syntax (Toggle Plain Text)
<frameset bgcolor="#eeeeee" rows="120,0" frameborder="0" bordercolor="#eeeeee"> <frame name="Header" src="/head.html" frameborder="0" title="Header" scrolling="no" noresize> <?php If ($frame) {Echo '<frame name="Details" src="/' , $frame , '" frameborder="0" title="Details" Scrolling="auto" Noresize>'; } else {Echo '<frame name="Details" src="/home.html" frameborder="0" title="Details" Scrolling="auto" Noresize>'; } ?> </frameset>
Last edited by almostbob; Jun 29th, 2009 at 1:46 pm.
Failure is not an option It's included free
If at first you dont succeed, join the club
Of course its always in the last place you look, you dont keep looking after you find it
Please mark solved problems, solved
If at first you dont succeed, join the club
Of course its always in the last place you look, you dont keep looking after you find it
Please mark solved problems, solved
![]() |
Similar Threads
- delete computer history (Windows NT / 2000 / XP)
- Delete History (Viruses, Spyware and other Nasties)
- clearing homepage history (Web Browsers)
- delete history (Windows NT / 2000 / XP)
Other Threads in the HTML and CSS Forum
- Previous Thread: div scroll bar not working with overflow: auto
- Next Thread: Quick Check Missing Tag
| Thread Tools | Search this Thread |
appointments asp background backgroundcolor beta browser bug calendar cart cgi code codeinjection corporateidentity css design development displayimageinsteadofflash dreamweaver emailmarketing epilepsy explorer firefox flash form format google griefers hackers hitcounter hover html ide ie7 ie8 iframe image images internet internetexplorer intranet iphone javascript jpeg layout macbook maps marketshare microsoft mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization pnginie6 positioning problem scroll seo shopping studio swf swf. textcolor timecolor titletags url urlseparatedwords visual visualization web webdevelopment webform website windows7






