Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Colombo
Red Hat Certified System Administrator (RHCSA) - RHEL 10
Sanjeewani95
Updated:
Yesterday at 7:43 PM
NURSING , CAREGIVER , HOTEL & BEAUTY COURSES
IVA Para Medical Campus
Updated:
Thursday at 9:24 AM
Handmade Character Soft Toys Peppa Pig Family
anil1961
Updated:
Wednesday at 9:58 PM
Ad icon
Video Content Creator
pramukag
Updated:
Sunday at 6:10 AM
Ad icon
QA Engineer Intern
pramukag
Updated:
Sunday at 6:07 AM
Electronics
Vehicles
Property
Search
Reply to thread
Forums
Computers & Internet
Tips & Tricks
Tips & Tricks Collection of DC
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="||~DxxCxxxx~||" data-source="post: 3691534" data-attributes="member: 137393"><p><strong>"Grab" Form Field Text</strong></p><p></p><p><img src="http://www.chronotext.org/Isaiah/img/SlidingText_FR.jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p><span style="font-family: 'Tahoma'"><span style="font-size: 10px"><strong></strong></span></span></p><p><span style="font-family: 'Tahoma'"><span style="font-size: 10px"><strong>Description:</strong></span></span></p><p><span style="font-family: 'Tahoma'"><span style="font-size: 10px"> Use these instructions to add the date to your web site.</span></span> <span style="font-family: 'Tahoma'"><span style="font-size: 10px"><strong>Directions:</strong> </span></span></p><p><span style="font-family: 'Tahoma'"><span style="font-size: 10px"> Below you will see example code and where to place it in your HTML file. You can add HTML tags to format the text and position it wherever you want.</span></span> <p style="text-align: left"><span style="font-family: 'Tahoma'"><span style="font-size: 10px">Paste the code between the open and close BODY tags within your document, like this:</span></span></p><p> <p style="text-align: left"><span style="font-family: 'Courier New'"><span style="font-size: 10px"><HTML></span></span></p> <p style="text-align: left"><span style="font-family: 'Courier New'"><span style="font-size: 10px"> <HEAD></span></span></p> <p style="text-align: left"><span style="font-family: 'Courier New'"><span style="font-size: 10px"> <TITLE>Title of page here.</TITLE></span></span></p> <p style="text-align: left"><span style="font-family: 'Courier New'"><span style="font-size: 10px"> </HEAD></span></span></p> <p style="text-align: left"><span style="font-family: 'Courier New'"><span style="font-size: 10px"> </span></span></p> <p style="text-align: left"><span style="font-family: 'Courier New'"><span style="font-size: 10px"> <BODY></span></span></p><p> <p style="text-align: left"><span style="font-family: 'Courier New'"><span style="font-size: 10px"><span style="color: #0000ff"> Add code anywhere here to display time.</span></span></span></p><p> <p style="text-align: left"><span style="font-family: 'Courier New'"><span style="font-size: 10px"></BODY></span></span></p> <p style="text-align: left"><span style="font-family: 'Courier New'"><span style="font-size: 10px"> </HTML></span></span></p> <p style="text-align: left"></p> <p style="text-align: left"></p> <p style="text-align: left"> Then use Control-C to copy the text into your web page.</p> <p style="text-align: left"><span style="font-family: 'Verdana'"><span style="font-size: 10px"><span style="font-size: 9px"><span style="font-family: 'Tahoma'"><span style="font-size: 9px"></span></span></span></span></span></p> <p style="text-align: left"><span style="font-family: 'Verdana'"><span style="font-size: 10px"><span style="font-size: 9px"><span style="font-family: 'Tahoma'"><span style="font-size: 9px"></span></span> </span></span></span></p><p>[code][LEFT]<SCRIPT LANGUAGE="Javascript"><!--</p><p></p><p>// Get today's current date.</p><p>var now = new Date();</p><p></p><p>// Array list of days.</p><p>var days = new Array('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');</p><p></p><p>// Array list of months.</p><p>var months = new Array('January','February','March','April','May','June','July','August','September','October','November','December');</p><p></p><p>// Calculate the number of the current day in the week.</p><p>var date = ((now.getDate()<10) ? "0" : "")+ now.getDate();</p><p></p><p>// Calculate four digit year.</p><p>function fourdigits(number) {</p><p> return (number < 1000) ? number + 1900 : number;</p><p> }</p><p>// Join it all together</p><p>today = days[now.getDay()] + ", " +</p><p> months[now.getMonth()] + " " +</p><p> date + ", " +</p><p> (fourdigits(now.getYear())) ;</p><p></p><p>// Print out the data.</p><p>document.write("Today\'s date is " +today+ ".");</p><p> </p><p>//--></SCRIPT></p><p></p><p></p><p></p><p></p><p>[/LEFT]</p><p> [/code]</p></blockquote><p></p>
[QUOTE="||~DxxCxxxx~||, post: 3691534, member: 137393"] [b]"Grab" Form Field Text[/b] [IMG]http://www.chronotext.org/Isaiah/img/SlidingText_FR.jpg[/IMG] [FONT=Tahoma][SIZE=2][B] Description:[/B] Use these instructions to add the date to your web site.[/SIZE][/FONT] [FONT=Tahoma][SIZE=2][B]Directions:[/B] Below you will see example code and where to place it in your HTML file. You can add HTML tags to format the text and position it wherever you want.[/SIZE][/FONT] [LEFT][FONT=Tahoma][SIZE=2]Paste the code between the open and close BODY tags within your document, like this:[/SIZE][/FONT][/LEFT] [LEFT][FONT=Courier New][SIZE=2]<HTML> <HEAD> <TITLE>Title of page here.</TITLE> </HEAD> <BODY>[/SIZE][/FONT][/LEFT] [LEFT][FONT=Courier New][SIZE=2][COLOR=#0000ff] Add code anywhere here to display time.[/COLOR][/SIZE][/FONT][/LEFT] [LEFT][FONT=Courier New][SIZE=2]</BODY> </HTML>[/SIZE][/FONT] Then use Control-C to copy the text into your web page. [FONT=Verdana][SIZE=2][SIZE=1][FONT=Tahoma][SIZE=1] [/SIZE][/FONT] [/SIZE][/SIZE][/FONT][/LEFT] [code][LEFT]<SCRIPT LANGUAGE="Javascript"><!-- // Get today's current date. var now = new Date(); // Array list of days. var days = new Array('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'); // Array list of months. var months = new Array('January','February','March','April','May','June','July','August','September','October','November','December'); // Calculate the number of the current day in the week. var date = ((now.getDate()<10) ? "0" : "")+ now.getDate(); // Calculate four digit year. function fourdigits(number) { return (number < 1000) ? number + 1900 : number; } // Join it all together today = days[now.getDay()] + ", " + months[now.getMonth()] + " " + date + ", " + (fourdigits(now.getYear())) ; // Print out the data. document.write("Today\'s date is " +today+ "."); //--></SCRIPT> [/LEFT] [/code] [/QUOTE]
Insert quotes…
Verification
Payakata winadi keeyak tibeda?
Post reply
Top
Bottom