Hi there,
This is the code i've got;
Code:
<TD class="tabLink" align="left" nowrap onMouseOver="this.className='tabLinkHover';window.status='';return true" onMouseOut="this.className='tabLink';" onClick="window.parent.navigate('<%=strHttpRef%>');" title="" alt=""><IMG align="absmiddle" hspace="2" src="../images/save.gif" alt="" /> Save changes</TD>
Code:
<TD width="100%"></TD>
</TR>
</TABLE>
</TD>
</TR>
<TR>
<TD height="125">
<TABLE>
<TR>
<TD class="tabLink" align="center" nowrap onMouseOver="this.className='tabLinkHover';window.status='';return true" onMouseOut="this.className='tabLink';" onClick="window.navigate('appearance.asp?StyleSheet=blue');" alt=""><IMG align="absmiddle" hspace="2" src="../images/sp_blue.gif" alt="" /><BR> Blue</TD>
<TD class="tblGap">|</TD>
<TD class="tabLink" align="center" nowrap onMouseOver="this.className='tabLinkHover';window.status='';return true" onMouseOut="this.className='tabLink';" onClick="window.navigate('appearance.asp?StyleSheet=green');" title="" alt=""><IMG align="absmiddle" hspace="2" src="../images/sp_green.gif" alt="" /><BR> Green</TD>
<TD class="tblGap">|</TD>
<TD class="tabLink" align="center" nowrap onMouseOver="this.className='tabLinkHover';window.status='';return true" onMouseOut="this.className='tabLink';" onClick="window.navigate('appearance.asp?StyleSheet=orange');" title="" alt=""><IMG align="absmiddle" hspace="2" src="../images/sp_orange.gif" alt="" /><BR> Orange</TD>
<TD class="tblGap">|</TD>
<TD class="tabLink" align="center" nowrap onMouseOver="this.className='tabLinkHover';window.status='';return true" onMouseOut="this.className='tabLink';" onClick="window.navigate('appearance.asp?StyleSheet=purple');" title="" alt=""><IMG align="absmiddle" hspace="2" src="../images/sp_purple.gif" alt="" /><BR> Purple</TD>
<TD class="tblGap">|</TD>
<TD class="tabLink" align="center" nowrap onMouseOver="this.className='tabLinkHover';window.status='';return true" onMouseOut="this.className='tabLink';" onClick="window.navigate('appearance.asp?StyleSheet=red');" title="" alt=""><IMG align="absmiddle" hspace="2" src="../images/sp_red.gif" alt="" /><BR> Red</TD>
<TD width="100%"></TD>
As you can see, each link launches the appearance.asp file with the ?StyleSheet="" code, and actually changes the stylesheet, and the Save Changes link at the top just refreshes the page.
Is it possible to get each style link to store the selected style sheet in a variable, then get the Save Changes link to include the variable in the refresh.
Basically what I want is for nothing to change until they actually hit 'Save Changes'
Thanks/...