GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
JQuery::CSS(3) User Contributed Perl Documentation JQuery::CSS(3)

JQuery::CSS - a CSS helper

Version 1.00

Allow CSS to be defined either as a file, text or a hash

     my $css = new JQuery::CSS(file => '/jquery_js/dates/default.css') ;
     $css->output_text ;

The CSS is created and will normally be added to JQuery. JQuery will then output the css automatically, so there will generally be no need to call $css->output_text.

     my $css = new JQuery::CSS(file => '/jquery_js/dates/default.css') ;
     $css->output_text ; 
     my $css = new JQuery::CSS( text => "tr.alt   td {background: #ecf6fc;} \
                                tr.over  td {background: #bcd4ec;} \
                                ") ; 


     $css->output_text ; 
     $css = new JQuery::CSS( hash => {
                                    '.odd' => {'background-color' => "#FFF"} , 
                                    '.even' => {'background-color' => "#D7FF00"} , 
                                    '.highlight' => {'background-color' => "#333", 
                                                     'color' => '#FFF', 
                                                     'font-weight' => 'bold', 
                                                     'border-left' => '1px solid #FFF', 
                                                     'border-right' => '1px solid #FFF' }, 
                                     'table' => {width => '900px', 'font-size' => '16px'},
                                     }) ; 
     $css->output_text ; 
     my $css = new JQuery::CSS(text => 'body {font-family:      Arial, Sans-Serif;font-size:    10px;}') ;
     $css->output_text ; 

     my $css = new JQuery::CSS(text => ['body {font-family:     Arial, Sans-Serif;font-size:    10px;}',
                                   'head {font-family:  Arial, Sans-Serif;font-size:    10px;}']) ;

new
Instantiate the object
output_text
Get the text for the object. Usually, JQuery takes care of calling this and the user program should not need to call it.

Peter Gordon, "<peter at pg-consultants.com>"

Please report any bugs or feature requests to "bug-jquery-taconite at rt.cpan.org", or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=JQuery>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

You can find documentation for this module with the perldoc command.

    perldoc JQuery

You can also look for information at:

  • AnnoCPAN: Annotated CPAN documentation

    <http://annocpan.org/dist/JQuery>

  • CPAN Ratings

    <http://cpanratings.perl.org/d/JQuery>

  • RT: CPAN's request tracker

    <http://rt.cpan.org/NoAuth/Bugs.html?Dist=JQuery>

  • Search CPAN

    <http://search.cpan.org/dist/JQuery>

Copyright 2007 Peter Gordon, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

2022-04-09 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.