|
|
| Author |
Message |
gilles Cacti User
Joined: 12 Jul 2005 Posts: 216
|
Posted: Wed Jan 09, 2008 6:16 am Post subject: Patch Plugin Architecture ("dock" style) |
|
|
i have updated my patch to add a "dock" style
i have put my code in a iframe because i don't know how to play with css and javascript
so maybe a developper can clean this
it's a bit slow with IE on windows XP but works well with firefox and IE on windows 2003
you need to patch each plugin :
in cacti/plugins/<plugin_name>/setup.php, you need to edit the link to the tab :
find something like :
<a href=...thold.php... </a>
or
<a href=...monitor.php... </a>
add 2 parameters :
- class="dock-item2"
- target="_parent"
you will have something like :
<a class="dock-item2" href=...thold.php... target="_parent"</a>
or
<a class="dock-item2" href=...monitor.php... target="_parent"</a>
save your files before applying this patch
this patch is for plugin Architecture 1.4 only
http://gilles.boulon.free.fr/arch/patch_arch_1.4.zip
Last edited by gilles on Mon Jan 14, 2008 7:47 am; edited 3 times in total |
|
| Back to top |
|
 |
chrisgapske Cacti User
Joined: 22 May 2007 Posts: 268 Location: Padacuh, Ky-Alpena, MI-Gulf Shores,AL
|
Posted: Wed Jan 09, 2008 9:26 am Post subject: |
|
|
Very interesting idea..
I would still love to see a cacti plugin so that as you transition over the tabs they would expand to full size. |
|
| Back to top |
|
 |
gilles Cacti User
Joined: 12 Jul 2005 Posts: 216
|
Posted: Wed Jan 09, 2008 2:49 pm Post subject: |
|
|
like mac os x (i think it's the dock)
it's possible in css demo |
|
| Back to top |
|
 |
chrisgapske Cacti User
Joined: 22 May 2007 Posts: 268 Location: Padacuh, Ky-Alpena, MI-Gulf Shores,AL
|
Posted: Wed Jan 09, 2008 3:04 pm Post subject: |
|
|
| gilles wrote: | like mac os x (i think it's the dock)
it's possible in css demo |
That is exactly what I am talking about. !!!
That would be great. |
|
| Back to top |
|
 |
rony Developer/Forum Admin
Joined: 17 Nov 2003 Posts: 5453 Location: Wisconsin, USA
|
Posted: Wed Jan 09, 2008 3:17 pm Post subject: |
|
|
OMG!
NO!!!!!!!
I have seen many things in my years on the net, but that is the first time I have seen that in a web browser....
That being said, I think tabs should go away...  |
|
| Back to top |
|
 |
chrisgapske Cacti User
Joined: 22 May 2007 Posts: 268 Location: Padacuh, Ky-Alpena, MI-Gulf Shores,AL
|
Posted: Wed Jan 09, 2008 3:20 pm Post subject: |
|
|
SO you like it or don't ?
| rony wrote: | OMG!
NO!!!!!!!
I have seen many things in my years on the net, but that is the first time I have seen that in a web browser....
That being said, I think tabs should go away...  |
|
|
| Back to top |
|
 |
streaker69 Cacti Pro User
Joined: 27 Mar 2006 Posts: 647 Location: Psychic Amish Network Administrator
|
Posted: Wed Jan 09, 2008 6:58 pm Post subject: |
|
|
| rony wrote: | OMG!
NO!!!!!!!
I have seen many things in my years on the net, but that is the first time I have seen that in a web browser....
That being said, I think tabs should go away...  |
I think my computer just threw up a little bit.
I don't mind the tabs, I just wanted them smaller. How about a design where they stack and which ever one is selected comes to front, like the real MS Tab Control does. |
|
| Back to top |
|
 |
gilles Cacti User
Joined: 12 Jul 2005 Posts: 216
|
|
| Back to top |
|
 |
|