Results 1 to 3 of 3

Thread: Preserving Frames - Javascript ????

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2002
    Location
    Outer space
    Posts
    97

    Preserving Frames - Javascript ????

    if i need to make sure that when ever a page loads it loads inside its framset and not by itself

    is there any code to do this ?

    or tutrorials on the web ?

    thanks
    optimus

    ie. to stop people linking to a specific page rather than to the main site without the navigation etc []

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    if(!window.parent)
    window.location.href = "framesetURL";
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Aug 2002
    Location
    Outer space
    Posts
    97
    safe m8 managed to sort that one out but i dont suppose there's n e chance of u havin a look at this 4 me ?

    many
    thanks
    optimus

    http://www.vbforums.com/showthread.p...hreadid=242867

Posting Permissions

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



Click Here to Expand Forum to Full Width