Support » Fixing WordPress » Can a script run in a widget?

  • I am using the “text” widget (instead of the “links” widget) for my blogroll. The length of it is getting out of control so I found a script that makes a cool accordion-like effect that expands and contracts on a mouse click. But for the life of me, I can’t seem to get it to work. I understand the html and css parts of it, but it calls for javascript using jquery. I’ve placed the javascript code in my header.php and sidebar.php (not at the same time) but to no avail. Is there a plug-in that allows for javascript to be placed directly in the widget with the html code? That would be the best. But if not, then how do I get the widget to “call” for that script? I’ve noticed other javascripts in my header.php. Could they be competing with each other so that is why is doesn’t work? Thanks.

    my website
    website of the script I’m trying to use

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can a script run in a widget?’ is closed to new replies.