Difference between revisions of "Template:T toggle"
From The Official Visionaire Studio: Adventure Game Engine Wiki
Line 1: | Line 1: | ||
− | <no include>quick button to toggle theme | + | <no include>quick button to toggle theme</noinclude> |
<includeonly> | <includeonly> | ||
<html> | <html> | ||
Line 11: | Line 11: | ||
} | } | ||
</style> | </style> | ||
− | |||
<script> | <script> | ||
// Color changer | // Color changer | ||
$(".toggle_on").click(function(){ | $(".toggle_on").click(function(){ | ||
− | $("link").attr("href", " | + | $("link").attr("href", "Chameleon2.css"); |
return false; | return false; | ||
}); | }); | ||
$(".toggle_off").click(function(){ | $(".toggle_off").click(function(){ | ||
− | $("link").attr("href", " | + | $("link").attr("href", "Chameleon.css"); |
return false; | return false; | ||
}); | }); |
Revision as of 13:45, 22 August 2014
<no include>quick button to toggle theme