Skip navigation
Tyharo
Currently Being Moderated

Collapsible spry Link Issue

Jan 31, 2012 11:36 AM

Tags: #cs4 #adobe #spry #collapsible

Ive been using a collapsible spry as my main menu of my site. I Have it so the Home title doesnt have any drop downs. I want to make it so the Home collapsible spry menu links to the index page. When I do link the Home button and attempt to click on it, The button will do nothing. How do I fix this?

 

Note: I am only making this site on my computer not on a server, there is no actually hosting going on.

 
Replies
  • Currently Being Moderated
    Jan 31, 2012 3:11 PM   in reply to Tyharo

    Use the following click event.

    onclick="window.location=this.href;return false;"

    Gramps

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 31, 2012 3:53 PM   in reply to Tyharo

    In that case there must be an irregularity. Hard to know without seeing your document in situ.

     

    Gramps

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 31, 2012 4:53 PM   in reply to Tyharo

    There is no href in the div hence window.location=this.ref will not work.

     

    If you place it within the anchor tag where there is an href, it will work.

    <div class="CollapsiblePanelTab" tabindex="0"><a href="index.html"  onclick="window.location=this.href;return false;">Home</a></div>

    Gramps

     
    |
    Mark as:

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