jquery mb.extruder

A good way to have extra content or a navigation tool in your page!
This jquery component let you easly build a sliding panel where to insert any kind of content; it has builtin all the functionalities for managing menu lines and sub panels with accordion effect. It can get the content via ajax and therefore you can dynamically build it by passing DATA via request using the metadata attribute settable on the extruder container.
v. 2.0
What’s new in 2.0:
- You can now have extruder on top, left, right, bottom.
- I’ve now added a new property: accordionPanels to choose if panels should close once opening a new one or not (true/false).














Matteo… this is exceptional work and great ui
Is it possible on the your extruder.top to add images
as in the left.extruder using the div class ‘text’ or any other way (BTW i love this)
would be a great help! thank you once more for this amazing work if you can help i can pledge a donation as this would make it viable in my new site
Hi Richard,
The top extruder can have the same content of the left one; the only difference between the two is that on the left you can have more than one element and on the top only one…
On the demo included in the download you can test changing the left one as top and viceversa.
Bye,
Matteo
Great plugin!
I would like to report a problem in IE7. If for example I click the options box next to “mb.creativity”, the button right below it (“mb.network”) does not slide down to make room for the second-level menu items.
Hi. Great work !
It would be great to have the parametervalue position:”right” !
And is is already possible to define the position of the flap ?
Hi Rob,
I’m working on right and bottom postioning;
what do you mean by flap position? position from top?
bye,
Matteo
P.S.: thnx for callbacks functions name… due to a refactor
PS. check your callbackfunctionnames in demo.html
Yes, I mean flap position from top. Thank you for feedback, and keep up the great work !
It newRooock!
Hello,
I made an adjustment in the extruder created by you and you can put the right screen. If you are interested send a mail to me.
Hi,
very nice work !.
But i found something very strange.
My test (downloaded from here) on localhost it’s working perfectly even in locally installed apache.
The same test copyed on our webhosting server in some browsers (Flock on windows, or Firefox on linux) we have a strange behaviour – the submenus doesn’t expand.
About 2 days testing and i am exhausted
bkiss
Hi bkiss,
All the menu calls are rendered via ajax with a POST method;
probably your servere doesn’t allow POST requests and that could be the problem; to solve this issue or you ask your administrator to allow post request on your webserver, or you change all the ajax request in mbExtruder js from POST to GET.
Bye,
Matteo
Hi Matteo,
You are the MAN !!!
This was the solution for the problem !
Thank you for your prompt reply,
bkiss
The mb.extruder positioned top does not seem to work in ie7. See the demo page for an example of the incorrect behaviour. http://pupunzi.com/mb.components/mb.extruder/demo/demo.html. Open the “extruder top” –> mb.jquery.components submenu. The mb.menu submenu is overlapping the top lever menu mb.creativity.
Is there a solution for this?
Great work, got 2 problems though
it isnt working in ie6, the flap animates when clicked, but content would never show
in some ie8 (not all), the panels will be stuck sometimes when clicked, for eg, when click panel 1, i suppose panel 2 would move downwards, but it would stay in the same position for a while, like a big delay, tested in firefox, safari, chrome with no problem, on other pc, ie8 has no problem at all
Any ideas?
Sorry the ie8 problem I mentioned above, it was suppose to be in ie7 problem. I think it is the problem poa mentioned above
Hi Ivan,
I’m not supporting IE6 anymore, too buggy and too old browser.
For the IE7 bug I’m working on…
Bye,
Matteo
Hi me again.
I did some change to the put an image with some mouseover like this:
<div id="extruderTop" class="{title:'’, url:’extruderTop.html’}”>
and it works nicely, but on the left panels, class=”(title:”…. doesnt work properly, is there any way to also put images on the left flap?
should be: title:’<img src……'
found a black rectangle box if i change this from the demo:
to
It happens on safari and chrome, but IE8 and FF is fine
Thank you for Extruder
http://phpbb3styles.maxthon.cz
Hi, Matteo!
Thanks for great script!
I am modifying it so panel is not fixed, but absolute and left:100px; It is a bit padded from left side.
My problem is – content is visible! Hope you understand what do I mean.
As far as I understand, it could work as follows:
When panel is closed, content could have an opacity to zero.
When panel is opened, content could have opacity to 1.
Or, better way would be to use some kind of masking. but i am not sure it is even possible….
What could you advise?
Thanks,
Ed.
Hi Smirnoff,
Actually the jquery.mb.extruder component in the “left” option can only be placed at the left of the page. I’m working to let it be positioned on any DOM element; maybe on next release…
Bye,
Matteo
Hello,
I’m using the left extruder and I understand how to change the width of the sliding panel, but how do you change the height? I do not want it to expand the whole page down, just enough to fit my buttons. Any advise?
Thank you,
Shannon
Hello Matteo,
I’m a big fan of your work. I’ve a question that is related to Shannon’s. Is there a way to resize the extruder, horizontally and vertically? I tried the resizable UI, but it doesn’t take. Also, I was going to try to make it work at the ‘bottom’ and ‘right’ positions, but after looking at your last comment, I’ll just wait for your next release. Again, great job.
Regards,
Karthick
Hola…
Hello, excellent work.
But not everything in life can be so beautiful, what I mean is that the file “jquery-latest.js” is not compatible with that offered by the web “http://jqueryjs.googlecode.com/files/jquery- 1.3.2.min.js” and this presents conflict with yours …
I wonder how I can solve the compatibility problem, and working with applications developed for the “jquery-1.3.2.min.js” official.
Many thanks.
Hi Francisco,
You should have just one of jQuery files on your page and the jQuery-latest should be exactly the 1.3.2. Try pointing just on http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js instead of including it from your local file.
Bye
Matteo
hi Matteo great work, one question, how as I do so that the menu be not hidden to the left, that always this visible one
hi,
how can i configure / change settings such that i can get the extruder instead of top position tobottom position and also the menu will open upwards?
Hi Varun,
At the moment the extruder can only be positioned to TOP or LEFT; I’m working on a new release where will be possible to position the extruder either on bottom or on right of the screen.
Thnx,
Matteo
Hi nice script, but for my requirements it’s important to have extruder positiond to bottom and right also.
Matteo, when it will be released the next version supported these features?
Nice job.
Stano
Hi Stano,
I’m spending a busy period and I don’t know when I’ll be able to work on it… maybe a week, maybe a month…
Bye,
Matteo
Hi Matteo,
really, I know this situation.
Never mind, time is only variable
Stano
Hi!
Thank you for your work.
http://forum.rocknijsie.pl <– my phorum with extruder
Bye.
Tom
Great job !
It’s possible to open the left extruder from a link inside the page (not only from the extruder tab)?
Thanks
Andrea
Hi Andrea,
Yes, you can open any extruder from an external link by triggering a click event on the extruder flap:
For Ex.: if your extruder ID is “extruderLeft”:
$(‘#extruderLeft .flap’).click();
Like this (open extruder from image)?
$(“#extruderLeft .test”).click();
(cutted code on previuos post…)
$(“#extruderLeft .flap”).click();
Hi,
Is it possible to save the current selected/opened panel within the extruder? If the extruder is opened again that the selected/opened panel is also opened.
Thanks,
Miro
Hi Miro,
there’s no method yet to do that, but you can change the jquery.mb.extruder script at line 191 commenting:
extruder.closeAllPanels();.Bye,
Matteo
Thanks for that. I’ll have a look.
Hi Matteo!
Your work is really a great effort! Excellent!
I am trying to implement both of your mbmenu and mbintruder plugins in the same site.
In Firefox it works brilliant, but in IE I have compatibility problems.
In mbmenu you use jquery1.3.2 but in the extruder you use jquery1.4.2
So if I use jquery1.3.2 then the extruder does not work in IE.
I use jquery1.4.2 then the extruder works well, but in mbmenu the submenus are flickering in both IE & Firefox.
Moreover IE givs the folloing error:
‘offset().top’ is NULL, or not an Object.
Line: 555
Char: 7
Code: 0
Is there a way to use both plugins in one page?
Thanks in advance,
Z.
Hi Matteo!
My mistake! I used the version 1.3 mbMenu demo, but now I realized, that you created a demo for 1.4 too.
Sorry!
Z.
It isn’t working correctly in Goggle Chrome. Is there a workaround, so the flap position is correct. My flap shows up in the middle of the page.
Yes, you find a bug; I update to v. 1.8.1 with the bugfix.
http://github.com/downloads/pupunzi/jquery.mb.extruder/pupunzi-jquery.mb.extruder-1.8.1.tar.gz
Bye,
Matteo
works … thank u
Hi Matteo!
Realy great work!!!
Just two questions.
1. Is it possible to have a few “top panels”?
2. Is it possible to have an option to “push” the main page (rather than “cover” it) when the panels are open? (Someting like this one http://srobbin.com/blog/jquery-pageslide)?
Thank you once again for your beautiful work!!!
Bye, Andrey
Hi Andrey,
at the moment you can have just one top panel but many left panels and it’s not possible to push the page… I get it as issue for next release.
Thnx,
Matteo
Hi Matteo, who can I put a form inside a child menu?
When i try to do it i get a strange behaviour.
Clicking in any “input” element the menu close himself.
Ciao Simone,
effettivamente questo è un bug…
Allora, se vuoi risolverlo subito devi cambiare 1 riga del codice ed aggiungere una classe alla tua FORM:
linea 283 (v. 1.8.1):
content.children()deve diventare:
content.children().not(".text")Aggiungi alla tua form: class= “text”
Ora ti dovrebbe funzionare correttamente.
Ciao
Matteo
Grazie sei gentile oltre che geniale!
Ultimo appunto:
Con chrome e i vari IE le lettere accentate nelle linguette in html diventano mostruose: Es. “Novità” ma credo riguardi il plugin fliptext o magari la pagina abbisogna di una codifica particolare.
Ciao Simone,
se la pagina ha un’encoding UTF-8 non dovresti avere problemi; altrinemti puoi provare a scrivere il titolo già encodato Ex: novità -> Novità
Ciao,
Matteo
I just wish down and right extrude….
Keep up the good work!
Hi the top extruder is not working for me…i have placed the extruderTop.html in the parts folder. The js files are in the inc folder and so are elements and css. I can see the extruder button but it does not drop down. I downloaded the examples folder and have done everything exactly as it is. Can anyone give me some further support on this???
Hi,
the path of contents you are loading inside the extruder via ajax must be relative to the page you are loading the extruder from. So, if your calling page is at the same level of inc folder and parts folder than the path to be called is: parts/extruderTop.html; but if is somewhere else it could be: ../parts/extruderTop.html or someotherfolder/parts/extruderTop.html dependig from your page position…
If you are using Chrome, it doesn’t make ajax call locally but on line it works.
Bye,
Matteo
Hello Matteo.
I read the document where you explain how to insert the code. But in this line: inc/jquery.mb.flipV.cryp.js
I don’t found in the inc folder “flipV.cryp.js” but this: “jquery.mb.flipText.min.js”. Where i can get FlipV please. Iam a beginner.
Thank you
Hi,
I don’t know which is the document you read but it’s old; if you need mb.extruder documentation please visit: http://wiki.github.com/pupunzi/jquery.mb.extruder.
Bye,
Matteo
hello) just noticed that, when using “inline” content link hover state doesn’t change in the extruder menu. tested it in the latest FireFox browser. Saw some other comment about the same issue in Docs. Other than that great component.
Hi Sergei,
that depends on your CSS customization… just take a look at the CSS file…
Bye,
Matteo
Thanks for the cool info , great material!
jquery mb.extruder Matteo Bicocchi's Blog
I had to change your code slight, to keep the state of the elements when they are moved into the container. You copy the HTML with looses the state of checkboxes in particular. (I am moving content from one place to the “side tab”. So I changed the code like the following (in buildMbExtruder):
var extruder,extruderContent,wrapper,extruderStyle,wrapperStyle,txt,timer;
extruder= $(this);
//extruderContent=$(this).html(); //removed so the data/binds move with it
extruder.css("zIndex",100);
var extW= this.options.position=="left"?1: this.options.width;
var c= $("").addClass("content").css({overflow:"hidden", width:extW});
extruder.wrapInner(c); //added code
c = jQuery(".content",extruder); //added code reset c so it is what the rest of the code expects.
//c.append(extruderContent); //removed so the data/binds move with it
//extruder.html(c);//removed so the data/binds move with it
Thanks for the great plug-in.
Hi Matteo,
i would like to understaind better what is the event to call to open the content of the menu’ by clicking on settingsBtn.png; what i want to do is to open it directrly on the page loqading without ” key press”
Thank’s
Ciao Francesco,
dove lo hai trovato settingsBtn.png?…
Per aprire direttamente un pannello quando la pagina viene caricata esiste un metodo: $(‘#extruderID’).openMbExtruder(true); passando il parametro “true” a questo metodo il pannello si chiuderà appena clicchi in un qualsiasi punto della tua pagina.
Per cui:
$(function(){$('#extruderID').openMbExtruder(true)
});
Ciao,
Matteo
Ciao Matteo,
per quello ci sono alla grande!! mi spiego meglio: l’extruder si apre , va benissimo poi clicco su l bottone che come immagine ha sttings.btn nella tua demo in mb.network clicchi sul pulsate e si aprono i sottomenu’; ecco io vorrei che in automatico si aprissero questi sottomenu’ ma nn riesco a trovare l’evento; ho trovato il $.fn.hidePanelsOnClose che lo fa chiudere … ma per apprirlo?
Grazie tante e complimenti per tutto davvero!!
ciao
Francesco
Ciao Francesco,
fare una funzione che apra un pannello specifico è possibile e facile; per il momento il componente è sviluppato per far si che quando apri un pannello vengono chiusi gli altri eventualmente aperti; per fare quello che vorresti tu dovrei cambiare il comportamento in modo che sia possibile scegliere di avere il comportamento attuale o far sì che l’apertura di un pannello mantenga aperti quelli eventualmente già aperti… sarà una feature per la prossima release
per aprire un pannello specifico aggiungi questa funzione nell’header della tua pagina:
$.fn.openPanel=function(){
$(this).find(".settingsBtn").click();
};
dai un’ID al DIV contenente il pannello che vuoi aprire;
chiama la funzione nel callback di apertura dell’extruder:
onExtOpen:function(){$("#[ID]").openPanel()},Ciao,
Matteo
ciao Matteo credo di nn aver capito bene: dunque io ho demo.html, extruderleft.html,network.html e mbextruder.js. Nell’ header di Demo html devo aggiungere $.fn.openPanel=function(){
$(this).find(“.settingsBtn”).click();}; poi in network.html do l’id al div e infine in mb extruder.js onExtOpen:function(){$(“#[ID]“).openPanel()}, ma nn mi è chiarissimo se nella openMbExtruder:function(c).
grazie ciao
Ciao Francesco,
Non devi toccare mbextruder.js; quando inizializzi un extruder, la funzione permette di definire dei metodi di callback che vengono invocati con determinati eventi;
per fare in modo che il tuo extruder si apra con un pannello espans puoi definire l’azione che l’extruder dovrà eseguire alla sua apertura; l’evento quindi da definire è onExtOpen.
Ecco un’esempio:
$("#extruderLeft").buildMbExtruder({
position:"left",
width:300,
extruderOpacity:.8,
onExtOpen:function(){$(“#panelID“).openPanel()},
onExtContentLoad:function(){},
onExtClose:function(){}
});
Penso comunque di pubblicare entro la fine della prossima settimana una nuova versione con implementate nuove funzionalità (come quella di poter aprire più submenu contemporaneamente).
Ciao,
Matteo
Hello Matteo,
I was going to use extruder coming from the left (similar to the OUR NETWORK tab in the demo) but when I look at your demo page in IE7 there is a problem. The content is showing when the tab is closed. Has anybody gotten it to work in IE7? It seems to slide out okay and the second tab beneath it seems to work.
Your help would be appreciated.
Thanks!
Hi Hemrie,
this issue has been solved in the last release candidate 1.8.6; here is the download: http://github.com/pupunzi/jquery.mb.extruder/zipball/1.8.6rc1
Bye,
Matteo
THANKS!!!!!!!!!!!!!
I’m having the same problem:) Just ie7. I’m seeing the posts hanging outside the left extruder. (LOVE this btw) I don’t support ie6 so I don’t care what it does there.
Hi Krysta,
IE7 has some unblocking dispaly issue… sorry.
Bye,
Matteo
Hi Matteo!
How can I add an image on the tabs instead of Text (Title)… there is a way to do that ?? Keep the good work… It is really good.
I would appreciate your help.
Tks.
Hi Rodrigo,
Actually you can add images only on the extruder top flap, not on the left one.
You can add your image by writing the img tag as title:
class="{title:'<img src=\'http://www.mondografica.it/wp-content/uploads/2008/06/free_vista_icons.jpg\'> extruder top', url:'parts/extruderTop.html'}"Hope to add this feature in the next release.
Bye,
Matteo
hello i have a left panel and a top panel but when i start the site the toppanel is open the left is closed i dont understand why is the top open it closed after 2000 by setting in autoclosed can i take a comand to closed all pannels at start ??
my content is a login form in the top panel and the code is
db= data table mysql
$(function(){
$(“#login”).buildMbExtruder({
position:”‘.$positions.’”, //db top
width:’.$breite.’, //db 200
positionFixed:’.$posfix.’,// db true
extruderOpacity:.8,
slideTimer:100,
autoCloseTime:’.$autoclosed.’,//db 2000
hidePanelsOnClose:false,
onExtOpen:function(){},
onExtContentLoad:function(){},
onExtClose:function(){}
});
});
an the php code :
close “.$row->title.”
“.$row1['title'].”
“.$loginsc .”
i have test this but that is not going nothing is showing
Hi Harry, panels should be closed at startup… it’s quite strange your top panel starts open, don’t know why…
do you have a public URL where to see it?
Bye,
Matteo
hello ,thanks for answer ok now the problem is gone away, but please take a look to my website in firefox is it ok but in ie is the button hight not ok .
how can i take the text height max =inhalt ?
Hi Harry,
try changing line 46 & 47 of jquery.mb.flipText.js:
From:
if(!tb) el.css({‘writing-mode’: ‘tb-rl’, height:h, filter: ‘fliph() flipv("") ‘, whiteSpace:"nowrap"}).css(‘font-weight’, ‘normal’);
label=$("<span style=’height:0;width:0;’>"+el.html()+"</span>");
To:
if(!tb) el.css({‘writing-mode’: ‘tb-rl’, height:h, filter: ‘fliph() flipv("") ‘, whiteSpace:"nowrap", lineHeight:fontsize+2+"px"}).css(‘font-weight’, ‘normal’);
label=$("<span style=’height:0;width:0;line-height:0;’>"+el.html()+"</span>");
Bye,
Matteo
Hello Matteo, excelent work.
Man, i need to use it on one proyect im building, but i need to display the FLAPS from the right side of the browser… can you help me out?
Hi Carlos,
.
this issue has been added in the latest release candidate 1.8.9rc1; if you want you can download it here: http://github.com/pupunzi/jquery.mb.extruder/zipball/1.8.9rc1
be careful that this is not yet a public release and it could have bugs
Let me know if it works fine,
Bye,
Matteo
Great Component! I’ve made a small change that I think others might like. I want the “tab” to be more of a toggle. So if i click it a second time when its open, it automatically closes it. I noticed if you click it a second time, it actually starts to mess things up even when you click outside the panel. Adding a simle hasClass function in openMbExtruder will solve it:
openMbExtruder:function(c){
var extruder= $(this);
if (extruder.hasClass(“open”))
{
extruder.closeMbExtruder();
}
else
{
$(document).unbind(“click.extruder”+extruder.get(0).idx);
var opt= extruder.get(0).options;
extruder.addClass(“open”);
if(!isIE) extruder.css(“opacity”,1);
var position= opt.position;
extruder.mb_bringToFront();
if (position==”top”){
extruder.find(‘.content’).slideDown( opt.slideTimer);
if(opt.onExtOpen) opt.onExtOpen();
}else{
if(!isIE) $(this).css(“opacity”,1);
extruder.find(‘.ext_wrapper’).css({width:”"});
extruder.find(‘.content’).css({overflowX:”hidden”});
extruder.find(‘.content’).animate({ width: opt.width}, opt.slideTimer);
if(opt.onExtOpen) opt.onExtOpen();
}
if (c) {
setTimeout(function(){
$(document).one(“click.extruder”+extruder.get(0).idx,function(){extruder.closeMbExtruder(); console.debug(extruder.get(0).idx)});
},100);
}
}
},
Hello Matteo,
I am a student in computer science in France. And I wonder if it is possible that I use
your mb.extruder for my homepage ? What’s the terms ?
I really appreciate your work. I hope to hear from you soon.
See you later
Hi Luccio,
of course you can use it on your site, all my components are under GPL, MIT licence, so just leave a reference to me on your page code.
Bye,
Matteo
Is there a way to delay the opening of an extruder panel?
I hsvr multiple extruder panels over the top of each other and I would like the first panel to close before the next one opens, adding a small delay to the second panel opening should allow time for the first one to close.
Hi Alan,
no, there’s no parameter to set a delay for the open panels action; as I can understand you don’t like that each extruder panels closes other panels while it’s opened…
You can add yourself a timeout delay around line 322 of the original code,
content.slideDown(400);Bye,
Matteo
Hi, from where i can download this widget?????
Hi muhammad, the link is on the page… click on the SAVE button… anyway here is the direct link:
http://github.com/downloads/pupunzi/jquery.mb.extruder/pupunzi-jquery.mb.extruder-1.8.1.tar.gz
Bye,
Matteo
Hi,
This is a very awesome plug-in.. great work! I am currently working to get it into an Adobe AIR application. It works perfectly fine when the position is “top” but if I change it to “left” nothing appears.
Thanks,
–Dave
Hi dave,
is i possible to see your page on line to get what’s going wrong?
Bye,
Matteo
I can zip what I have and send it to you some how. The application I am working on is not public.
–Dave
Hi Matteo,
Great work, very impressive!
I downloaded the extruder and it seems to be working fine except that the top menu wouldn’t drop down if I click it and the left ones do slide but they wouldn’t show the external html contents, what am I doing wrong?
I’m using your demo,
http://localhost/pupunzi-jquery.mb.extruder-b22a229/demo.html
Thanks.
Hi Matt,
I put it online if you wanna take a look: http://www.moemaamoun.com/demo/extruder/demo.html
I’m not certain what I’m doing wrong, but would appreciate your help.
Thanks.
Hi Moe,
Extruder content you can’t see are loaded via Ajax using POST method; your server doesen’t seam to allow POST (405 Method Not Allowed).
You can solve this problem either asking your provider to allow POST requests or changing all the ajax call in the mb.extruder.js from POST to GET.
Bye,
Matteo
Hi Matt,
Thanks a lot for your reply, changed it and it worked like magic! Really useful.
One last question: Do you reckon I’d face the same problem with the image gallery?
Thanks.
Moe.
Hi Moe,
mb.gallery doesn’t use ajax to load images; you should not have the same problem.
Bye,
Matteo
Hi Matt,
Thank you for your quick responses!
I have one more problem, everything works fine now, except that I wanted to put an RSS feed in the sliding tab.
The tab seems to load the html fine, but it doesn’t load the RSS feed in google chrome or safari, it does work perfectly well in firefox and ie8, haven’t tested on 7 yet, but so far it seems to be something is about the compatibility with chrome and safari.
Can you help?
Here’s test address: http://www.moemaamoun.com/test.html
Hi Moe,
don’t really know… the error is shoot by the rssfeed function; it’s returning undefined…
TypeError: Result of expression '$('#feed').rssfeed' [undefined] is not a function.You can try to call this function at the end of the called page instead of on document ready; once you insert content via ajax the document is already ready so the function you are invoking is called before the element is written in the page; if you move the function at the end it will find the element and it should work.
Another problem is that you should not have the header on the called page; your called page should be:
<script src="js/jquery.zrssfeed.min.js" type="text/javascript"><span style="color:Red;">html text! </span>
<div id="feed"> </div>
<script type="text/javascript">
$('#feed').rssfeed('http://www.moemaamoun.com/blog/?feed=rss2', {
limit: 10
});
</script>
Bye,
matteo
Hi Matt,
Yeap that was it, that sorted it out, it seemed like it’s true because on firefox sometimes it didn’t work untill I visited the rssfeed page, which I think cached it.
But yeah, of course putting it at the end of the page makes absolute sense! Thanks a lot.
I also think it’s worth mentioning when I moved the code inside the sliding tag, it worked fine, like a charm.
Once again, thanks a lot for everything from sharing your work to supporting it very well
Thumbs up!
Excellent piece of work. Now for stupid question…
How do I call a javascript function from clicking a menu or submenu item. In some cases, I will be wanting to implement more than one menu item to call the same function, but with different parameters.
Thanks in advance for your help.
Hi Billy,
you just have to create your function and call it via href:
on the main page you need to define the function:
function myFunc(params){// your code
}
either on the menu line drawer page:
<div id="tw" class="voice {panel:'parts/extr.tw.html'}"><a class="label" href="javascript:myFunc(myParams)">teamwork</a></div>or on submenu lines drawer page:
<div ><a class="label" href="javascript:myFunc(myParams)">some action label</a></div>Hope this can help you,
Matteo
Thanks for the useful things. These are really useful for us…
This is a really great plugin. However, would there be a reason for the Ajax POST method over GET in the demo? This was something that was kind of frustrating and I spent about 30 minutes trying to see what the issue was. It’s not a lot of time wasted, but would be nice to have this in a comment within the demo or something that’s highlighted for those who are less proactive in reading LOL.
Hi Pete,
can you tell me wich is teh reason I should use the GET method instead?
Bye,
Matteo