I am working on a code where I need to display tooltip for a particular text once the mouse is hovered on the text. If the information to be displayed in the tooltip is too large, I want to display a scroll bar in the tooltip such that I can scroll down to verify all the inforamtion. But I didn't have any information about this tooltips with scrollbars. Is it possible to create a tooltip with a scrollbar? Please let me know.
Thanks...
User Profile
Collapse
-
Tooltip with Scrollbar
-
Dear Rajiv,
As per my understanding, here is what you want:
You have a registry file whose data was stored based on the username and the acess dates. You want to get the data from the file which matches with the reg-ex given by you.
Did you want to get the data along with the date or were you searching the data with the username itself?
Please correct me if I am wrong.... -
Thank you kevin for correcting my mistake.
Deepali, try this code for deleting a file:
...Code:use strict; my $dir = '<path>'; opendir DH, $dir or die $!; my @files = readdir(DH); closedir(DH); foreach my $file(@files){ next if ($file eq "." or $file eq ".."); if(unlink("<path>\\$file")){ print "\n$file wasLeave a comment:
-
Try this code.
[CODE=perl]
use strict;
my $dir = <path of the directory>;
opendir DH, $dir or die $!;
my @files = readdir(DH);
closedir(DH);
foreach my $file(@files){
next if ($file eq "." or $file eq "..");
my $val = unlink("<path of the directory>\\$fi le");
if ($val == 0){
print "\n$file' was...Leave a comment:
-
-
You can try this one too..
Code:$file = 'c:\Perl\Beth\f7.txt' open(INFO, $file); while ($_ = <INFO>) { $line = $_; $line =~ s/(\d+)(\w+)/$2/g; if($line =~ /(.)\1/) { print $line; } } close(INFO);Leave a comment:
-
If my guess is not wrong, the output you want is :
001 orannges
003 pickles hammburger
Is it right?...Leave a comment:
-
-
How can we check the encoding format of an XML when there is no DTD to be validated against? I have tried with Encode::Guess module but not able to get the format. May be something wrong in the code:
...Code:use Encode::Guess; use strict; my $filename = 'records.xml'; open (my $fh,$filename) or die $!; my $data = ""; while($_ = <$fh>){ $data .= $_; } my $decoderLeave a comment:
-
How to check the encoding format of an XML
Dear All,
I have an xml without the encoding format line like "<?xml version="1.0" encoding="UTF-8"?>" at the start of the xml. I am parsing the XML using the module XML::Parser and I am able to parse it without any errors.
If I want to check the encoding format of the XML how can I check that? Is there any method in Perl to check the encoding format of the XML which is without the XML Declaration... -
You can achieve the result in 2 ways:
1) using split function as
2) using the regex as you have askedCode:my $str="NVRAM 0x0000C000 to 0x0000FEFF;asdweqrc"; my @strings = split(/;/,$str); print "result = $strings[1]";
...Code:my $str="NVRAM 0x0000C000 to 0x0000FEFF;asdweqrc"; $str =~ s/(.*);(\w+)/$2/gi; print "result = $str";
Leave a comment:
-
-
-
Thanks alot Kevin for your suggestion. I will go through it and will let you know if I don't get an idea....Leave a comment:
-
It's not a school assignemnt. It's some work assigned to me in my project....Leave a comment:
-
-
As I have to use Locale::Maketex t::Lexicon module only in my project , I want to display the content of the file using that module itself. Please let me know how we can display the content....Leave a comment:
-
How to dispaly the content of a file
Dear All,
I want to display the content of a file which I will be exporting to the module Locale::Maketex t::Lexicon. For example there is a file "/abc/cde.po" and I wan to access this file using the above module.
Please let me know how to display the content of the file where as I am using the CGI environment.
SSS.pm
...Code:package SSS; use lib '../lib/perl-5.8.3/lib/site_perl';
-
You can use Perl's rename() method for renaming a file as
rename(sourcefi le, destfile)...Leave a comment:
-
The data corresponding to the tags in the above xml is Czec. My problem is that the Parser.pm is not able to parse these characters.
Can you please give me a script which can parse these special characters i.e. a method to handle these characters using XML::Parser module....Leave a comment:
No activity results to display
Show More
Leave a comment: