Navigation Menu

Skip to content

Commit

Permalink
some changes
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkphp committed Jan 11, 2011
1 parent 2596f5c commit 4c40b26
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
22 changes: 11 additions & 11 deletions Docs/Flickrbadge.md
Expand Up @@ -16,17 +16,17 @@ Flickrbadge Method: constructor {#Flickrbadge: constructor}

#### options:

- containerClass (``String`` default to 'flickrbadge') the class
- openClass (``String`` default to 'flickrbadgeopen')
- originClass (``String`` default to 'flickrlink')
- listClass (``String`` default to 'flickritems')
- bigImageClass (``String`` default to 'flickrimage')
- CSSURL (``String`` default to 'flickrbadge.css')
- prevHTML (``Object`` defalt to '<img src="la.gif" alt="prev"/>')
- nextHTML (``Object`` defalt to '<img src="ra.gif" alt="next"/>')
- seeAllLabel (``String`` default to 'see all photos')
- navClass (``String`` default to 'flickrnav')
- currentClass (``String`` default to 'current')
- containerClass (``String`` default to 'flickrbadge') this class allows us to recognize that DIVs are for badges.
- openClass (``String`` default to 'flickrbadgeopen') the class for open/close large image.
- originClass (``String`` default to 'flickrlink') added this class to origin src (ex:$(src).addClass(this.options.originClass); in init).
- listClass (``String`` default to 'flickritems') the class for list of images.
- bigImageClass (``String`` default to 'flickrimage') the class for preview image.
- CSSURL (``String`` default to 'flickrbadge.css') the whole badge can be styled by you, just change this CSS file.
- prevHTML (``Object`` defalt to '<img src="la.gif" alt="prev"/>') the image for prev control.
- nextHTML (``Object`` defalt to '<img src="ra.gif" alt="next"/>') the image for next control.
- seeAllLabel (``String`` default to 'see all photos') the text for the label bottom right.
- navClass (``String`` default to 'flickrnav') the class for the navigate controls.
- currentClass (``String`` default to 'current') the class for the current list photos.

### Returns:

Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -37,7 +37,7 @@ In your BODY:
* the whole badge can be styled by you, just change the CSS to your needs.
* the only need to insert the SCRIPT once, and the best option is to add it to the end of the document, just before the closing BODY tag.
* the script is a single include and loads the style sheet and the class helps files on demand when they are needed.
* visitors can see your photos on the page and click the thumbnails to see the larger preview. You can style the the badge any way you like by changing the supplied CSS file.
* visitors can see your photos on the page and click the thumbnails to see the larger preview. You can style the badge in any way you like by changing the supplied CSS file.
* the options can be changed in any way you need.

### You can see the badge in action:
Expand Down

0 comments on commit 4c40b26

Please sign in to comment.