tag:blogger.com,1999:blog-2504865884110659551.post4136267306117138075..comments2022-10-22T04:11:35.513-04:00Comments on code that works: Simple-expand: simple jQuery plug-in to expand/collapse elementsSylvain Hamelhttp://www.blogger.com/profile/02893038274559437241noreply@blogger.comBlogger11125tag:blogger.com,1999:blog-2504865884110659551.post-56629330232293690712019-09-30T10:34:50.786-04:002019-09-30T10:34:50.786-04:00I get an error
"VM8004:130 Uncaught TypeErro...I get an error <br />"VM8004:130 Uncaught TypeError: $ is not a function<br /> at VM8004:130"<br /><br /> $(function () {<br /> console.log("firing");<br /> $('.expander').simpleexpand();<br /> $('.expander').click();<br /> });Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2504865884110659551.post-89996497675248765862014-12-29T10:49:06.138-05:002014-12-29T10:49:06.138-05:00I have several sections on my page that need to ex...I have several sections on my page that need to expand or collapse when they are clicked. The plugin expands or collapses on ALL sections AT THE SAME TIME, meaning when one section is clicked, other sections also expand or collapse. What do I have to do to make it work on one section at a time. Thank you.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2504865884110659551.post-8502312018467279052014-03-05T13:52:58.841-05:002014-03-05T13:52:58.841-05:00Great one! thanks for sharing, very simple once I ...Great one! thanks for sharing, very simple once I found the rest of the javascript code for the function.Anonymoushttps://www.blogger.com/profile/00775604747315289160noreply@blogger.comtag:blogger.com,1999:blog-2504865884110659551.post-59058712537039362792013-09-20T13:00:38.773-04:002013-09-20T13:00:38.773-04:00None, the '#' is enough. It's just to ...None, the '#' is enough. It's just to trick the browser into thinking that the link is valid. Sylvain Hamelhttps://www.blogger.com/profile/02893038274559437241noreply@blogger.comtag:blogger.com,1999:blog-2504865884110659551.post-41207453581216097592013-09-19T11:53:16.388-04:002013-09-19T11:53:16.388-04:00What link should i put in the href=''#'...What link should i put in the href=''#'' ?Hjhttp://thehub.waplux.comnoreply@blogger.comtag:blogger.com,1999:blog-2504865884110659551.post-81534229636820780562013-08-21T13:33:49.376-04:002013-08-21T13:33:49.376-04:00Hi, I think what you are trying to accomplish is p...Hi, I think what you are trying to accomplish is possible with the plug-in. But I don't understand your question. Can you rephrase?Sylvain Hamelhttps://www.blogger.com/profile/02893038274559437241noreply@blogger.comtag:blogger.com,1999:blog-2504865884110659551.post-16418975512398980642013-08-21T12:48:00.094-04:002013-08-21T12:48:00.094-04:00Im not sure if you have developed coding, but Im l...Im not sure if you have developed coding, but Im looking for a Menu that has a submenu and when you click on the submenu, then a description will open up. All the menus have submenus and all the submenus have a description. Thanks in advance for your help.<br /><br />example:<br />Menu1<br />Menu2<br /> ------SubmenuA<br /> ---------Description<br /> ------SubmenuB<br />Menu3<br /><br /><br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2504865884110659551.post-91642574522172714032012-12-30T16:48:29.397-05:002012-12-30T16:48:29.397-05:00You can load the plug-in and trigger the click:
...You can load the plug-in and trigger the click:<br /><br /> $('.expander').simpleexpand();<br /> $('.expander').click();<br /><br />but you will see the expand animation. <br /><br />It would be simple to add an option to support that. Please log an issue on the project's github issues list and I'll implement it.Sylvain Hamelhttps://www.blogger.com/profile/02893038274559437241noreply@blogger.comtag:blogger.com,1999:blog-2504865884110659551.post-56481320139566280972012-12-28T06:10:33.488-05:002012-12-28T06:10:33.488-05:00Hey this works great for me. But is there also a w...Hey this works great for me. But is there also a way to have it exanded by default and collapsed on click? Thanks!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2504865884110659551.post-36905725326218859312012-10-30T13:44:04.935-04:002012-10-30T13:44:04.935-04:00Hi, what do you mean? Are you saying the paragraph...Hi, what do you mean? Are you saying the paragraphs don't expand in the demo page? I tried them and they work. Can you give me more details?Sylvain Hamelhttps://www.blogger.com/profile/02893038274559437241noreply@blogger.comtag:blogger.com,1999:blog-2504865884110659551.post-6570224484248983922012-10-30T12:48:13.885-04:002012-10-30T12:48:13.885-04:00it doesn't work...it doesn't work...Anonymousnoreply@blogger.com