html target TAG

Neil neil-on-nagios at restricted.dyndns.org
Sun Mar 7 09:06:45 CET 2004


Forget this post guys, I got it working by modifying status.c and rebuilding 
it. :) 

This is what I have now: 

if(temp_hostextinfo->notes_url!=NULL){
  printf("<A HREF=\"#\" onclick=\"");
  print_host_notes_url(temp_hostextinfo);
  printf("\">"); 


Neil writes: 

> Hey guys,  
> 
> When we add information to hostextinfo.cfg such as host_name, icon_image, 
> we get a new icon just close beside to the right of the hostname in the 
> Nagios web based-interface. I added a notes_url to it and it's working. 
> What I want to do now is to delete TARGET="_blank" for that part only 
> because I am planning to use javascript's window.open. What file should I 
> modify to that it will NOT include TARGET="_blank"? Btw, I have already 
> had a successful window.open but it's annoying because, two new windows 
> are created.  
> 
> Let me know. Any help will be grealy appreciated.  
> 
> Thanks,  
> 
> Neil 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when 
> reporting any issue. ::: Messages without supporting info will risk being 
> sent to /dev/null
 


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list