mungkin tinggal ganti 

 function gotoAd()
 {
     document.location.href = "http://" + adURLs[thisAd];
 }

menjadi

 function gotoAd()
 {
     window.open("http://" + adURLs[thisAd], "_blank");
 }



-kOws- wrote:
> 
> Punten...
> mo' minta tolong nih...saya pernah dapet javascrip buat banner cycling, tapi
> masalahnya, link dari banner cycling tsb nggak ngebuka window baru melainkan
> menimpa window induknya...bagaimana ya spy menjadi window baru....scriptnya
> sbb:
> <script type="text/javascript">
> if (document.images)
> {
>     adImages = new Array("images1",
>                 "images2");
>     adURLs = new Array("url1",
>                 "url2");
>     thisAd = 0;
> }
> function cycleAds()
> {
>     if (document.images)
>     {
>         if (document.adBanner.complete)
>         {
>             if (++thisAd == adImages.length)
>                 thisAd = 0;
>             document.adBanner.src = adImages[thisAd];
>         }
>     }
>     setTimeout("cycleAds()", 10000);
> }
> function gotoAd()
> {
>     document.location.href = "http://" + adURLs[thisAd];
> }
> </script>
> di image banner..linknya ke "javascript:gotoAd(), saya udah mencoba merubah
> target di menjadi "_blank" malah error...
> 
> thx buat pencerahannya,
> -kOws-

-- 
sh

- Pusing milih POP3 atau web mail? http://mail.telkom.net solusinya
To unsubscribe, e-mail : [EMAIL PROTECTED]
To subscribe, e-mail   : [EMAIL PROTECTED]
Netika BerInternet     : [EMAIL PROTECTED]
Arsip di http://www.mail-archive.com/[email protected]/


Kirim email ke