Sponsored Content
Contact Us Post Here to Contact Site Administrators and Moderators Make the SEARCH button REALLY BIG Post 5015 by Neo on Monday 6th of August 2001 09:40:34 PM
Old 08-06-2001
OK. What do you think?

Anyone have a BETTER BIG BUTTON, let me know !!!!|
 

9 More Discussions You Might Find Interesting

1. AIX

big brother monitoring tool - make failed

Hi, Does anyone has installed bb on a unix system ? I am trying to install bb on aix 5.3 but I have the following message: If someone can help me probably there is a tool that I need to install ? I don't have C compiler I install gcc instead and gcc++ etc ... bb:/home/bb/bb1.9g-btf/src/ $ make... (0 Replies)
Discussion started by: touny
0 Replies

2. UNIX for Dummies Questions & Answers

Script for using the Back button and the Close button

Here's a question I have for anyone that might be able to help me: I can write a html script that will allow the user to return to the previous page using the back button, and I can write a script that will allow the user to return to the previous page using the close button, but...is there a... (1 Reply)
Discussion started by: mdgibson
1 Replies

3. Shell Programming and Scripting

Need script to make big directory structure

Hi, I'm a novice and I'd like to make a directory structure with a hundred or so folders. I've tried mkdir /foo/foo1/etc... mkdir /foo/foo2/etc mkdir /foo/foo3/etc mkdir /foo/foo4/etc ...but it appends '@' to each folder name and then fails on the subdirectories. Is it better to use a... (2 Replies)
Discussion started by: kamur
2 Replies

4. UNIX for Dummies Questions & Answers

Changing middle mouse button for pasting to right mouse button in cygwin rxvt

Hi, I'm using rxvt in Cygwin and I'm wondering how to change my mouse bindings from the middle button for pasting to the right button. The main reason why I want to do this is because my laptop doesn't have a middle mouse button. Thanks for any help! (2 Replies)
Discussion started by: sayeo
2 Replies

5. Solaris

Search for big file size only in root fs

Hi all, I'm working on Solaris and quite often I receive the alert message of file system at 90%. I'd like to find which files caused this happens (at least the biggest files) with the following command: find . -size +10000000c -exec ls -larth {} \; This looks for every file in every fs... (4 Replies)
Discussion started by: Evan
4 Replies

6. Shell Programming and Scripting

Print #of lines after search string in a big file

I have a command which prints #lines after and before the search string in the huge file nawk 'c-->0;$0~s{if(b)for(c=b+1;c>1;c--)print r;print;c=a}b{r=$0}' b=0 a=10 s="STRING1" FILE The file is 5 gig big. It works great and prints 10 lines after the lines which contains search string in... (8 Replies)
Discussion started by: prash184u
8 Replies

7. Shell Programming and Scripting

How to make a quick search through a script?

Hello, I have a file that has more than 300K records (i.e contains numbers). I need to take these records and than search them in 40 files while each file has more than 1.8 million records. I wrote a script, but its very slow and takes alot of time. I have tried to split my 300k records in 6... (7 Replies)
Discussion started by: umarsatti
7 Replies

8. Shell Programming and Scripting

Perl - start search by using search button or by pressing the enter key

#Build label and text box $main->Label( -text => "Input string below:" )->pack(); $main->Entry( -textvariable => \$text456 )->pack(); $main->Button( -text => "Search", -command => sub { errchk ($text456) ... (4 Replies)
Discussion started by: popeye
4 Replies

9. UNIX for Dummies Questions & Answers

How to make search on gmane?

Hello. How can I make a search on string "install script" on site gmane in comp.sysutils.backup.bacula.general. Any help is welcome (0 Replies)
Discussion started by: jcdole
0 Replies
DHTML(3pm)						User Contributed Perl Documentation						DHTML(3pm)

NAME
Data::TreeDumper::Renderer::DHTML - DHTML renderer for Data::TreeDumper SYNOPSIS
use Data::TreeDumper ; #------------------------------------------------------------------------------- my $style ; my $body = DumpTree ( GetData(), 'Data', DISPLAY_ROOT_ADDRESS => 1, DISPLAY_PERL_ADDRESS => 1, DISPLAY_PERL_SIZE => 1, RENDERER => { NAME => 'DHTML', STYLE => $style, BUTTON => { COLLAPSE_EXPAND => 1, SEARCH => 1, }, }, ) ; print <<EOT; <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" > <html> <!-- Automatically generated by Perl and Data::TreeDumper::DHTML --> <head> <title>Data</title> $style </head> <body> $body <p> <img src='http://www.w3.org/Icons/valid-xhtml10' alt='Valid HTML 4.01!' height="15" width='44' /> </p> </body> </html> EOT DESCRIPTION
Simple DHTML renderer for Data::TreeDumper. Thanks to Stevan Little author of Tree::Simple::View for giving me the idea and providing some code I could snatch. EXAMPLE
Check dhtml_test.pl for a complete example of two structure dumps within the same HTML file. OPTIONS
Style CSS style is dumped to $setup->{RENDERER}{STYLE} (a ref to a scalar) if it exists. This allows you to collect all the CSS then output it at the top of the HTML code. my $style ; my $body = DumpTree ( ... RENDERER => { NAME => 'DHTML', STYLE => $style, }, ) ; {RENDERER}{NO_STYLE} removes style section generation. This is usefull when you defined your styles by hand. my $style ; my $body = DumpTree ( ... RENDERER => { NAME => 'DHTML', NO_STYLE => 1, }, ) ; Class The output will use class 'data_tree_dumper_dhtml' for <li> and <ul>. The class can be renamed with the help of {RENDERER}{CLASS}. This allows you to dump multiple data structures and display them with a diffrent styles. my $style ; my $body = DumpTree ( ... RENDERER => { NAME => 'DHTML', CLASS => 'my_class_name', }, ) ; Glyphs Data::TreeDumper outputs the tree lines as ASCII text by default. If {RENDERER}{NO_GLYPH} and RENDERER}{NO_STYLE} are defined, no lines are output and the indentation will be the default <li> style. If you would like to specify a specific style for your tree dump, defined you own CSS and set the appropriate class through {RENDERER}{CLASS}. Expand/Collapse Setting {RENDERER}{COLLAPSED} to a true value will display the tree collapsed. this is false by default. $setup->{RENDERER}{COLLAPSED}++ ; If {RENDERER}{BUTTON}{COLLAPSE_EXPAND} is set, the rendered will add a button to allow the user to collapse and expand the tree. $setup->{RENDERER}{BUTTON}{COLLAPSE_EXPAND} Search If {RENDERER}{BUTTON}{SEARCH} is set, the rendered will add a button to allow the user to search the tree. This is a primitive search and has no other value than for test. Bugs I'll hapilly hand this module over to someone who knows what he does :-) Check the TODO file. EXPORT
None AUTHORS
Khemir Nadim ibn Hamouda. <nadim@khemir.net> Staffan Maahlen. Copyright (c) 2003 Nadim Ibn Hamouda el Khemir and Staffan Maahlen. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perlitself. If you find any value in this module, mail me! All hints, tips, flames and wishes are welcome at <nadim@khemir.net>. SEE ALSO
Data::TreeDumper. perl v5.10.0 2008-12-19 DHTML(3pm)
All times are GMT -4. The time now is 04:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy