Announcement

Collapse
No announcement yet.

Pop up window help

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

    Pop up window help

    Hi

    My extended information opens in the same window however i need the image (when clicked) to open into a pop up box to enlarge it. The code i am try to edit to do this is:

    <img src="<Actinic:Variable Name="ExtendedInfoImage"/>"
    width="<Actinic:Variable Name="ExtendedInfoImageWidth"/>"
    height="<Actinic:Variable Name="ExtendedInfoImageHeight"/>"
    alt="<actinic:variable name="ProductName" encoding="strip" />"
    />

    Please can someone help me

    #2
    Well to popup you will need it be an anchor Mr Clickety Clickety Click. Have a look how actinic does the popup code and just use the same method will be the easiest, that is of course if you also work out how to get the 2nd extended info page you will require.

    Alternatives are to go conventional route and show popup at first click, thus reducing annoying clicks.

    Comment


      #3
      The inbuilt javascript uses

      onclick="ShowPopUp('#',900,750)"

      where # is the URL and 900,750 the width and height of the window


      Bikster
      SellerDeck Designs and Responsive Themes

      Comment


        #4
        Originally posted by jont View Post
        The inbuilt javascript uses

        onclick="ShowPopUp('#',900,750)"

        where # is the URL and 900,750 the width and height of the window
        hi i did this but now im having trouble resizing the image in the pop up

        Comment


          #5
          Why are you image resizing, why not just provide the image correctly sized in the first place? Browser resizing produces sketchy results at best.

          Comment


            #6
            Originally posted by leehack View Post
            Why are you image resizing, why not just provide the image correctly sized in the first place? Browser resizing produces sketchy results at best.
            The pop up is to make the image larger i have this code in so far

            <img width="200" src="<Actinic:Variable Name="ExtendedInfoImage"/>" alt="<actinic:variable name="ProductName" />" onclick="ShowPopUp('<Actinic:Variable Name="ExtendedInfoImage"/>',350,350);" />

            I need the picture to be larger in the popup window

            Comment


              #7
              Why not define the image on the extended info tab and use that, you want to be providing the image size you want to see, not hoping for an up or downscale by anything. It all sounds very confusing what you're trying to do, you sound either in over your head or you have a very specific requirement for some reason. The sizes you have added size the html window (the popup), you've then added a 200 wide image. If 200 wide is the largest image you offer, what size are the standard ones, 300 x 300 is about the industry standard for a product image at the moment, so your zoom image is 100px short of that currently. All sounds a bit confusing and over thought at the moment to be honest, are you sure you're doing things the best way you can?

              Comment


                #8
                Originally posted by leehack View Post
                Why not define the image on the extended info tab and use that, you want to be providing the image size you want to see, not hoping for an up or downscale by anything. It all sounds very confusing what you're trying to do, you sound either in over your head or you have a very specific requirement for some reason. The sizes you have added size the html window (the popup), you've then added a 200 wide image. If 200 wide is the largest image you offer, what size are the standard ones, 300 x 300 is about the industry standard for a product image at the moment, so your zoom image is 100px short of that currently. All sounds a bit confusing and over thought at the moment to be honest, are you sure you're doing things the best way you can?
                The 200 size is for the picture on the page not in the pop up window

                Comment


                  #9
                  Originally posted by marky9378 View Post
                  The 200 size is for the picture on the page not in the pop up window
                  Ah yes I see, my mistake, that has cleared the matter up.

                  Comment

                  Working...
                  X