<<Include(SeeSawExamples/Menu)>>

== Example 18 - User-specified images ==

<<SeeSaw("+osa -os", "attachment:android.jpg")>>{{{ }}}
<<SeeSaw("osl os -os", "attachment:linux.jpg", "attachment:slinux.jpg", show=True)>>{{{ }}}
<<SeeSaw("osm os -os", "macosx.jpg", "smacosx.jpg", image=attachment)>>{{{ }}}
<<SeeSaw("osw os -os", image=attachment, toshow="windows.jpg", tohide="swindows.jpg")>>
{{{#!wiki seesaw osa os
{{attachment:android.jpg}}<<BR>>This is the Android section
}}}
{{{#!wiki seesaw osl os show
{{attachment:linux.jpg}}<<BR>>This is the Linux section
}}}
{{{#!wiki seesaw osm os
{{attachment:macosx.jpg}}<<BR>>This is the Mac OS X section
}}}
{{{#!wiki seesaw osw os
{{attachment:windows.jpg}}<<BR>>This is the Windows section
}}}

----

## Swap seesaw and ##seesaw on the following two #!wiki lines to switch the example in and out
##
{{{#!wiki ##seesaw solid green
Edit the text to make available an example which requires server-specific modifications before it can be demonstrated.
}}}

{{{{#!wiki seesaw
## Replace /moin_static with the value of url_prefix_static from your wiki's wikiconfig.py file.
##
<<SeeSaw(f1, Attention, "file:/moin_static/modern/img/attention.png")>> {{{ }}}
<<SeeSaw(f2, "file:/moin_static/modern/img/checkmark.png", "file:/moin_static/modern/img/icon-error.png")>> {{{ }}}
<<SeeSaw(f3, "/moin_static/modern/img/star_on.png", "/moin_static/modern/img/star_off.png", image=file)>> {{{ }}}
<<SeeSaw(f4, "file:/moin_static/modern/img/icon-error.png", "attachment:admon-warning.png")>> {{{ }}}
}}}}
