Html Help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • wethoney
    So Fucking Banned
    • Sep 2002
    • 1032

    #1

    Html Help

    I have a javascript that opens the "larger" version of a graphic up when clicked. The problem is if the person clicks on one of these "pop graphics" before the regular page loads the regular page won't finish loading and all of the animations stop. So if the surfer is a modem user their going to have a problem. It doesn't affect high speed users because the page will load fast enough before they get a change to click anything. Unless they are really fast

    Does anyone know how to fix this or another way to pop the graphics without this happening.

    You can view it at

    http://www.wethoney.com/beta/1.html

    Wethoney
  • Bad B0y
    Confirmed User
    • Aug 2002
    • 160

    #2
    I have not tested this at all but it should give you a good idea of what to do if in fact this does not work.

    Replace everything from the top of your page till by and including your 'body' tag with this:



    PHP Code:
    <HTML>
    <HEAD>
    <TITLE>Wet Honey Files</TITLE>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
    <SCRIPT language=javascript>
    var dn = 0;
    </SCRIPT>
    <SCRIPT LANGUAGE="JavaScript">
    <!-- Begin
    function doneLoaded() {
             dn = 1;
    }
    // End -->
    </script>
    <SCRIPT LANGUAGE="JavaScript">
    
    <!-- Begin
    function popup(URL) {
      if (dn==1){
        day = new Date();
        id = day.getTime();
        eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=300,height=400,left = 20,top = 20');");
      }
    }
    // End -->
    </script>
    <SCRIPT language=javascript>
    
    setInterval("window.status='http://wethoney.com - Wet Honey Girls are always ready join now!...'",5);
    
    </SCRIPT>
    </HEAD>
    <BODY BGCOLOR=#FFFFFF link="#6666FF" vlink="#6666FF" alink="#6666FF" LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 onLoad="doneLoaded()"> 
    
    Don't worry about the php bit, I just used it so that the html will be displayed correctly.

    Comment

    Working...