Lunarpages Web Hosting Forum

Author Topic: pop-up problems  (Read 2615 times)

Offline rubix333

  • Intergalactic Cowboy
  • *****
  • Posts: 53
    • http:// coming soon!
pop-up problems
« on: August 14, 2001, 10:03:00 AM »
i'm using javascript to make a popup window on my site. when i upload my files the window pops up all right, but the content never loads and it makes that "clicking" sound, making it seem like its trying to reload it again and again. it seems like its trying to load an ad banner for both the parent window and the pop-up, but fails.  also, the source in the pop-up isn't the source in my file.  it is as follows:

<HTML>
<HEAD>
   <TITLE></TITLE>
   <META NAME="keywords" CONTENT="">
   <META NAME="description" CONTENT="">
<SCRIPT>
<!--
if(top!=self)
top.location.href=self.location.href;
//--->
</SCRIPT>
</HEAD>
<FRAMESET  ROWS="100%,*" FRAMBORDER="no" FRAMESPACING="0">
    <FRAME NAME="KICKME_MAIN" SRC="http://65.204.170.131/rubixlab/" MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING="auto" FRAMEBORDER="0">
    <FRAME NAME="AD_BOTTOM" SRC="/ad.html" MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING="auto" FRAMEBORDER="0">
</FRAMESET>
<NOFRAMES>
Click <a href="http://65.204.170.131/rubixlab/">here</a> to enter the  website.
</NOFRAMES>
</HTML>

the code that SHOULD be in the file and SHOULD load in the popup is as follows:

<html>
<head>
<title>rubixlab | links</title>
</head>
<body bgcolor="#000066">
<form method=POST onSubmit="window.open(this.elements[0].options[this.elements[0].selectedIndex].value,'_self'); return(false)">
        <div align="left">
          <select name="select" onChange="window.open(this.options[this.selectedIndex].value,'blank')" style="background-color:#000066; border-style:1px; font-size: 9; color: #0066CC; font-family: arial">
            <option selected>/ links</option>
            <option>........................</option>
       <option>/ blogs </option>
       <option>........................</option>
       <option value="www.mococoa.com/gossipclub">gossip club</option>
            <option value="www.mococoa.com">flying teapot</option>
            <option value="http://armaniboi.blogspot.com">ArmaniBoi</option>
            <option value="http://members.home.net/daznsun/index.html">dazn.net</option>
       <option>........................</option>
            <option>/ humor </option>
       <option>........................</option>
       <option value="http://www.dilbert.com/comics/dilbert/archive/">dilbert</option>
       <option value="http://www.theonion.com">the Onion | satire</option>
            <option value="http://www.nationalenquirer.com">National Enquirer</option>
       <option>........................</option>
            <option>/ dsgn </option>
       <option>........................</option>
            <option value="http://www.threeoh.com">three.oh</option>
            <option value="http://www.h73.com">h73</option>
            <option value="http://anamorph.wddg.com">anamorph</option>
            <option value="http://www.2advanced.com">2advanced</option>
       <option value="http://www.dform1shiftfunc.net">dform(one)shiftfunc</option>
            <option value="http://www.designgraphik.com">designgraphik</option>
       <option>........................</option>            
       <option>/ tools </option>
       <option>........................</option>
            <option value="http://download.cnet.com/downloads/0-1896420-108-76172.html?bt.48575.185">morpheus | p2p</option>
            <option value="http://www.sun.com/forte/ffj/buy.html">Forte for Java | free</option>
       <option value="http://www.blogger.com">BLOGGER</option>
       <option value="http://www.adobe.com/products/acrobat/readstep2.html">acrobat reader</option>
          </select>
        </div>
      </form>
</body>
</html>

is there a way to fix/work around this problem until the new pay hosting plans come out?

Offline Ice

  • Galactic Royalty
  • *****
  • Posts: 232
    • http://www.lunarpages.com/fsgin
pop-up problems
« Reply #1 on: August 14, 2001, 10:17:00 AM »
Hi,

I'm assuming the html file you want to load in your popup is called links.html. Same thing you described happened to me too when I tried your code.

How about trying this simple popup script instead? I tried it and it works for me. Just place this in the <BODY> of your index page or something and your links.html will popup. Adjust size to your needs.

code:
 <script>
function openpopup(){
var popurl="links.html"
winpops=window.open(popurl,"","width=400,height=338,")
}
openpopup()

</script>



Hope that helps.  
Flipside Gin
A site for Cases ladder gin players at Flipside.com
 http://www.lunarpages.com/fsgin

Offline rubix333

  • Intergalactic Cowboy
  • *****
  • Posts: 53
    • http:// coming soon!
pop-up problems
« Reply #2 on: August 15, 2001, 12:54:00 AM »
thanks ice! that works perfectly.