Javascript based widget running regardless
-
Hello,
I have a problem with coding widgets. I’ve done a handful of small ones for private use that I don’t want to give out to the public until I’m happy they are up to standard.
My issue is with widgets that run javascript. Whether I am using that widget on the page or not it is still running the javascript. Is there a tag or some way of coding the plugin so that it only runs my initialisation code if its being used in a sidebar?
Hope I’m just missing something basic here, but I can’t rack down details on this for love nor money.
Regards,
Leonard
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Javascript based widget running regardless’ is closed to new replies.