|
| |
Is There An Onload Script for Automatic Page Positioning In Frame
View related threads:
(in this forum
| in all forums)
|
Logged in as: Guest
|
|
|
Creemo
Posts: 42 Joined: 1/30/2007 From: Michigan, US Status: offline
|
Is There An Onload Script for Automatic Page Positionin... - 1/30/2007 4:30:41
I am using an IFrame in a page to access another page that has 4 IFrames in a vertical column. When my page finishes loading the page that contains the 4 frames doesn't end up in its top-most position. Is there any onLoad javascript or otherwise that could be used to command the page to return to the top or maybe an auto navigation script to return page to #bookmark1 once its finished loading? I've already tried using the bookmark in the URL that the main frame calls out...it didn't help. The URL is: http://www.michaelwryan.com/profile_tmp.html You may need to hit the refresh button a few times to get the navigation buttons to finally come into view. Once you click on one of the buttons then the page orients correctly. I'd truly appreciate any help available...(and, I know that many are dead set against the use of frames but I've got my heart set on that format).
< Message edited by Creemo -- 1/30/2007 21:46:14 >
|
|
|
|
Creemo
Posts: 42 Joined: 1/30/2007 From: Michigan, US Status: offline
|
RE: Is There An Onload Script for Automatic Page Positi... - 1/30/2007 18:53:20
Hi Sally, Thank you so much for your reply. Being a brand new member to this forum I wasn't sure if I'd get any immediate responses. I had previously considered the solution that you suggested but my only drawback was that I wanted the navigation menu bar to change appearances as well, you know...like showing the tab for the appropriate page that is being viewed. Is there another way to accomplish that as well? Creemo
|
|
|
|
Creemo
Posts: 42 Joined: 1/30/2007 From: Michigan, US Status: offline
|
RE: Is There An Onload Script for Automatic Page Positi... - 1/30/2007 19:54:41
Sally, Thank you so much for the most kind "Welcome" greeting as well. A couple other items that I hadn't mentioned is: That particular page is being constructed to replace a temporary page that I just threw together to occupy until the permanent page was done. The puzzling thing about it is...the temporary page is set-up the exact same way, except for the fancy navigation buttons, but the temporary page works just fine! I'm not sure if the buttons have something to do with it or not. The other thing I wanted to mention is the reason I chose to go with the multiple IFrame format is for the ease and efficiently quick page changing advantages. I personally always liked it when a page change responds immediately to my mouse click, and that's kinda what I was shooting for with this. Here is the URL for the page that is currently being used: http://www.michaelwryan.com/profile.html
|
|
|
|
Creemo
Posts: 42 Joined: 1/30/2007 From: Michigan, US Status: offline
|
RE: Is There An Onload Script for Automatic Page Positi... - 1/30/2007 20:41:54
Thanks Sally, I've truly appreciated your cordial replies. I had no indication that the current page did not load correctly in Firefox either. So I am really glad that you've informed me of that. I will most likely take your suggestions, especially since finding out about the currect page issues in other browsers. You've been most helpful and I hope we can discuss other topics in the future! JR
|
|
|
|
Creemo
Posts: 42 Joined: 1/30/2007 From: Michigan, US Status: offline
|
RE: Is There An Onload Script for Automatic Page Positi... - 2/13/2007 10:54:01
Sally, I don't know if you've been back to see the page lately but I think for now this maybe a good temporary fix. http://www.michaelwryan.com/profile.html Unfortunately I don't currently have another web browser, besides IE, to view the page with. So, if there is a chance, do you think you could take another look at it and let me know if the page now loads at the top? I am still looking into the "Z" index thing as well as layering. Take care and thank you in advance. JR
< Message edited by BobbyDouglas -- 2/18/2007 18:50:00 >
|
|
|
|
Creemo
Posts: 42 Joined: 1/30/2007 From: Michigan, US Status: offline
|
RE: Is There An Onload Script for Automatic Page Positi... - 2/16/2007 2:52:16
Hi Sally, Good to see your reply. I'm relieved to know that page now loads correctly. http://www.michaelwryan.com/profile.html Thank you for checking it out again. JR
< Message edited by BobbyDouglas -- 2/18/2007 18:49:26 >
|
|
|
|
Creemo
Posts: 42 Joined: 1/30/2007 From: Michigan, US Status: offline
|
RE: Is There An Onload Script for Automatic Page Positi... - 2/16/2007 16:31:45
In continuance with this topic...if anyone has the Opera Browser installed on their computer, would you like to check out the following page link to make sure the pages in the IFrame load correctly (at the top of the contained pages, instead of in the middle as before)?! http://www.michaelwryan.com/profile.html I'd really appreciate it if someone could do that!!! Thanks, JR
< Message edited by BobbyDouglas -- 2/18/2007 18:49:40 >
|
|
|
|
kali
Posts: 4 Joined: 4/16/2007 Status: offline
|
RE: Is There An Onload Script for Automatic Page Positi... - 4/16/2007 22:25:50
I've got almost the same issue and am looking for a solution. I have a site that is design to be dropped into different headers so that it appears to be different sites. The idea is that the lower content is rearranged depending on who's storefront matches the header. There are only two stores now but I'm adding more. The problem is that as products are added some pages have become very long, When going from the bottom of a long page to a short page, with both loaded into the same iframe, you end up at the bottom of a screen that looks blank because the actual content is 2000 pixels up! I'm an artist really, not a great coder, these sites are to sell my products through the people I design them for. I need to either 1.) be able to set the page size from within the child page (the page loaded into the iframe). I can set it close. It doesn't have to auto adjust to the exact size. 2.) make my pages load at the top of the screen. Any help wopuld be greatly appreciated. <edit user request>
< Message edited by Spooky -- 5/23/2007 16:48:26 >
|
|
|
|
kali
Posts: 4 Joined: 4/16/2007 Status: offline
|
RE: Is There An Onload Script for Automatic Page Positi... - 4/16/2007 23:06:15
I just realized I could solve this be rearchitecting the site to have the headers use webbot bot="Include" to include the pages I was putting in frames, then just call the renamed header pages in the same way I was calling the pages that were previously in the frames. This way for each new site, I can just build the headers and use includes to include the code from the other site, I think?? There's probably a reason this won't work... or is there... It's not what I wanted but it solves the page scroll and page resizing problems that have been dogging me for days now. I would still much rather have the other solution.....
|
|
|
|
kali
Posts: 4 Joined: 4/16/2007 Status: offline
|
RE: Is There An Onload Script for Automatic Page Positi... - 4/17/2007 8:35:47
OK - somehow posting here seems to have given me an awakening - but I've just decided FRAMES BLOW! I redid the portion of this site that was having so many frame issues. I used includes. Every problem is now gone. It took 30 minutes. I've spent at least 4 hours trying to find ways to autosize or page position to make up for the shortcomings of frames to come to the realization that everyone using them is having problems. There are also other issues with unwanted scrolling within frames when you use a margin and phantom cursors, at least in IE. And everything I could do with a frame I can do with includes and a few other tricks. And look frames even has me joining forums and talking to myself! My god! Kali....
|
|
|
|
kali
Posts: 4 Joined: 4/16/2007 Status: offline
|
RE: Is There An Onload Script for Automatic Page Positi... - 5/4/2007 2:44:31
It get's better than talking to myself. According to MSN the only place the website exists is in this forum! Thanks for the welcomes! The site officially opens next week probably May 9th. About 2 days later than expected due to a delay in getting credit card processing up and running. Be sure to check out the store. - K
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|