problem

Discussion in 'HTML & Website Design' started by dean5000v, Jun 5, 2008.

  1. #1
    well im creating this site, heres what it looks like so far.

    http://safetynetdirect.com/tcs/?pg=disposable_gloves

    so if u click on £2.50 per box in carton of 10 boxes buy now

    and click buy now it loads the page however the page doesn't start from the top it loads to the middle of my page, in the iframe does anyone know how to fix this issue

    regards
     
    dean5000v, Jun 5, 2008 IP
  2. Blame Me

    Blame Me Guest

    Messages:
    162
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Well I tested it in 3 other browsers (Safari, Netscape and Firefox) and they all gave the same results - Aligned to the top and not the middle.

    If you are trying in IE it may be a positioning issue. My laptop is down so I can't test in IE for you.
     
    Blame Me, Jun 5, 2008 IP
  3. dean5000v

    dean5000v Peon

    Messages:
    201
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    im using firefox, what i mean is go on this link
    http://safetynetdirect.com/tcs/?pg=disposable_gloves

    then scroll right down the page near the bottom then click on
    £4.95 per box in carton of 10 boxes buy now

    then when u do the next page will align vertically to the middle of the page and not the top.
     
    dean5000v, Jun 5, 2008 IP
  4. q7m

    q7m Well-Known Member

    Messages:
    1,178
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    150
    Digital Goods:
    1
    #4
    What's happen is normal, as long as you're using an iframe with height="2000px". This is a very bad solution, try change it.
     
    q7m, Jun 5, 2008 IP
  5. dean5000v

    dean5000v Peon

    Messages:
    201
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    yeah but i need a set height for the iframe as auto resizing iframes dont work, any one know any javascript to load to top of the page or something
     
    dean5000v, Jun 5, 2008 IP
  6. Blame Me

    Blame Me Guest

    Messages:
    162
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I've tried all the "buy now" links on the page and all loaded to the top of the screen, yes the footer is way down at the bottom but as Zeegal mentioned thats because of the iframe fixed height.

    Could you not just set a iframe height of say 1000px and then have people scroll down to see more products?
     
    Blame Me, Jun 5, 2008 IP
  7. dean5000v

    dean5000v Peon

    Messages:
    201
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    i don't think that you can do that, there is defo no way i can remove this iframe either its rele buggin me now need to get it fixed , surely there is javascript to load to the top of the page.
     
    dean5000v, Jun 9, 2008 IP
  8. dean5000v

    dean5000v Peon

    Messages:
    201
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    ok another way i think i can do this is to get rid of the iframe and then include a perl variable into a php include, does anyone know anyway ways to do this ?

    e.g so this is my url

    cgi-bin/mk_cat.pl?cat=B_NG1

    and i want to include this page into a php include
     
    dean5000v, Jun 9, 2008 IP