Broetchen1234 / iui

Automatically exported from code.google.com/p/iui
MIT License
0 stars 0 forks source link

[PATCH] Use panel attributes to control right toolbar button #185

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I wanted to have a button in the right-hand corner of the toolbar only on
some of my pages, so I made a small patch to accomplish this.

I added something like this on all pages:

<div class="toolbar">
    <h1 id="pageTitle"></h1>
    <a id="backButton" class="button" href="#"></a>
    <a id="topButton" class="button" href="#" style="display:none;">TopButton</a>
</div>

and added new attributes to my panel:
<div id="1" class="panel" title="Title" selected="true"
    showInfo="true" infoUrl="somewhere.html" infoTitle="More" >

Maybe this can help others too.

Regards,
Thomas

Original issue reported on code.google.com by tom....@gmail.com on 8 Oct 2009 at 6:32

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by msgilli...@gmail.com on 9 Oct 2009 at 6:44

GoogleCodeExporter commented 9 years ago
Fix typo in summary

Original comment by msgilli...@gmail.com on 9 Oct 2009 at 7:01

GoogleCodeExporter commented 9 years ago
thanks for your work tom, it feels like its a dublicate to issue #133 
http://code.google.com/p/iui/issues/detail?id=133

I haven't tested your code but it seems more efficient than #133 - would be a 
good
plugin in my eyes. I'm using #133 for both the backbutton and the actionbutton, 
so
I'm interested in it! 

Original comment by melcher....@gmail.com on 9 Oct 2009 at 9:27