INFOURL Question

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
User avatar
Khan
Posts: 48
Joined: Mon Nov 03, 2003 11:08 am
Location: Madtown, WI

INFOURL Question

Post by Khan »

So I've been playing with the INFOURL option on the nodes and the links section of my config files and I was wondering if there is a way to pass certain javascript options to the link that pops up such as:

Code: Select all

ONCLICK="window.open('http://server.mycompany.com/information/
servername.html','miniwin','toolbar=0,location=0,directories=0,
status=0,menubar=0,scrollbars=0,resizable=0,width=450,
height=245')"
What I'm trying to do is open a specific sized window with no menus, toolbars, etc. Thoughts?
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

This isn't possible in the config file like that, no.

The only ways to achieve this kind of thing would involve some sort of post-processing - either a script to alter the HTML in the output/ folder, or something like jQuery or Prototype to alter to DOM in the browser (which in turn needs some small HTML changes, too). Neither of those are supported by either Weathermap or Cacti either though.

(did you mail me the other day? sorry for not replying quickly enough... work has bee crazy lately)
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
User avatar
Khan
Posts: 48
Joined: Mon Nov 03, 2003 11:08 am
Location: Madtown, WI

Post by Khan »

Yes I did email you about it but suspected you were pretty busy. So, I figured I'd post the question here and see if anyone in the forums had an answer. I didn't expect you to answer but hey, thanks for replying! :D

Anyway, I'll figure something out with either post processing or using the Links plugin. I was just hoping to be able to generate the page without having to leave the Weathermap page. Thanks for the quick reply, Howie.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests