bhomatude
09-16-2011, 07:59 AM
Complete newb trying to break apart existing code to add some additional function.
This is the working code:
<a class="hackadelic-sliderButton" title="click to collapse panel" onclick="toggleSliderOfGroup('.a-32', '#hackadelic-sliderPanel-1')" href="javascript:;">Close Panel »</a>
What I would like to do is add in an html anchor so that the browser relocates to the top of the page just as the panel toggles closed. ie
<a href="#topofpage"></a>
I realize I may not even be in the right forum but I'm trying! thanks.
This is the working code:
<a class="hackadelic-sliderButton" title="click to collapse panel" onclick="toggleSliderOfGroup('.a-32', '#hackadelic-sliderPanel-1')" href="javascript:;">Close Panel »</a>
What I would like to do is add in an html anchor so that the browser relocates to the top of the page just as the panel toggles closed. ie
<a href="#topofpage"></a>
I realize I may not even be in the right forum but I'm trying! thanks.