Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/86.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 通过jQuery弹出窗口打开Url_Javascript_Jquery_Popup - Fatal编程技术网

Javascript 通过jQuery弹出窗口打开Url

Javascript 通过jQuery弹出窗口打开Url,javascript,jquery,popup,Javascript,Jquery,Popup,我从google.com上找到了一些代码和源代码 我用Javascript编写了函数 function a(URL, COORDS, ALT, LINK) { document.write('<AREA SHAPE="poly" '); document.write('id="'+URL+'" href="http://www.domain.com/' + URL); /*This line where you configu

我从google.com上找到了一些代码和源代码

我用Javascript编写了函数

        function a(URL, COORDS, ALT, LINK) {
        document.write('<AREA SHAPE="poly" ');
        document.write('id="'+URL+'" href="http://www.domain.com/' + URL);
        /*This line where you configure the output URL, put your domain name address here */

        document.writeln('" COORDS="' + COORDS + '" title="' + ALT + '" class="' + LINK + '">')
    }
函数a(URL、坐标、ALT、链接){
文件。写('

提前谢谢

<area shape="poly" id="alberta.html" href="http://www.domain.com/alberta.html" coords="114,43" title="" class="">