Results 1 to 4 of 4

Thread: Popup help

  1. #1
    Join Date
    Oct 2004
    Location
    Berlin
    Posts
    23
    Rep Power
    0

    Popup help

    i've got some problem with my popup in my site..

    aright heres my problem..

    when i put 2 "ONLOAD=" in the <body> tag the second one wont work..

    for example :- the second onload="doPopUp()" wont work
    <BODY leftMargin=0 background=image/bg.gif topMargin=0
    marginwidth="0" marginheight="0" ONLOAD="preloadImages();" onload="doPopUp()">
    how do i fix this ??

  2. #2
    Join Date
    Jun 2001
    Location
    Mystic Kingdoms
    Posts
    2,749
    Rep Power
    274
    how many ONLOAD daa?
    i see there's 2 ONLOAD function .. conflict kot?

    ermm please paste the total/full code here..

  3. #3
    Join Date
    Oct 2004
    Location
    Berlin
    Posts
    23
    Rep Power
    0
    theres 2 onload function..

    <HTML>
    <HEAD>
    <!-- ================================================== ======================================== -->
    <!-- GunBound.com.my - Neox2 -->
    <!-- All rights reserved and content copyrighted (c) 2004 - 2005 GunBound.com.my - Neox2 -->
    <!-- Feel free to browse all of our code, but ripping is prohibited -->
    <!-- ================================================== =========================================-->
    <TITLE>GunBound.com.my - Malaysia's First GunBound Community Site</TITLE>
    <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <META name="keywords" content="GunBound, Gunbound Malaysia, GBMY, gbmy, gb malaysia, malaysia, malaysia community, my community, gunbound community, gb community, gunbound malaysia community, gunbound my, trico, nak, boomer, j.d, ice, turtel, armor, dragon, knight, roan, aduka, a.sate, grub, mage, lightning, bot, mobiles, worms, online game, worms online, gunbound online, gb online, gunbound fansite, gunbound fan, gb fansite, gb fan, gb forum, gunbound forum, gunbound fan forum, gunbound guide, gunbound tips, softnyx, korea online game, softnyx gunbound, shooting, pictures">
    <META name="description" content="GunBound.com.my - Malaysia's first GunBound Community Site. Information of GunBound, Tips, Tricks, Wallpaper, Guide, Forum, Contact. GBMY. ">
    <META name="Language" content="English">
    <META name="resource-type" content="document">
    <META name="distribution" content="Global">
    <META name="copyright" content="Copyright (c) 2004 - 2005 Neox2">
    <META name="robots" content="Index,Follow">
    <META name="rating" content="General"><LINK
    href="gbmy.css" type=text/css rel=stylesheet>
    <SCRIPT language=JavaScript>
    <!--
    ns = (document.layers)? true:false
    ie = (document.all)? true:false
    //-->
    </SCRIPT>
    <SCRIPT TYPE="text/javascript">
    <!--

    function newImage(arg) {
    if (document.images) {
    rslt = new Image();
    rslt.src = arg;
    return rslt;
    }
    }

    function changeImages() {
    if (document.images && (preloadFlag == true)) {
    for (var i=0; i<changeImages.arguments.length; i+=2) {
    document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
    }
    }
    }

    var preloadFlag = false;
    function preloadImages() {
    if (document.images) {
    navbar_home = newImage("image/navbar_home.gif");
    navbar_about = newImage("image/navbar_about.gif");
    navbar_forum = newImage("image/navbar_forum.gif");
    navbar_guide = newImage("image/navbar_guide.gif");
    navbar_faq = newImage("image/navbar_faq.gif");
    navbar_gallery = newImage("image/navbar_gallery.gif");
    navbar_affiliate = newImage("image/navbar_affiliate.gif");
    navbar_contact = newImage("image/navbar_contact.gif");
    preloadFlag = true;
    }
    }

    // -->
    </SCRIPT>
    <script>

    // PopUp Maker 5.0 by CodeBrain.com
    // PopUp Window Script
    // Place this script in the <head> of your page.

    var doPopUpX = (screen.width/2)-192;
    var doPopUpY = (screen.height/2)-75;
    var pos = "left="+doPopUpX+",top="+doPopUpY;

    function doPopUp(){
    doPopUpWindow = window.open("notice1.htm","Notice1","width=384,hei ght=150,"+pos);
    }

    </script>

    </HEAD>

    <BODY leftMargin=0 background=image/bg.gif topMargin=0
    marginwidth="0" marginheight="0" ONLOAD="preloadImages();">
    <body onload="doPopUp()">
    <TABLE cellSpacing=0 cellPadding=0 width=760 align=center border=0>
    <TBODY>
    <TR>
    <TD width=760><A href="http://gunbound.com.my/"><IMG height=250
    src="image/header.jpg" width=760
    border=0></A></TD></TR></TBODY></TABLE>
    <TABLE cellSpacing=0 cellPadding=1 width=673 align=center border=0>
    <TBODY>
    <TR>
    <TD width=764 bgColor=#0084A5>
    <img NAME="navbar" border="0" src="image/navbar.gif" width="758" height="52" useMap=#navbar></TD></TR></TBODY></TABLE>
    <TABLE cellSpacing=0 cellPadding=0 width=760 align=center border=0>
    <TBODY>
    <TR>
    <TD width=760 bgColor=#0084A5>
    <TABLE cellSpacing=0 cellPadding=0 width=758 align=center border=0>
    <TBODY>
    <TR>
    <MAP NAME="navbar">
    <AREA SHAPE="rect" ALT="Contact" COORDS="662,0,758,51" HREF="contact"
    ONMOUSEOVER="changeImages('navbar', 'image/navbar_contact.gif'); return true;"
    ONMOUSEOUT="changeImages('navbar', 'image/navbar.gif'); return true;">
    <AREA SHAPE="rect" ALT="Affiliate" COORDS="590,0,654,51" HREF="affiliate"
    ONMOUSEOVER="changeImages('navbar', 'image/navbar_affiliate.gif'); return true;"
    ONMOUSEOUT="changeImages('navbar', 'image/navbar.gif'); return true;">
    <AREA SHAPE="rect" ALT="Gallery" COORDS="496,0,583,51" HREF="gallery"
    ONMOUSEOVER="changeImages('navbar', 'image/navbar_gallery.gif'); return true;"
    ONMOUSEOUT="changeImages('navbar', 'image/navbar.gif'); return true;">
    <AREA SHAPE="rect" ALT="FAQ" COORDS="398,0,490,51" HREF="faq"
    ONMOUSEOVER="changeImages('navbar', 'image/navbar_faq.gif'); return true;"
    ONMOUSEOUT="changeImages('navbar', 'image/navbar.gif'); return true;">
    <AREA SHAPE="rect" ALT="Guide" COORDS="302,0,390,51" HREF="guide"
    ONMOUSEOVER="changeImages('navbar', 'image/navbar_guide.gif'); return true;"
    ONMOUSEOUT="changeImages('navbar', 'image/navbar.gif'); return true;">
    <AREA SHAPE="rect" ALT="Forum" COORDS="199,0,294,51" HREF="http://forum.gunbound.com.my" TARGET="_blank"
    ONMOUSEOVER="changeImages('navbar', 'image/navbar_forum.gif'); return true;"
    ONMOUSEOUT="changeImages('navbar', 'image/navbar.gif'); return true;">
    <AREA SHAPE="rect" ALT="About" COORDS="107,1,190,51" HREF="about"
    ONMOUSEOVER="changeImages('navbar', 'image/navbar_about.gif'); return true;"
    ONMOUSEOUT="changeImages('navbar', 'image/navbar.gif'); return true;">
    <AREA SHAPE="rect" ALT="Home" COORDS="0,0,98,51" HREF="index.htm"
    ONMOUSEOVER="changeImages('navbar', 'image/navbar_home.gif'); return true;"
    ONMOUSEOUT="changeImages('navbar', 'image/navbar.gif'); return true;">
    </MAP>
    <DIV class=btext align=center><IMG height=16 src="image/bottom_line.gif"
    width=760><BR><a href="disclaimer">Legal Disclaimer</a> | <a href="policy">Privacy
    Policy</a> | <a href="terms">Terms
    of Use</a> | <a href="support">Support us</a> | <a href="affiliate">Affiliate</a><br>
    Copyright 2004 - 2005 GunBound.com.my - Neox2, All Rights Reserved.<br>
    Dropping bombs on your mom since 30th Nov. 2004
    </DIV>
    <p><img border="0" src="image/neox2.jpg" width="88" height="51"></p>
    </BODY>
    </HTML>

  4. #4
    Join Date
    Aug 2004
    Location
    Kuching, Sarawak
    Posts
    27
    Rep Power
    0
    "<BODY ONLOAD="preloadImages();" onload="doPopUp()">"
    Macam tok sepatutnya,
    <BODY ONLOAD="preloadImages();doPopUp()"> atau
    <BODY ONLOAD="preloadImages()">
    <BODY ONLOAD="doPopUp()">
    http|//www.jelajahborneo.uni.cc
    Semuanya Bermula Di Sini!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. helloo...a another newbie just popup
    By ghostnhacker in forum Member Introductions
    Replies: 6
    Last Post: 06-03-2007, 10:42 AM
  2. Popup menu problem
    By jhanwt in forum Website Design
    Replies: 2
    Last Post: 26-05-2004, 08:23 PM
  3. Popup menu appear behind Flash movie
    By jhanwt in forum Website Design
    Replies: 6
    Last Post: 15-05-2004, 12:27 AM

Posting Permissions

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

Search Engine Optimization by vBSEO 3.5.0 RC1 PL1

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37