MSFN Forum: Display my webpage in frames - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Display my webpage in frames Rate Topic: -----

#1 User is offline   spacesurfer 

  • Pharmassist
  • Group: Patrons
  • Posts: 1,668
  • Joined: 31-July 04
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 01 September 2009 - 03:26 PM

Hello, all. I've searched google for this issue but I'm having trouble with terminology. I don't know what to call it to search for it.


I have my webpages in frames. The left frame is just a menu and the right frame is the main content. Now, I want to prevent people opening the right frame by itself. Is there a script that will check if the frame is loaded by itself?


#2 User is offline   -X- 

  • Member
  • Group: Patrons
  • Posts: 1,666
  • Joined: 08-January 04
  • OS:XP Pro x86
  • Country: Country Flag

Posted 01 September 2009 - 05:12 PM

Search for javascript frames parent.

#3 User is offline   ripken204 

  • The Hardware Guy
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 6,311
  • Joined: 23-December 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 04 September 2009 - 07:37 PM

http://webpages.charter.net
??

looking at this site i see no need for frames.
you could make things a bit better by getting rid of them.

#4 User is offline   spacesurfer 

  • Pharmassist
  • Group: Patrons
  • Posts: 1,668
  • Joined: 31-July 04
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 05 September 2009 - 09:14 AM

The reason I had frames was for the right side navigation menu. It was the same for all sites so I didn't want to put the same code on every page; and I wanted it fixed. I had trouble getting a fixed menu in IE, while it worked in Firefox.

What you saw is the latest version without the true frames. I got rid of the frames and placed an IFrame instead. That was a better solution, although now it's not fixed. It will be better for search engine indexing. (But I'm looking to host it on a domain rather than Charter.)

Also, I'm still learning HTML so it will take some time before for improvements. I just read about DIV blocks and I can probably use that instead of tables for my layout.

Thanks for visiting the site.

#5 User is offline   ripken204 

  • The Hardware Guy
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 6,311
  • Joined: 23-December 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 06 September 2009 - 08:01 PM

yes i was just about to suggest div tags.
you could then have a navigation file and include that into each page.

#6 User is offline   PC_LOAD_LETTER 

  • Well, I stole something else
  • Group: Super Moderator
  • Posts: 1,829
  • Joined: 13-October 07
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 06 September 2009 - 08:06 PM

1 line of php could fix this right up (assuming charter allows it -if they dont they suck)
<?php @include("leftframe.htm"); ?>


#7 User is offline   ripken204 

  • The Hardware Guy
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 6,311
  • Joined: 23-December 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 06 September 2009 - 08:11 PM

^^ exactly :)

#8 User is offline   spacesurfer 

  • Pharmassist
  • Group: Patrons
  • Posts: 1,668
  • Joined: 31-July 04
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 07 September 2009 - 07:36 AM

they don't. they suck. enough said.

(I'm adding more pages - on Mathematics. It's a slow process because of the equations and drawings.)

#9 User is offline   PC_LOAD_LETTER 

  • Well, I stole something else
  • Group: Super Moderator
  • Posts: 1,829
  • Joined: 13-October 07
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 07 September 2009 - 09:25 AM

you could use a javascript includes its a dirty backwards way to include html but since its depaendant on the browser and not the webhost, it should work regardless
http://webdesign.about.com/od/javascript/h...sincludehtm.htm

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy