Announcement

Collapse
No announcement yet.

Opinion sought on placement of a link button

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Opinion sought on placement of a link button

    I've added a button on each product with a link to a page of delivery information.

    Here's an example product page:
    http://www.chilliheatedclothing.co.u...gentleman.html

    I'd like to canvass opinions on two things:

    Firstly - I can see arguments for placing this button in any one of several places on the page - any comments?

    Secondly - I feel pathetically elated that I actually managed to achieve this (terribly simple thing I know) all on my own, but I have a nagging feeling that although a link to an html page works, there may be a 'better' or more usual way of achieving the same thing in Actinic?

    TIA
    Kind Regards
    Sean Williams

    Calamander Ltd

    #2
    Originally posted by Sean Williams View Post
    I feel pathetically elated that I actually managed to achieve this (terribly simple thing I know) all on my own
    Welcome to the dark side of programming. Enjoy the elation; you deserve it; and it won't last.

    How did you add the button? Embedded in the product description or editing the template?

    Comment


      #3
      Hi Alan
      I edited the layout:

      <actinic:block if="%3cactinic%3avariable%20name%3d%22CartButtonVisibleToAllCustomers%22%20%2f%3e" >
      <!-- This code is used when the cart button is visible to all customers -->
      <input type="submit" value="<Actinic:Variable Name="CartButtonText"/>" name="_<actinic:variable Name="ProductID"/>" class="form_button_add_to_cart" /><br /><br /><br /><a href="delivery.html"><img src="delivery_information.gif" width="112" height="20" border="0" /></a>
      </actinic:block>
      Kind Regards
      Sean Williams

      Calamander Ltd

      Comment


        #4
        I don't know V8 layouts, but I suspect you've gone the correct route.

        Comment


          #5
          Hi Sean,

          I like it but how about having it load in it's own popup window? That way the user can still have the page they are looking at in the background and then simply close the delivery popup once they have viewed the info.

          You would just need to add the following code to the <head> of your layout:

          function load() {
          var load = window.open('http://yourpage.html','','scrollbars=yes,menubar=no,height=550,width=800,resizable=yes,toolbar=no,location=no,status=no');
          }

          Then use <a href="javascript:load()"> </ahref> around your image. You can mess about with the size of the window and other options and obviously you would only need to show the delivery info not the surrounding layout (ie create a standard html page with only the delivery info in it).

          Just an idea.
          Rob

          Ultra slim, ultra stylish light switches, dimmers and plug sockets for your home or business
          The Decorative Switch Company - Imagine The Possibilities

          Comment

          Working...
          X