Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: sunw
  • Content: Threads
  • Order by date
  1. sunw

    How to fix doctype rendered by CGI::Pretty.pm

    I have a web page created by CGI::Pretty that only works with IE6, but not with IE7, nor with Firefox. I asked for help at HTML/CSS forum (for details, please refer to here). And I was told that the doctype of my web page is WRONG. Here is the DOCTYPE: <?xml version="1.0"...
  2. sunw

    Help need in tuning my style sheet.

    Hi, Experts, I am new to css/dhml. I wrote a piece of css/dhml code which works ok with IE (not perfectly, though), but not work at all with firefox. Here is my css file – mystyle.css: .outterRow { background: #996600; text-align: center; width: 96%; margin: 0 auto; /* to center it...
  3. sunw

    How to convert conventional html tables into divs

    Experts, I am new to dhtml/css. I have a page which contains a table somewhat like this: <table border='1' width='90%'> <tr> <th rowspan=2 colspan=2>Item Name</th><th colspan=5>Check all that apply</th></tr> <tr> <td width='10%' align='center'>Box 1</td> <td width='10%' align='center'>Box...
  4. sunw

    How to create table rows dynamically in JS

    Experts, I am rather new to javascript. I want to create an html page which can add rows dynamically based on a user input. I wrote a piece of code below. But I don't know how to correctly implement 'addRows()' to do the job. Thanks for your help. <html><head><title>Dynamica Form</title>...
  5. sunw

    Trouble in set/read/delete cookies using CGI.pm

    I wrote a small perl cgi code to test set/read/delete cookie as follows. use strict; use CGI::Pretty qw( :html3 ); use CGI::Cookie; local $| = 1; my $cookieName = 'ckname'; my $userInput = 'input'; my $q = new CGI::Pretty; if($q->param('ok') == 1) { my $val = $q->param($userInput); my...
  6. sunw

    Ways to reach private variables in another module?

    At first, please take a look at the following codes: File 'test1.pl': #! /usr/bin/perl use strict; use test2; my $thisStr = &getStr; print "\$thisStr = $thisStr\n"; print "##$test2::str##\n"; File 'test2.pm': use strict; use vars qw(@ISA); use vars qw(@EXPORT); require Exporter; @ISA =...
  7. sunw

    Please help in debugging this CGI::Ajax code

    I wrote a small piece of perl code using CGI::Ajax. #! /usr/bin/perl use strict; use CGI::Pretty qw( :html3 ); use CGI::Ajax; local $| = 1; my $q = new CGI::Pretty; my $p = new CGI::Ajax('js_func' => \&pl_func); my $flag = 1; # if $flag != 1, then the Ajax codes would not work!! if($flag...

Part and Inventory Search

Back
Top