|
|
| Author |
Message |
y-watanabe
Joined: 29 Jun 2007 Posts: 12
|
Posted: Tue Jul 10, 2007 3:38 am Post subject: About Hovering |
|
|
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
|
Posted: Tue Jul 10, 2007 4:02 am Post subject: |
|
|
| Hey. Do you have HTMLSTYLE overlib in your config ?
|
|
| Back to top |
|
 |
y-watanabe
Joined: 29 Jun 2007 Posts: 12
|
Posted: Tue Jul 10, 2007 4:07 am Post subject: |
|
|
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
|
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2132 Location: United Kingdom
|
Posted: Tue Jul 10, 2007 5:10 am Post subject: |
|
|
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
|
Posted: Mon Jul 23, 2007 7:09 am Post subject: |
|
|
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: 2132 Location: United Kingdom
|
Posted: Mon Jul 23, 2007 7:21 am Post subject: |
|
|
| 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
|
Posted: Mon Jul 23, 2007 7:33 am Post subject: |
|
|
| 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
|
Posted: Mon Jul 23, 2007 7:56 am Post subject: |
|
|
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.
| Description: |
|
| Filesize: |
82.01 KB |
| Viewed: |
1248 Time(s) |

|
|
|
| Back to top |
|
 |
|