Permalink
Browse files

fixup button code

  • Loading branch information...
1 parent 96c5249 commit 2a4169df2acd6119caffd89cf6f339ed5d3f20a5 @mlinksva mlinksva committed Jul 6, 2016
Showing with 9 additions and 12 deletions.
  1. +3 −3 buttons/index.markdown
  2. +6 −9 ossd/index.markdown
View
@@ -36,7 +36,7 @@ There are a variety of colours and shapes and you can check out the full range o
### Open Knowledge Button
```
-<a href="http://opendefinition.org/"><img src="/assets.okfn.org/images/ok_buttons/ok_80x15_blue.png" alt="This material is Open Knowledge"/></a>
+<a href="http://opendefinition.org/"><img src="http://opendefinition.org/assets.okfn.org/images/ok_buttons/ok_80x15_blue.png" alt="This material is Open Knowledge"/></a>
```
@@ -52,7 +52,7 @@ The result should look similar to:
### Open Data Button
```
-<a href="http://opendefinition.org/"><img src="/assets.okfn.org/images/ok_buttons/od_80x15_blue.png" alt="This material is Open Data"/></a>
+<a href="http://opendefinition.org/"><img src="http://opendefinition.org/assets.okfn.org/images/ok_buttons/od_80x15_blue.png" alt="This material is Open Data"/></a>
```
The result should look similar to:
@@ -66,7 +66,7 @@ The result should look similar to:
```
-<a href="http://opendefinition.org/"><img src="/assets.okfn.org/images/ok_buttons/oc_80x15_blue.png" alt="This material is Open Content"/></a>
+<a href="http://opendefinition.org/"><img src="http://opendefinition.org/assets.okfn.org/images/ok_buttons/oc_80x15_blue.png" alt="This material is Open Content"/></a>
```
View
@@ -62,18 +62,15 @@ If you're providing an online service that's compliant with the Definition let p
To add a button to your site just copy and paste the following bit of html into the relevant page on your site (or into the general footer or sidebar):
-[
-![](/assets.okfn.org/images/ok_buttons/os_80x15_blue.png)](http://opendefinition.org/ossd/)
-
+```
+<a href="http://opendefinition.org/ossd/"><img src="http://opendefinition.org/assets.okfn.org/images/ok_buttons/os_80x15_blue.png" alt="This is an Open Service"/></a>
+```
To use a different button (other than the blue one used in the example) just change the 'src' attribute to point to one of the other buttons:
-
-
-
-/assets.okfn.org/images/ok_buttons/os_80x15_blue.png
-/assets.okfn.org/images/ok_buttons/os_80x15_red_green.png
-/assets.okfn.org/images/ok_buttons/os_80x15_orange_grey.png
+* http://opendefinition.org/assets.okfn.org/images/ok_buttons/os_80x15_blue.png
+* http://opendefinition.org/assets.okfn.org/images/ok_buttons/os_80x15_red_green.png
+* http://opendefinition.org/assets.okfn.org/images/ok_buttons/os_80x15_orange_grey.png

0 comments on commit 2a4169d

Please sign in to comment.