ব্যবহারকারী:ARI/common.js
লক্ষ্য করুন: প্রকাশ করার পর, পরিবর্তনগুলো দেখতে আপনাকে আপনার ব্রাউজারের ক্যাশে পরিষ্কার করার প্রয়োজন হতে পারে।
- ফায়ারফক্স / সাফারি: পুনরায় লোড-এ ক্লিক করার সময় শিফট টিপে ধরে রাখুন, অথবা হয় Ctrl-F5 বা Ctrl-R টিপুন (ম্যাকে ⌘-R টিপুন)
- গুগল ক্রোম: Ctrl-Shift-R (ম্যাকে ⌘-Shift-R) টিপুন
- এজ: Ctrl ধরে রাখা অবস্থায় Refresh-এ ক্লিক করুন, অথবা Ctrl-F5 টিপুন।
- অপেরা: Ctrl-F5 টিপুন।
( function () {
// Wait for the page to be ready
$( function () {
var message = 'JavaScript (User: ARI)';
// Create a small div at the top of the body
var $testDiv = $( '<div>' )
.text( message )
.css( {
'background-color': '#d4edda',
'color': '#155724',
'text-align': 'center',
'padding': '10px',
'border-bottom': '2px solid #c3e6cb',
'font-weight': 'bold',
'position': 'fixed',
'top': '0',
'left': '0',
'width': '100%',
'z-index': '9999'
} );
$( 'body' ).prepend( $testDiv );
setTimeout( function () {
$testDiv.fadeOut( 'slow' );
}, 5000 );
console.log( "JS Test: Success." );
} );
}() );