in reply to Tabbed html interfaces using perl??

What do you have so far and which part are you having trouble with?
  • Comment on Re: Tabbed html interfaces using perl??

Replies are listed 'Best First'.
Re^2: Tabbed html interfaces using perl??
by fadingjava (Acolyte) on Oct 21, 2004 at 05:17 UTC
    so far i have a template of the html page i want to display. the way i have set it up is that , its not tabs actually, but just gif images which give the look of tabs , but are essentially linked to another html page. so what i have is four different html pages for displaying the four arrays.

      The only portion of your question that relates to Perl can be answered by saying, "Use print to output whatever HTML you wish for your script to produce."

      What HTML (and Javascript) is needed to produce the look you're after on your website is... an HTML / Javascript question, and should be posed to an HTML or Javascript forum.

      As an aside, if you're struggling with CGI in general, pick up the book, "CGI Programming with Perl". If you're unfamiliar with Perl, start with "Learning Perl" first, or the CGI book will lose you quickly. Both of those books are published by O'Reilly & Associates. It will also prove beneficial (if not crucial) to read the documentation for CGI.


      Dave

        CGI Programming with Perl might be the only O'Reilly Perl book I wouldn't recommend; it's out of date and I hate style cops as much as anyone but... well. There is a wealth of tutorials and documents and other books; though I can't endorse any. Still, you might be able to find out if you'd like the current edition of the book on your shelf by browsing the graciously provided first edition here.

        The second edition looks better but all in all I believe this mindset/style is why PHP caught fire. Better to learn plain old perl (as davido suggests), some JavaScript, XHTML, and CSS, and then head for a book on Template or Mason, or whatever your poison, instead.