|
|
| Author |
Message |
Khan
Joined: 03 Nov 2003 Posts: 47 Location: Madtown, WI
|
Posted: Wed Jul 25, 2007 4:31 pm Post subject: INFOURL Question |
|
|
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: | 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? |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2248 Location: United Kingdom
|
Posted: Thu Jul 26, 2007 2:22 am Post subject: |
|
|
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) |
|
| Back to top |
|
 |
Khan
Joined: 03 Nov 2003 Posts: 47 Location: Madtown, WI
|
Posted: Thu Jul 26, 2007 5:41 am Post subject: |
|
|
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!
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. |
|
| Back to top |
|
 |
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|