troubleshooting Question

nivo slider - jquery slider - start off then turn on again

Avatar of kimsurtd
kimsurtd asked on
JavaScriptPHPWordPress
3 Comments1 Solution1022 ViewsLast Modified:
I have modified my wordpress home page to add a banner for new visitors.  

If the nivo slider is turned on, it is too distracting to read.  So I start with the nivo slider off by changing the javascript to:  manualAdvance:true,

So that works great.

But once someone closes the banner by clicking on it, I want to kick the animation back on.  How would I do that?  The live version of my code is found here:

http://market.rockthedeadline.com

Static version here:

<div id=tbl name=tbl style="overflow:hidden;display:block">
<table id="fullnb" border=0>
<tr><td><a href="javascript:sizeTbl('none')"><img src="http://www.rockthedeadline.com/images/Home-Page-Banner-white.jpg"></a></td></tr>
</table>
</div>
<script language="JavaScript" type="text/javascript">
<!--
function sizeTbl(h) {
  var tbl = document.getElementById('tbl');
  tbl.style.display = h;
}
// -->

I know I should be sticking something into the sizeTbl function to turn it back on, because that is the code that closes the banner, but I'm not sure what exactly.  

Thanks!
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros