How do you make peel ad scroll down?

Discussion in 'Programming' started by bigkhong, Mar 13, 2009.

Thread Status:
Not open for further replies.
  1. #1
    I'm trying to make the Peel Ad always appear on the right hand side as you scroll down on my site.


    My page is (current ad does not always appear as you scroll down):
    http://howigrowtaller.com/


    An example that peel ad run down the right hand side as you scroll down is like this :
    http://www.backtogetherforever.com/


    The script that runs the Peel Ad on my site is below. Do you know what I should add in below to make peel ad always show itself as you scroll down?
    Sorry, I know there's German, but it's all translated into English as well.!

    Thanks a lot!!!

    As suggested by shallowlink below. It has something to do with the code below.

    // Css style default x-position
    var xPos = 'right';


    So how would you make the peel ad "fixed"? Thanks!

     
    bigkhong, Mar 13, 2009 IP
  2. shallowink

    shallowink Well-Known Member

    Messages:
    1,218
    Likes Received:
    64
    Best Answers:
    2
    Trophy Points:
    150
    #2
    odds are its in the CSS. whatever the ad's container is called should have position: fixed; some such.
     
    shallowink, Mar 13, 2009 IP
  3. bigkhong

    bigkhong Peon

    Messages:
    161
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    You're right, in the code above, I found this:

    // Css style default x-position
    var xPos = 'right';



    How would you make the position fixed?

    Thanks! :)
     
    bigkhong, Mar 13, 2009 IP
  4. shallowink

    shallowink Well-Known Member

    Messages:
    1,218
    Likes Received:
    64
    Best Answers:
    2
    Trophy Points:
    150
    #4
    nope, I was wrong .

    function positionit(){
    var dsocleft=ie? document.body.scrollLeft : pageXOffset
    var dsoctop=ie? document.body.scrollTop : pageYOffset
    var window_width=ieNOTopera? document.body.clientWidth : window.innerWidth-20
    var window_height=ieNOTopera? document.body.clientHeight : window.innerHeight

    it's using a javascript to move the ad down. You aren't using the same code they use? (Ask cause site's is in english)
     
    shallowink, Mar 13, 2009 IP
  5. bigkhong

    bigkhong Peon

    Messages:
    161
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #5
    shallowink: Nope, I don't think I'm using the same code they use. How would I incorporate a similar javascript like that to move the ad down?

    thanks!
     
    bigkhong, Mar 13, 2009 IP
  6. shallowink

    shallowink Well-Known Member

    Messages:
    1,218
    Likes Received:
    64
    Best Answers:
    2
    Trophy Points:
    150
    #6
    shallowink, Mar 13, 2009 IP
  7. Zonked

    Zonked Greenhorn

    Messages:
    37
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #7
    I suggest you stop stealing off my site and remove my testimonials from your site bigkhong. It doesn't look professional and will hurt your reputation.

    The testimonials on my site were given to me in good faith, and I doubt my clients want their testimonials to appear on other sites.

    You're obviously free to mimic my peel script, but don't steal my content and testimonials.

    Wow.. can't believe how much other stuff you copied from my site like slabs of text too. Not cool at all.
     

    Attached Files:

    Zonked, Mar 14, 2009 IP
  8. Zonked

    Zonked Greenhorn

    Messages:
    37
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #8
    bigkhong - You still are using my testimonial's photo on your site but you've now named him "Dan Martin,
    Los Angeles, CA"

    So it seems you don't even use legitimate testimonials, but just make them up.

    Not really a long-term business you are building here it seems.

    Please cease using my testimonials. They were given to use out of good faith.

    Furthermore, you are even direct linking to our images using our bandwidth.
     
    Zonked, Mar 15, 2009 IP
  9. CBGCash

    CBGCash Banned

    Messages:
    48
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    bigkhong, please remove the testimonial section as instructed by zonked.

    Thanks!!!
     
    CBGCash, Mar 15, 2009 IP
  10. bigkhong

    bigkhong Peon

    Messages:
    161
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Removed as instructed.

    If anyone can help to make peel ad scroll down, i'd really appreciate it. Thanks!
     
    bigkhong, Mar 15, 2009 IP
  11. Zonked

    Zonked Greenhorn

    Messages:
    37
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #11
    Thanks for moving it bighong. Much appreciated.
     
    Zonked, Mar 15, 2009 IP
Thread Status:
Not open for further replies.