reloading shopping pages

Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default reloading shopping pages

    Currently my on-line shopping cart reloads the page after a customer clicks an
    'add' button. This is okay but the customer is returned to the top of the page
    (because it has reloaded). I wonder if there is a way of reloading but in the
    same position on the page that the user or customer was at the time of clicking
    an add button.

    Can anyone help me?

    cornfedpig Guest

  2. Similar Questions and Discussions

    1. Reloading CS3
      Can anyone Help We had to buy a new computer today, we purchased CS3 online a while ago, I need to reinstall it. How do I re download it ...
    2. reloading pages via popup
      Hi guys, I was curious if such a thing is possible, I've seen it done before, but not exactly sure how that would work. Would it have...
    3. Reloading
      Hi everyone, I am making an application which loades a HTML page, does anybody have any idea how we can make sure in VB.NET that a HTML page is...
    4. setcookie and reloading pages
      Wondering why my setcookies didn't have any impact, I noticed the line in the manual that said the page needs to be reloaded before they take effect...
    5. shopping cart shopping
      Im looking to buy some ecommerce software to hook up to an HTML site. The company will have around 350 products or so to start out, and will be...
  3. #2

    Default Re: reloading shopping pages

    If the place is certain (say you only show one item per page) you place an
    anchor (e.g. <a name="itemForSell"></a>) right above the item inf. so when
    refreshing the page you may 'post' data like: action="blah.asp#itemForSell").

    But its likely that u have more than one item, retrieved from a db. In this
    case, since your page is stitched together dynamically u have the opportunity
    to place anchors adjacent to their corresponding item dynamically and also you
    want to place this id (here numbers) dynamically in the form (for post) or the
    button (for "get" method)

    e.g. <a name="item-1"></a>first item desc. and order form or sh<some ps
    perhaps><input type="button"
    onclick="window.location='thisfile.asp?blahblah#it em-1' /><a
    name="item-2"></a>second item<input type="button"
    onclick="window.location='thisfile.asp?blahblah#it em-1'" />

    In case of using "post" method u have a form per item so the second
    dynamically place id is placed in action like <form
    action="thisfile.asp#item-2>post data inputs</form>

    downtownee Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139