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
2010-06-07 12:50:39
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
2010-06-07 17:55:52
+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
2010-06-07 13:06:31
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
2010-06-07 17:56:14