1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How to use Javascript in Blogger

Discussion in 'JavaScript' started by caks, May 23, 2008.

  1. #1
    Can you tell me how to use Javascript code in a blogger post, I know that there is a way because I have seen others do it but i dont have a clue?

    Can you guys assist me.
     
    caks, May 23, 2008 IP
  2. greatlogix

    greatlogix Active Member

    Messages:
    664
    Likes Received:
    13
    Best Answers:
    1
    Trophy Points:
    85
    #2
    Login to your blogger account and click "Layout" than click "Add a Page Element". A window will popup. Here you have option to add javascript. Click "HTML/JavaScript"
     
    greatlogix, May 23, 2008 IP
  3. caks

    caks Peon

    Messages:
    79
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    No great what I meant was how do I add it in a post. Adding it around the layout is fine, its adding it to the post that is giving the problem.

    Any ideas
     
    caks, May 26, 2008 IP
  4. greatlogix

    greatlogix Active Member

    Messages:
    664
    Likes Received:
    13
    Best Answers:
    1
    Trophy Points:
    85
  5. caks

    caks Peon

    Messages:
    79
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Thanks a million Great... the article is perfect.
     
    caks, May 26, 2008 IP
  6. magicg

    magicg Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Here is the Definitive Easy Introduction on Javascript for Blogger:
    install-climber.blogspot.com/2011/09/how-to-insert-javascript-in-blogger.html
     
    magicg, Sep 26, 2011 IP
  7. bringham

    bringham Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I'm using blogger.com to host some texts on programming, and I'd like to use prettify (same as stackoverflow) to nicely colour the code samples.

    How do I install the prettify scripts into the blog domain?
    Would it be better (if indeed its possible) to link to a shared copy somewhere?
    I have webspace on a different domain. Would that help?
    Many thanks.

     
    bringham, Sep 26, 2011 IP
  8. jekyll28

    jekyll28 Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I've found this blog: there are some javascripts. it's only needed to copy and paste the simple code the give you to see scripts in your blog. if you want to customize the scripts just email them and they'll send the code in 12-24 hours. it's really good.
    bloggerjavascript.blogspot.com
     
    jekyll28, Dec 2, 2011 IP
  9. DeathDisturbance

    DeathDisturbance Peon

    Messages:
    12
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Thabks so much! I needed this!
     
    DeathDisturbance, Dec 3, 2011 IP
  10. DeathDisturbance

    DeathDisturbance Peon

    Messages:
    12
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Thanks so much! I needed this!
     
    DeathDisturbance, Dec 3, 2011 IP
  11. Dada1988

    Dada1988 Greenhorn

    Messages:
    117
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #11
    Dada1988, Jan 28, 2013 IP