PDA

View Full Version : Amazon style Drop-in content box floating help



ianhaney
10-12-2015, 05:05 PM
1) Amazon style Drop-in content box

2) http://www.dynamicdrive.com/dynamicindex17/amazondrop.htm

3) Hi I am using the above script and works perfect but was just wondering if there was a way to make it floating so if the user scrolls down or up the webpage, the box moves with it until they click the close link

I tried using the stickynote coding but that had a conflict and stopped the nivoslider from working

Thank you in advance

Kind regards

Ian

Beverleyh
10-12-2015, 06:26 PM
Untested as I'm in mobile but have you tried position: fixed; on the outer div?

ianhaney
10-12-2015, 06:56 PM
Hi Beverleyh

Thank you for the reply, appreciate it

I have managed to do it now using the mentioned position: fixed and margins in the CSS

Saying about mobile view, I was going to do it in the mobile website but thought it would be too small to see

ianhaney
10-12-2015, 07:24 PM
Just sorted it for the mobile website and is perfect now on both desktop and mobile sites

Thank you again for replying, appreciate it