Image Caption - ChangeLog Weaver Complete rewrite for better compatibility and ease of development Outstanding ------------------ to do: Add ability to use multiple units for all dimension fields Determine CSS syntax, then add loops to catch and digest units fwParametersChanged function complete, ready to join in goals: limit <...style="CSS"...>, hopefully eliminate altogether ultimately come up with single CSS style for all containers on page modularize the code for tweaking and expansion main purpose is for inline graphics and freestanding layer images (as a side benefit, works well for Table-Based Layouts) code conventions: image > refers to graphic and tag compilation > refers to surrounding container, may be div or span depending on final output caption > refers to text and its container fwInterface conventions: image > refers to graphic container container > refers to compilation container caption > refers to text and it's container Possible Ideas: ------------------ > Need to add dimensions to caption box to use %/auto margins and padding. > Add 'mouseover' to image for showing caption. + New feature * Changed feature - Removed feature > Notice/Event (internal note to me) ! Bugfix 1.4 (01/25/07) ------------------ + Ability to use multiple Units (px,pt,em,%,etc) where appropriate ! Some minor visibility tweaks to the CSS to make the Action play nicer with other content. ! Opacity includes logic to return '' for 100% and {visibility:hidden;} for 0% > Altered 'copy link to caption' to include 'rel' attribute, mainly for Lightbox support > This is anticipated as the last release in the 1.x line. I may rewrite this Action and then re-release as a 2.0 version. 1.3.3 (10/1/06) Bug Fix release, Sorry for the quick update ------------------ ! Action would miss some html code if added after some other Actions. 1.3.2 (09/18/06) ------------------ + Option to 'offset' caption box from edges of image cell, ie negative margin to center, to shift off image, etc. + Add borders option to caption box > Still creates XHTML compliant code ! Added some 'hiding' code to hide clear before/after options for non-inlined graphics + Added Master Item feature and Chain with multiple possible groups + Option to Reapply Master for Slave Actions. + Option to tweak Scope of searches for Slave Actions as well to focus search for potential Master. > Master/Slave does not transfer Activate nor Caption Text settings between Actions ! Correctly transfers 'title' attribute, if present from of image to generated in caption text. ! Fixed Master/Slave not picking up on Master Page items, now accessible through 'Whole Document' option ! Folder option for master scope for master items now only looks at other master items ! Fixed minor issue with IE6 not displaying cap BG color correctly - Remove Float Offset, use Advanced Margin left or right to tweak offset ! Help files update ! Caption Text added as titles to the image now correctly escape quotes to prevent broken html 1.2 (08/07/06) ------------------ + Added option to leave compilation inline with text flow (may create non-compliant (x)html output, user choice), Future HTML versions allow syntactically correct nesting of Block-level inside Inline items DISABLED TO USER + Added advanced Margin and Padding controls for controlling 4 sides independently * Small update to included help buttons to reflect current option set ! Fixed bug in all CSS build functions that would add the wrong css value to the caption box ! Fixed some of the default values for the Interface (clearLine [before|after]) ! Fixed when captioned image may be in an UL or DL (ie a bulleted list) * Slight Interface change to accommodate future improvements in DEV version 1.121 (06/26/06) ------------------ ! Encoding of caption text for foreign characters, diacritics, symbols, etc. 1.12 (06/16/06) ------------------ ! Width of caption cell could throw off caption location in IE. Fixed so caption cell is set to the image width. > The only possible issue nows comes with IE's implementation of borders and failure to follow box model 1.11.1 (05/30/06) ------------------ ! width of indent could translate through as negative number. Browsers would normally ignore this, but it was bad practice on my part and has been fixed. Very specific circumstances where this would happen. 1.1 (03/14/06) ------------------ ! fixed situation where caption would fall into a bulleted list. Usage here not advised. Caption now floats after first available block element. + addition of 'clear' paragraph AFTER to prevent wrapping of child paragraphs over image/caption in the future 0.05dev (03/14/06) ------------------ + Option to copy caption as title to image ! default value for caption set as static value, no longer Alt Text + changed layer/freestanding item style to "width:auto; height:auto;" to have best practice coding > ready to kick this action out the door and see how it performs and deal with bug fixes/repairs ! fixed href/onclick event search again. Works, finally 0.04dev (03/13/06) ------------------ ! applies-to fixed to prevent application to non-html32 pages + floating graphics in logic to added captions to graphics + alert to user regarding use on non-layered, floating item disturbing layout (nothing I can do about this problem) * rework fwInterface to better align features in groups, still no 'brains' behind the disclosures and such ! fixed how action looks for possible surrounding anchor tags and attaches them to the caption text 0.03dev (03/09/06) ------------------ + added logic to action to determine what the image is and where it is on the page as far as inline vs floating + added build and population script for inline graphics + implemented BG opacity for floating caption, working well and degrades acceptably + allowed image maps in captioned graphic, some caution as images with multiple maps will produce various results on each publish cycle (FW limitation, not worth coding around) + added optional indent padding to realign graphic to text as float box must appear outside paragraph (W3C.org validation requirement, allowed in XHTML 2.0) + encoded for public beta 0.03b and made available on /Actions/ site (Image Caption BETA 0.03.fwaction) only functioning for inline graphics adds 'BETA' before and after caption text on output to remind user t not use for production work at the moment interface is very messy and will be cleaned and optimized on final build certain interface items are only applicable for certain situations so may appear to not function no presentation scripting has been added, all options are presented all the time smkDiag is present, as well as alert line these are my working items and will produce extra coding and alert boxes extra code not necessary for proper appearance of image/caption 0.02dev (03/01/06) ------------------ + finished archetype code output for correct rendering + implemented CSS addition code to add CSS and not duplicate styles * changed fwInterface, need to re-integrate with disclosure triangles and such + added option to use 'alt' text from image (caption defaults to alt text when action is applied) 0.01dev (02/01/06 - exploring options and zeroing in on final code output) ------------------ + layout fwInterface with said goal items as necessary (major layout complete, minor additions and expansion allowed + float NA for standalone items + add 'align' to fwInterface, NA for standalone items, subsequently disabled as it does not seem to apply (may add as alternative to float) Will use one or the other as Align includes float options + defined global variables for action JS, starting layout of logic to determine functions and output