Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Window in a window?

  1. #1
    Join Date
    Nov 2006
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Window in a window?

    im kinda new at the html/xhtml code stuff but i know there is a way to have a window on ur main page and when u click a link rather then loading a new page in the browser it loads in a window.. so u can have all ur links and such on one index and have them load the new pages on that page.. much like a text area box thing.. but a page.. does anything i said make sence?

  2. #2
    Join Date
    Nov 2006
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    this is an example of what im talkin about.. http://www.solarfields.com/sf.html

    i looked in windows/frame part od DynamicDirve and i thought once i saw the codes but i cant find them now.

  3. #3
    Join Date
    Sep 2005
    Location
    India
    Posts
    1,627
    Thanks
    6
    Thanked 107 Times in 107 Posts

    Default

    This can be done using frames.

    Using frames we can load multiple pages in various postions it will look as if they are a single page.

  4. #4
    Join Date
    Nov 2006
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Is that the Iframe thing?

  5. #5
    Join Date
    Sep 2005
    Location
    India
    Posts
    1,627
    Thanks
    6
    Thanked 107 Times in 107 Posts

    Default

    You can do it normal frames doesn't need IFrame

  6. #6
    Join Date
    Nov 2006
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    got a link to some simple codes i can pick apart? or are there some on Dynamicdrive i just seein?

  7. #7
    Join Date
    Sep 2005
    Location
    India
    Posts
    1,627
    Thanks
    6
    Thanked 107 Times in 107 Posts

    Default

    Check this for the introduction to frames

  8. #8
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by codeexploiter
    Check this for the introduction to frames
    Why am I not surprised that they neglect to mention the problems associated with frames.

    There are relatively few justifications for frames. Unless a navigation menu is enormous (for example, the class list for the Java API), it's unlikely that it should be separated.

    Mike

  9. #9
    Join Date
    Nov 2006
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks a ton.. ill play with that some and see what i can do.. im still a little confused as to how i put a link on a page next to the frame and hae it load the new page in the frame.. but im sure ill figure it out.

  10. #10
    Join Date
    Jul 2006
    Location
    Antwerp, Belgium (Europe)
    Posts
    927
    Thanks
    121
    Thanked 2 Times in 2 Posts

    Default

    in your menu place this:
    <a href="name.html" target="same">me</a>

    target refers to where "name.html" has to be shown when clicked on; in this case in the <iframe>

    code <iframe>:
    <iframe src="othername.html" name="same" frameborder=0 width=160 height=95 scrolling=no></iframe>

    ("othername.html" is the name of the page that will load when page where the <iframe> is in opens)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •