Moving Text Box Script/Code

by macostello 4 replies
Hi All,

I am working on website that has quite a long list of products to describe. The template that I am using has the page split into two in that the description goes on one side and on the other, it allows for any other test I wish to put in it such as video, opt-in forms etc.

I have decided to use it as the 'buy now' section but want to get this side of the page to move down as the customer is scrolling down so that it is always in their view.

Does anyone know how I can achieve this?

Many thanks,

Michelle
#website design #box #moving #script or code #text
Avatar of Unregistered
  • Profile picture of the author jamesg3
    This will only work in firefox and you will need some heavy duty code for it to work properly. You will have to rewrite the current text box divs and set them up separately from the theme or template. Which basically means youd better off building your theme from scratch. Otherwise you will be forced to revamp a lot of code to seperate the text boxes from the template or theme.
    Signature
    Serious Wordpress sites, html/css sites and flash sites Cheap. I provide killer SEO, easy to use e-commerce solutions and payment gateways. Check me out at Serious Website Design.
    Need Hosting with serious speed and power? 3.99 a month. Take a look here. Serious Website Hosting.
    {{ DiscussionBoard.errors[3893346].message }}
  • Profile picture of the author macostello
    Hey guys,

    Thank you! I didn't know that it only worked in Firefox so that's an education and something new learnt for today!

    What would someone see if they were viewing a page with this script on through Explorer or Chrome?

    Thanks,

    Michelle
    {{ DiscussionBoard.errors[3894019].message }}
    • Profile picture of the author andrejvasso
      @james: its true. it would be a huge amount of work, when he wants to code such a function from scratch, however, I think, there should be a jquery plugin taking care for all this.

      @macostello: you might want to check out this plugin - not sure if its what you are looking for, but u might want to give it a try!

      This should also work in IE, chrome and other browsers.
      {{ DiscussionBoard.errors[3895479].message }}
  • Profile picture of the author macostello
    Thank you very much!

    Have got someone working on that for me now.

    Cheers!
    {{ DiscussionBoard.errors[3898979].message }}
Avatar of Unregistered

Trending Topics