Announcement

Collapse
No announcement yet.

Resizable text

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

    Resizable text

    Is it possible in actinic to have those buttons that go AAA to resize page font
    thanks steve

    #2
    Come on someone must know, I think it`s something to do with CSS style sheets, but do not know how to do it or apply it to Actinic, there are all those short sighted silver surfers out there.

    Comment


      #3
      Hello Steve,

      Could try implementing this

      http://www.dynamicdrive.com/dynamici...extresizer.htm

      But I havent tried it and have no idea on what it would do to your layouts

      Comment


        #4
        Cheers Keith, maybe Actinic could check this out and come back to us, seems a good free thing to do.

        Comment


          #5
          Well that would involve the layouts adapting to the size of the text, Im a DIY actinicer so Im unsure but I imagine it would be difficult

          You might wanna try some kinda magnification rather than increasing the size of the text? or just making your text larger in the first place

          Comment


            #6
            I'm not sure there's really much need for this.

            Don't all modern browsers allow the user to set a zoom level (in IE: View > Zoom) that let's them do this already? I'd have thought people with vision difficulties would know how do this and creating another way is more likely to confuse rather than help.

            Mike
            -----------------------------------------

            First Tackle - Fly Fishing and Game Angling

            -----------------------------------------

            Comment


              #7
              I wouldnt know, I have 20/20 vision

              Maybe try using the link I posted and see how it works out then? But like I said I dont know how its going to effect your layouts

              Comment


                #8
                Quite a big job to do as Actinic comes with numerous Themes and each Theme may use a different set of pre-set font-sizes. I found about 20 specifically set font-size in the Theme I looked at. There are gotchas. Changing the font size on a button may be counter-productive (text runs out of room) unless you also change the button size.

                As said earlier most modern browsers do this easily. Just try clicking Control + or Control - while reading this. Works in IE and Firefox, probably other browsers too.
                Norman - www.drillpine.biz
                Edinburgh, U K / Bitez, Turkey

                Comment


                  #9
                  Hi Actinic have sent me a solution, however from the replies I would guess that someone with dicky eyes will know how to Zoooooooom in.

                  Comment


                    #10
                    What was actinics solution?

                    Comment


                      #11
                      Hi Steve,

                      The following sample code shows a method for doing the change of font size

                      <head>
                      <script language="JavaScript" type="text/javascript">
                      function changeFontSize(inc)
                      {
                      var p = document.getElementsByTagName('p');
                      for(n=0; n<p.length; n++) {
                      if(p[n].style.fontSize) {
                      var size = parseInt(p[n].style.fontSize.replace("px", ""));
                      } else {
                      var size = 12;
                      }
                      p[n].style.fontSize = size+inc + 'px';
                      }
                      }
                      </script>
                      </head>
                      <body>

                      <a href="javascript:changeFontSize(1)">Larger Font Size</a>
                      <a href="javascript:changeFontSize(-1)">Smaller Font Size</a>

                      </body>

                      You can copy this code into the relevant sections on the outer layout for
                      your site
                      The href code would need to be added to the section of the outlayout which
                      controls your navigation bar

                      For example on silver theme

                      Under purple underlined site map basic link
                      Insert
                      <li> <a href="javascript:changeFontSize(1)">Larger Font Size</a></li>
                      <li><a href="javascript:changeFontSize(-1)">Smaller Font Size</a></li>

                      Comment


                        #12
                        That's a simple bit of code that will let you change the size of text within <p>...</p> tags. So it might be OK on Product Descriptions. It won't change the text size anywhere else.
                        Norman - www.drillpine.biz
                        Edinburgh, U K / Bitez, Turkey

                        Comment

                        Working...
                        X