Getting Rid of Annoying Bootstrap Table Borders and Wayward Table Lines
Bootstrap is great; but we have had some issues with Bootstrapped <tables> (and legacy <fieldset> elements) showing annoying, wayward lines. I solved that problem today with this simple jQuery in the footer:
I have requirement:
1) Check the record count in table (table in oracle)
2) If records exists generate the file for existing records and wait for some time (Go to sleep mode) and
Again check the record count after 10 min.......... (Loop this process if record count >0).
3) Generate touch... (1 Reply)
I have requirement:
1) Check the record count in table (table in oracle)
2) If records exists generate the file for existing records and wait for some time then Go to sleep mode and
Again check the record count after 10 min.......... (Loop this process if record count >0).
3) Generate touch... (1 Reply)
Hi
I am having three oracle databases running in three different machine. their ip address is different. from one of the DB am able to access both the databases.(means am able to select values and insert values in to tables individually.)
I need to fetch some data from DB1 table(say DB1 ip is... (2 Replies)
hi there, I am trying to create a stored procedure that i can pass the table name to and it will create a table with that name. but for some reason it creates with what i have defined as the variable name . In the case of the example below it creates a table called 'tname'
for example
... (6 Replies)
Hello,
I'm working with putty on Windows 7 professional and I'd like to know if there's a way to gather specific lines from a pre-existing table and make a new table with that information.
More specifically, I'd like the program to look at a specific column, say column N, and see if any of the... (5 Replies)
I am new to this shell scripting....
I have a file which contains list of users. This files get updated when new user comes into the system.
I want to create script which will give a table containing unique list of users. When I say unique, it means script should match table while parsing... (3 Replies)
I have an application that collect data from 10 server every minutes and stored to mysql db,. there are about 10K record from each server on every minutes. that data will need to stored in 1 month.
Which ones is better, create single table for all servers and put field to identified data... (3 Replies)
hi,
i need to copy one table with data into another table,
right now am using
create table table1 as select * from table2
i want the constraints of table1 to be copied to table2 also , can anyone give me some solution to copy the constraints also, now am using oracle 10.2.0.3.0... (1 Reply)
Hello,
I need some help to reformat this table-by-row to matrix?
infile:
site1 A:o,p,q,r,s,t
site1 C:y,u
site1 T:v,w
site1 -:x,z
site2 A:p,r,t,v,w,z
site2 C:u,y
site2 G:q,s
site2 -:o,x
site3 A:o,q,s,t,u,z
site3 C:y
site3 T:v,w,x
site3 -:p,routfile:
SITE o p q r s t v u w x y... (7 Replies)
Hello,
CDE workspace.
How to get rid of annoying popping up file manager window which appears every time after logging in.
For example.any suggestions, I would be appreciate. (3 Replies)
Discussion started by: wolfgang
3 Replies
LEARN ABOUT DEBIAN
jifty::manual::jquerymigrationguide
Jifty::Manual::jQueryMigrationGuide(3pm) User Contributed Perl Documentation Jifty::Manual::jQueryMigrationGuide(3pm)NAME
jQueryMigrationGuide - How to migrate your code to use jQuery.
Migrate your jifty app to jquery
Application developers may start the migration by modifying config.yml, setting the "ConfigFileVersion" to 4. If you did not write any
custom javascript code for your app, then you're done. Everything should just work.
If you did write some javascript code, but you did not use any of the functions defined in jifty*.js, prototype.js or scriptaculous.js,
then you're still good to go.
Otherwise, your code might need to be modified a little bit. Since both prototype.js and scriptaculous.js are removed by default, one
trivial choice is to simply bring them back. That is as easy as adding the Prototypism plugin to your Jifty application.
If you dislike Prototypism like we do, you can choose to re-write your code with jQuery. In the section "From Prototype to jQuery" below,
we provide some common patterns that can be applied to rewrite Prototypism code with jQuery, or with just normal javascript.
If you hack on Jifty's internals, please make sure you've read the following "Jifty API" section and Jifty::Manual::JavaScript to catch the
Javascript API updates since the removal of "prototype.js".
Although we've removed "prototype.js", we still prefer to use the non-conflict mode of jQuery. That is, "$" function is now undefined
instead of an alias to jQuery. This is to ensure that it's not conflicting with Prototypism anywhere. If you'd like to use "$" function,
create that alias in your "app.js" like this:
$ = jQuery;
However, instead of making a global alias, it's always recommended to localize this alias within a closure:
(function($) {
// $ is an alias to jQuery only inside this closure
$(".message").show();
})(jQuery);
Jifty API
We re-architected Jifty's javascript libraries to use jQuery. Especially the internal functions to process form elements.
The old, Prototype-based way is to extend Form object and the Form.Element object. Since the removal of the Prototype library, it is
dangerous to name those functions under Form because loading the Prototype library can destroy those Jifty functions.
The new jQuery-based way is to always extend internal functions under the Jifty object. "Form" becomes "Jifty.Form", "Form.Element" becomes
"Jifty.Form.Element", and so on. The detailed list of these functions are given in Jifty::Manual::Javascript. Most of those functions are
internal functions that you probably should not use directly.
From Prototype to jQuery
If you've ever written javascript code for your Jifty applications, and you'd like to remove the PrototypeJS library, here are some
mechanical rules to re-write prototype.js-based javascript code with jQuery.
Array iteration
From:
A.each( function( $_ ) { ... } )
To:
jQuery.each(A, function(index, value ) {
// "this" is an alias to current value.
})
Hash key iteration
From:
H = new Hash({...});
H.each(function( pair ) {
// pair.key is the key
// pair.value is the value
});
jQuery.each is designed to work on both "Array" and "Object" in the same way. So there's not much difference.
To:
// H can be any kind of "Object"
jQuery.each(H, function(key, value) {
// "this" is an alias to current value.
})
Object extend
From:
obj.extend({ ... }}
To:
jQuery.extend( obj, { ... } )
JSON
jQuery does not ship with the JSON stringify function, but since it neither altered the native Array, nor defined its own Hash, it's
acceptable and preferred to just use "JSON.stringify" from "json.js".
From:
// obj need to be one of those objects defined in C<prototype.js>
obj.toJSON();
To:
JSON.stringify( obj )
Effects
jQuery has a small set of default effects built into its core. They have different names then those defined in "scriptaculous.js". The
internal way to specify effects is using the "Jifty.Effect" method. Please see the detailed usage documentation in
Jifty::Manual::JavaScript.
perl v5.14.2 2010-12-08 Jifty::Manual::jQueryMigrationGuide(3pm)