Skip navigation
Currently Being Moderated

Javascript slideToggle function start expanded from specific link

Apr 26, 2013 7:51 AM

I'm using the slideToggle function below. At the moment the toggled div loads closed, but I would like to know how to set it to load open - but only when accessed from a specific link (a slidehow on the homepage). All other links to the page with the toggled div should load it in it's closed state as it does at the moment. Any ideas would be much appreciated!


Thanks in advance.


---------------------------------------------------------------------- -----


<script type="text/javascript">

$(function() {

$('#toggle4').click(function() {


    return false;






---------------------------------------------------------------------- -----


More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points