stop pages breaking frame


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: stop pages breaking frame

  1. #1
    Join Date
    Nov 2008
    Posts
    3

    Unhappy stop pages breaking frame

    Hi, I am currently advertising my website through trafficswarm, who advertise your pages in a frame, when I started advertising my ste, they told me that my site was breaking frame, this means that my site cannot be displayed, please can you tell me what script i might need to stop the pages breaking frame

  2. #2
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,666
    How about something like
    Code:
    <script>
    if(top.location!=self.location)
    {
    top.location=self.location;
    }
    </script>
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

  3. #3
    Join Date
    Nov 2008
    Posts
    3

    Thumbs up cheers

    Thanks very much it worked!

  4. #4
    Join Date
    Nov 2012
    Posts
    1
    Pls i tried installing the code to my sub domain through ftp, but there was no changes. Please assist me on how to install the code.

    Thanks

Similar Threads

  1. Another Frame Question
    By Micah Nasarow in forum Web
    Replies: 1
    Last Post: 08-24-2001, 07:31 PM
  2. occasionally Asp pages stop to execute
    By Ajay in forum ASP.NET
    Replies: 0
    Last Post: 07-19-2001, 12:04 AM
  3. Frames--how do I stop frame breaking?
    By Matthew Hill in forum Architecture and Design
    Replies: 1
    Last Post: 04-25-2001, 04:43 PM
  4. VirtualQueryEx
    By MacDeath in forum VB Classic
    Replies: 2
    Last Post: 02-14-2001, 05:44 AM
  5. Replies: 2
    Last Post: 12-12-2000, 04:43 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center