Plugin Directory

Changeset 772729


Ignore:
Timestamp:
09/15/2013 02:34:28 PM (11 years ago)
Author:
fmos
Message:

Updated documentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-photonav/trunk/README.md

    r675336 r772729  
    7171    note that the animation (like everything else) is accomplished using
    7272    JavaScript and might not be 100% fluid on all systems and browsers.
     73*   `position` -- Defines the initial horizontal postion. The parameter may
     74    be a pixel value for horizontal displacement or take any one of the
     75    following relative values, for which the corresponding pixel value is
     76    automatically calculated: center, left or right.
    7377
     78Developer remarks
     79-----------------
     80
     81### DOM tree
     82
     83The structure of the `div` elements used for the PhotoNav content is:
     84
     85    .photonav -> .container -> .content -> .image
     86
     87`.image` is wrapped in `.content` for uniformity with the drag360 mode, where
     88the image is assigned as repeated background of `.content`.
     89
     90`.container` is separate from `.photonav`, because the `.photonav` comprises
     91two `.containers`: one for inline view and one for popup/lightbox view (which
     92is hidden)
     93
     94### Interaction with Subversion
     95
     96The master branch mirrors the SVN trunk used for publication. Development
     97happens in the progress branch and is rebased to master. Synchronisation with
     98SVN is achieved by `git-svn`.
     99
     100An SVN commit is done using the following workflow:
     101
     102    git checkout master
     103    git svn rebase
     104    git rebase -i master progress
     105    git svn dcommit
    74106
    75107[issues]: https://github.com/fmos/wp-photonav/issues
Note: See TracChangeset for help on using the changeset viewer.