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 get different images to show every reload

Discussion in 'HTML & Website Design' started by WonderingCoder, Nov 13, 2013.

  1. #1
    My website: www.101baseballnews.com is currently in work, and I thought it'd be fun to make it so every time a user reloads the page or switches to a different page on the website, a picture on the header would change. The "101 Baseball News" would remain the same, but just an extra picture..

    How would I do that?
     
    WonderingCoder, Nov 13, 2013 IP
  2. WonderingCoder

    WonderingCoder Greenhorn

    Messages:
    86
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    8
    #2
    The only example of this i can think of is from 4chan.org/b (warning: NSFW)

    See how whenever you load the page, the logo up top changes to something different every time? Obviously they made each and every one of those images, but I'd like to do the same for my website.
     
    WonderingCoder, Nov 13, 2013 IP
  3. A_ManojKumar

    A_ManojKumar Active Member

    Messages:
    131
    Likes Received:
    8
    Best Answers:
    1
    Trophy Points:
    65
  4. WonderingCoder

    WonderingCoder Greenhorn

    Messages:
    86
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    8
    #4
    heya! THANKS for that link, it makes sense. however, i run on blogger. would i put that code in the CSS of my website, or somewhere specific in the HTML?

    Thanks
     
    WonderingCoder, Nov 14, 2013 IP
  5. A_ManojKumar

    A_ManojKumar Active Member

    Messages:
    131
    Likes Received:
    8
    Best Answers:
    1
    Trophy Points:
    65
    #5
    A_ManojKumar, Nov 14, 2013 IP
  6. WonderingCoder

    WonderingCoder Greenhorn

    Messages:
    86
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    8
    #6
    i will look into it, thanks a lot.

    one more thing, would you mind looking through my HTML on my header and see why my layout looks like the file below.

    its suppose to be side to side. the 'add gadget' button should be on the right side, directly to the right off the header, not above it. please help
     

    Attached Files:

    WonderingCoder, Nov 14, 2013 IP
  7. faust1611

    faust1611 Well-Known Member

    Messages:
    464
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    123
    #7
    @WonderingCoder consider moving to cms/wordpress if you are really serious on involving yourself on sites & stuff online. the feature you need is quite common, plenty of options to pick from if you get out of the restrictions blogger offers
     
    faust1611, Nov 14, 2013 IP
    A_ManojKumar likes this.
  8. A_ManojKumar

    A_ManojKumar Active Member

    Messages:
    131
    Likes Received:
    8
    Best Answers:
    1
    Trophy Points:
    65
    #8
    Exactly! Move on to WordPress. Far more easy + bigger user community. 17% of the web it is :D
     
    A_ManojKumar, Nov 14, 2013 IP
  9. WonderingCoder

    WonderingCoder Greenhorn

    Messages:
    86
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    8
    #9
    I've always leaned towards Wordpress, but I have a couple questions:

    1. I hear blogger has a better ranking with Google, as Google runs the platform. Wordpress isn't as good. True?
    2. Wordpress is ridiculously hard to edit. True?
    3. It's hundreds of dollars to run a website professionally through wordpress.

    Are all of those true?
     
    WonderingCoder, Nov 14, 2013 IP
  10. A_ManojKumar

    A_ManojKumar Active Member

    Messages:
    131
    Likes Received:
    8
    Best Answers:
    1
    Trophy Points:
    65
    #10
    1) Obviously they want to sustain their blogger platform, so they will be slightly inclined towards it. It is easier for them to put into Search Index.

    2) Not true at all. You just need to learn basic editing skills. Well there are lots of plugins that will help you.

    3) You will never know professionalism until you move to WordPress :D You just need to get a domain + shared hosting(For small sites) + free template(There are in abundance).

    WordPress! Go for it!!
     
    A_ManojKumar, Nov 14, 2013 IP
  11. WonderingCoder

    WonderingCoder Greenhorn

    Messages:
    86
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    8
    #11
    Okay, I think I'm leaning towards it more. However, I'm currently studying python, and my brother is a master at it. He does crazy stuff, and can whip out a website with ease. He worked for agilent inc over the summer and wants me to learn python soo I am. Would it be beneficial to wait and just build off of my own server and do everything myself, or will it be hard to get a good SEO ranking and page ranks.
     
    WonderingCoder, Nov 14, 2013 IP
  12. WonderingCoder

    WonderingCoder Greenhorn

    Messages:
    86
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    8
    #12
    I've put a lot of work into the blogger platform though, I feel like I shouldn't change. When you went to my website, could you even tell it was a blogger website?

    What is your favorite part about Wordpress? What would be your underlying statement to convince me to move over :)
     
    WonderingCoder, Nov 14, 2013 IP
  13. WonderingCoder

    WonderingCoder Greenhorn

    Messages:
    86
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    8
    #13
    i got it, just need a javascript. See it live: joystickjostlers.net
     
    WonderingCoder, Nov 20, 2013 IP