I made a Page, and I'd like to have a code that will allow all images on it to be restricted to a certain 'width' and be allowed to expand just be clicking on the image? I plan to use this code in the Mobile Style template. Here is the page:
Since Jake like my comment, it was brought to my attention again, so I thought I would check out how difficult it would be to do this via JS. I managed to get it working with a VERY simple jquery function here.
What it does is simple, when you click the image, it checks to see if the max-width for the img element is set to 100%, if it is, it changes it to 172px, else it sets it back to 100%. It should work on multiple elements, just change:
and it checks for the class myimage instead of the id.
You can of course change the class name to whatever you want, but you need to change it in the function as well. I have not tested it with the jQuery version xF uses, but I don't think it should cause any problems.