Script won't work on my website....

Discussion in 'Software' started by Rockskin, Apr 29, 2004.

  1. Rockskin

    Rockskin Private E-2

    Ok I want to add a script to my website and I have but for some reason it won't work. The place where I got the script said I just had to put it in and works automatically.

    \\<div id="gw_wallpaperoftheday_">
    <a href="javascript:gwGetPreview_();">
    <img src="http://www.gamewallpapers.com/wallpaperoftheday/wallpaperoftheday_.jpg" width="120" height="90" border="0" onError="document.all.gw_wallpaperoftheday_.style.visibility='hidden';">
    </a><br>
    </div>
    <script>
    function gwGetPreview_() {
    url = "http://www.gamewallpapers.com/wallpaperoftheday/getpreview.php?type=";
    ipwindow = window.open(url,"_blank","fullscreen=no,resizable=no,scrollbars=no,toolbar=no,height=316,width=400");
    }
    </script>\\

    That is the script and this is the place i want to add it to. www.immortalfx.com

    I've tried everything but I dont' know why it doesn't appear.


    Oh and another thing. The \\ aren't part of the script I just added those to show the beginning and end of the scrip.
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds