.js file

Discussion in 'HTML & Website Design' started by Arians, Apr 15, 2007.

  1. #1
    how i can put my adsense code by using .js file in dreamweaverMX plz describe the method . if i am using link unit and skyscraper and lagrge rectangler should i have to make 3 .js external files seperately
     
    Arians, Apr 15, 2007 IP
  2. alfaresy

    alfaresy Well-Known Member

    Messages:
    491
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    123
    #2
    Hi,

    Is there anyone who has quicktags.js file, want to share it for free;) ?
    I just made digg clone site, and need to customize it with quicktags.

    Alfaresy
     
    alfaresy, Apr 15, 2007 IP
  3. Arians

    Arians Peon

    Messages:
    116
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    still there is no reply plz help me i need it urgently
     
    Arians, Apr 15, 2007 IP
  4. Bagi Zoltán

    Bagi Zoltán Well-Known Member

    Messages:
    364
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    110
    #4
    Place this code where you want the ads to appear

    <script src="/google.js" type="text/javascript" ></script>
    <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">

    Put the ads javascript information into a notepad file. For me the code was the following

    google_ad_client = "pub-3438663297441107";
    google_ad_width = 468;
    google_ad_height = 60;
    google_ad_format = "468x60_as";
    google_ad_type = "text_image";
    google_ad_channel = "";
    google_color_border = "160C0A";
    google_color_bg = "160C0A";
    google_color_link = "B8846C";
    google_color_text = "779988";
    google_color_url = "779988";

    Save this file as google.js and upload that to the server. You are done.;)
     
    Bagi Zoltán, Apr 15, 2007 IP
  5. Arians

    Arians Peon

    Messages:
    116
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    but for 468*60 banner and for 336*268 rectangler do i need to have seperate files?
     
    Arians, Apr 15, 2007 IP
  6. Bagi Zoltán

    Bagi Zoltán Well-Known Member

    Messages:
    364
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    110
    #6
    I would place the different ads codes into separated files. They supposed to work properly in that way.
     
    Bagi Zoltán, Apr 15, 2007 IP
  7. Jalpari

    Jalpari Notable Member

    Messages:
    5,640
    Likes Received:
    137
    Best Answers:
    0
    Trophy Points:
    260
    #7
    so should i need 2 seperate files but i noticed many wbesites r using single file why they r using single file like www.pixel2life.com
     
    Jalpari, Apr 15, 2007 IP