RE: Trying to add hyperlink

2006-06-23 Thread Nath, Alok (STSD)
Thanx Clarles.This code is really cool. I was looking something like this . -Original Message- From: Charles K. Clarkson [mailto:[EMAIL PROTECTED] Sent: Thursday, June 22, 2006 10:22 PM To: beginners@perl.org Subject: RE: Trying to add hyperlink chen li wrote: : How to convert the

RE: Trying to add hyperlink

2006-06-22 Thread Charles K. Clarkson
chen li wrote: : How to convert the format above into an OOP style when : adding a hyperlink? I am afraid many people might : have typo if they follow the format above. First, let's fix a few things with this implementation. Use the -w or the warnings pragma, not both. The preference is for

Re: Trying to add hyperlink

2006-06-22 Thread Scott Taylor
On Thu, June 22, 2006 09:25, chen li wrote: > > > --- Prabu <[EMAIL PROTECTED]> wrote: > >> Hello, >> >> Hope this is your need... >> >> #!/usr/bin/perl -w >> use warnings ; >> >> use CGI qw/:standard/; >> print header, start_html("Stsd ILO Links"), h1("Stsd >> ILO Links") ; >> >> print table({-bo

Re: Trying to add hyperlink

2006-06-22 Thread chen li
--- Prabu <[EMAIL PROTECTED]> wrote: > Hello, > > Hope this is your need... > > #!/usr/bin/perl -w > use warnings ; > > use CGI qw/:standard/; > print header, start_html("Stsd ILO Links"), h1("Stsd > ILO Links") ; > > print table({-border=>undef,,-width=>'75%', > -height=>'70%'}, > caption(s

RE: Trying to add hyperlink

2006-06-22 Thread Nath, Alok (STSD)
Sent: Thursday, June 22, 2006 1:51 PM To: Nath, Alok (STSD) Cc: beginners@perl.org Subject: Re: Trying to add hyperlink Hello Alok, FineBut each box needs to go to different link right.So it should be specified in each box .. If not can u a give me little more detailed requirement li

RE: Trying to add hyperlink

2006-06-22 Thread Charles K. Clarkson
Prabu wrote: : use CGI qw/:standard/; [snip] : th(['','Network Switch','Bay 1','Bay 2','Bay 3' ,'Network : Switch' ]), Sorry, that will produce invalid xhtml 1.0 Transitional, the default DOCTYPE for CGI.pm. Better to use the a() function already loaded into the main namespace by the 'use' st

Re: Trying to add hyperlink

2006-06-22 Thread Prabu
Message- From: Prabu [mailto:[EMAIL PROTECTED] Sent: Thursday, June 22, 2006 12:06 PM To: Nath, Alok (STSD) Cc: beginners@perl.org Subject: Re: Trying to add hyperlink Hello, Hope this is your need... #!/usr/bin/perl -w use warnings ; use CGI qw/:standard/; print header, start_html("

RE: Trying to add hyperlink

2006-06-22 Thread Nath, Alok (STSD)
: beginners@perl.org Subject: Re: Trying to add hyperlink Hello, Hope this is your need... #!/usr/bin/perl -w use warnings ; use CGI qw/:standard/; print header, start_html("Stsd ILO Links"), h1("Stsd ILO Links") ; print table({-border=>undef,,-width=>'75%',

Re: Trying to add hyperlink

2006-06-22 Thread Muma W.
Nath, Alok (STSD) wrote: Hi, I was trying to add a hyperlink to each of the boxes but it was not putting it in the right place.Can anyone help me in this regard ? [...] Try this: td([ a({href=>'http://url.example.com'}, 'My link text') ]) -- To unsubscribe, e-mail: [EMAIL PRO

Re: Trying to add hyperlink

2006-06-21 Thread Prabu
Hello, Hope this is your need... #!/usr/bin/perl -w use warnings ; use CGI qw/:standard/; print header, start_html("Stsd ILO Links"), h1("Stsd ILO Links") ; print table({-border=>undef,,-width=>'75%', -height=>'70%'}, caption(strong('Web Page Under construction?')), Tr({-align=>CENTER,-valign=