google search iframe

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tequilamala
    New Member
    • Aug 2007
    • 15

    google search iframe

    I have an iframe on one of the pages. I use it to not have to refresh the entire page when someone clicks on a link. However I put the website on google and when you search for the website the iframes come out. How do i stop the iframes from showing up on the google search? the website is escamillalaw.co m.... google law office of cesar escamilla and youll see what im talkin about.
  • tequilamala
    New Member
    • Aug 2007
    • 15

    #2
    Ok i kinda fixed the problem... on all my iframe pages i applied this code

    Code:
    <SCRIPT LANGUAGE="JavaScript"> 
    <!-- Begin 
    if (window == top) top.location.href = "default.htm"; 
    // End --> 
    </script>
    However this created another problem... the back button on my internet explorer doesn't work but it works fine on mozilla. any suggestions on how to fix this?

    Comment

    • drhowarddrfine
      Recognized Expert Expert
      • Sep 2006
      • 7434

      #3
      I'm not a javascript guy but minor correction. This should be:
      <script type="text/javascript">

      Comment

      Working...