views:

32

answers:

2

http://www.kampyle.com/ in this url when you scroll one picture always moves. i want to know this process name.how can they do it. after click this picture it's vanish and never appear even refresh the page.How they get information i click this picture .it will be helpful for me if some one give me the solution .

A: 

They just set the anchor that contains the image to:

position:absolute;
right:0;
bottom:0;

It's called absolute positioning.

As for only showing it once, that can be handled with a cookie or with a session variable.

Robusto
thanks for reply.There are some site after enter one wigged active,with out registration u can not see the page,wigged contain a registration form,when user scroll it's move how to do it
shamim
+1  A: 

If you mean the feedback button that remains on the bottom right corner, here is the CSS you need:

.button{
    z-index: 9999999;
    position: fixed;
    right: 0;
    left: 0;
}

With this code you can have a fixed image on the bottom right corner:

<img src="feedback-button.gif" class="button" alt="Feedback button" />

BUt I don't see how the button is vanishing. I am quite sure that they have done it using a cookie or a session varibale which will pervent the button to appear on the next load of the page.

Kau-Boy
thanks for reply.There are some site after enter one wigged active,with out registration u can not see the page,wigged contain a registration form,when user scroll it's move how to do it.
shamim