Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


About Hovering

 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (Network Weather Map)
Author Message
y-watanabe



Joined: 29 Jun 2007
Posts: 12

PostPosted: Tue Jul 10, 2007 3:38 am    Post subject: About Hovering Reply with quote

Hello!

It seems that my Hovering feature isn't working in my
weathermap 0.92.

I could see the cacti graph when I click the Link but
when I put my mouse on the Link the Hovering doesn't
show up.

I have used the PHP Weathermap Editor to configure it.
I have the following URL in the Hovering URL
/cacti/graph_image.php?local_graph_id=29&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300

I've also checked that the local_graph_id exists in the cacti database.

Any advice will be helpful

Thanks!
Back to top
frdrk



Joined: 06 Jul 2007
Posts: 41

PostPosted: Tue Jul 10, 2007 4:02 am    Post subject: Reply with quote

Hey. Do you have HTMLSTYLE overlib in your config ?
Back to top
y-watanabe



Joined: 29 Jun 2007
Posts: 12

PostPosted: Tue Jul 10, 2007 4:07 am    Post subject: Reply with quote

No I don't .
Do I need that in order to show the graph when I
hover the Link?
Back to top
y-watanabe



Joined: 29 Jun 2007
Posts: 12

PostPosted: Tue Jul 10, 2007 4:15 am    Post subject: Reply with quote

I've found the web page which describes about the HTMLSTYLE overlib.
http://www.network-weathermap.com/manual/0.92/pages/config-reference.html#GLOBAL_HTMLSTYLE

I should have read the manual carefully...

Thanks for educating me!
Back to top
Howie
Cacti Guru User


Joined: 16 Sep 2004
Posts: 2167
Location: United Kingdom

PostPosted: Tue Jul 10, 2007 5:10 am    Post subject: Reply with quote

y-watanabe wrote:
I've found the web page which describes about the HTMLSTYLE overlib.
http://www.network-weathermap.com/manual/0.92/pages/config-reference.html#GLOBAL_HTMLSTYLE

I should have read the manual carefully...

Thanks for educating me!


It does mention it in the OVERLIBGRAPH section too... maybe I should add some warning if you use OVERLIBGRAPH without setting the HTMLSTYLE.
Back to top
streaker69
Cacti Pro User


Joined: 27 Mar 2006
Posts: 647
Location: Psychic Amish Network Administrator

PostPosted: Mon Jul 23, 2007 7:09 am    Post subject: Reply with quote

This question kind of applies to this thread:

I made a static HTML page that's a legend of all the devices on the Weathermap. I then created a dummy node on the map and pointed the hoverover link to that static page. But when I hoverover, I don't get anything. If I put it on the click link I can click it and get to my static page, so cacti is able to find the page. What am I doing wrong with the hoverover?
Back to top
Howie
Cacti Guru User


Joined: 16 Sep 2004
Posts: 2167
Location: United Kingdom

PostPosted: Mon Jul 23, 2007 7:21 am    Post subject: Reply with quote

streaker69 wrote:
This question kind of applies to this thread:

I made a static HTML page that's a legend of all the devices on the Weathermap. I then created a dummy node on the map and pointed the hoverover link to that static page. But when I hoverover, I don't get anything. If I put it on the click link I can click it and get to my static page, so cacti is able to find the page. What am I doing wrong with the hoverover?


You can't do that.

It takes the OVERLIBGRAPH url and puts it into an <IMG> tag. Since your HTML page isn't an image, it doesn't work. You could turn your reference page into one long line of HTML (everything within the body tags) and use NOTES, or your could make an image of the page, and use that with OVERLIBGRAPH.

Maybe an option for NOTES to accept a URL for an external file would be useful...
Back to top
streaker69
Cacti Pro User


Joined: 27 Mar 2006
Posts: 647
Location: Psychic Amish Network Administrator

PostPosted: Mon Jul 23, 2007 7:33 am    Post subject: Reply with quote

Howie wrote:
streaker69 wrote:
This question kind of applies to this thread:

I made a static HTML page that's a legend of all the devices on the Weathermap. I then created a dummy node on the map and pointed the hoverover link to that static page. But when I hoverover, I don't get anything. If I put it on the click link I can click it and get to my static page, so cacti is able to find the page. What am I doing wrong with the hoverover?


You can't do that.

It takes the OVERLIBGRAPH url and puts it into an <IMG> tag. Since your HTML page isn't an image, it doesn't work. You could turn your reference page into one long line of HTML (everything within the body tags) and use NOTES, or your could make an image of the page, and use that with OVERLIBGRAPH.

Maybe an option for NOTES to accept a URL for an external file would be useful...


Ok, for now, I'll just make my Network Legend into an Image, that's no biggie.
Back to top
streaker69
Cacti Pro User


Joined: 27 Mar 2006
Posts: 647
Location: Psychic Amish Network Administrator

PostPosted: Mon Jul 23, 2007 7:56 am    Post subject: Reply with quote

Here's an example of what I was talking about in case anyone is interested in doing it themselves.

I made a dummy node called "Network Legend", I then converted my table of all my devices into a PNG file and pointed the hover over to that PNG.

Works out well for people that need to look at the map, but might not know what all the devices are.



LegendExample.jpg
 Description:
 Filesize:  82.01 KB
 Viewed:  1254 Time(s)

LegendExample.jpg


Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (Network Weather Map) All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group