<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Master Pages, Themes and Navigation Controls</title><link>http://forums.asp.net/139.aspx</link><description>Discussions of MasterPages, Themes, and other page-related features. &lt;A href="http://aspadvice.com/SignUp/list.aspx?l=164&amp;amp;c=30" target=_blank&gt;Email List&lt;/A&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: How to toggle skinned images client side?</title><link>http://forums.asp.net/thread/1127307.aspx</link><pubDate>Wed, 30 Nov 2005 00:50:49 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1127307</guid><dc:creator>garymon</dc:creator><author>garymon</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1127307.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=139&amp;PostID=1127307</wfw:commentRss><description>Well I worked out a solution. I don't know if it is the best all around solution, but it works for my needs. &lt;BR&gt;&lt;BR&gt;In the scriptBlock&amp;nbsp;where I register my toggle function, I added the following:&lt;BR&gt;&lt;BR&gt;&lt;FONT size=2&gt;
&lt;P&gt;scriptString += &lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;"var minImage = new Image(); \n"&lt;/FONT&gt;&lt;FONT size=2&gt;;&lt;BR&gt;scriptString += &lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;"minImage.src = \"../App_Themes/"&lt;/FONT&gt;&lt;FONT size=2&gt; + &lt;/FONT&gt;&lt;FONT color=#008080 size=2&gt;Page&lt;/FONT&gt;&lt;FONT size=2&gt;.Theme + &lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;"/images/Minimize.gif\"; \n"&lt;/FONT&gt;&lt;FONT size=2&gt;;&lt;BR&gt;scriptString += &lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;"var maxImage = new Image(); \n"&lt;/FONT&gt;&lt;FONT size=2&gt;;&lt;BR&gt;scriptString += &lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;"maxImage.src = \"../App_Themes/"&lt;/FONT&gt;&lt;FONT size=2&gt; + &lt;/FONT&gt;&lt;FONT color=#008080 size=2&gt;Page&lt;/FONT&gt;&lt;FONT size=2&gt;.Theme + &lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;"/images/Restore.gif\"; \n"&lt;/FONT&gt;&lt;FONT size=2&gt;;&lt;BR&gt;&lt;BR&gt;As long as each theme has 2 files with these names, I'm golden.&lt;BR&gt;&lt;BR&gt;-Gary&lt;/P&gt;&lt;/FONT&gt;</description></item><item><title>How to toggle skinned images client side?</title><link>http://forums.asp.net/thread/1127190.aspx</link><pubDate>Tue, 29 Nov 2005 22:38:40 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1127190</guid><dc:creator>garymon</dc:creator><author>garymon</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1127190.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=139&amp;PostID=1127190</wfw:commentRss><description>I have a user control that displays some data and emits Javascript to do client side expansion/contraction of the control.&lt;BR&gt;The user control has been skinned except I am having trouble figuring out how to skin the image that is clicked to expand/contract the control. It needs to toggle between 2 images ("+" and "-" for example.). I would like each theme to be able to decide what the two images will be. Basically I need to get both URLs based on theme when I am generating the toggle Javascript in the controls code behind page. Any ideas?&lt;BR&gt;&lt;BR&gt;Thank you,&lt;BR&gt;Gary</description></item></channel></rss>