Showing posts with label tag. Show all posts
Showing posts with label tag. Show all posts

Sunday, 28 February 2016

How to Create an Anchor Tag for a Phone NumberIn Feburary 2016 28,

In Feburary 2016 28,
Open your HTML editor. If you don't have one, launch the Notepad text editor, which you can find in the 'Accessories' folder of your Windows Start menu.
Open the Web page into which you want to insert the anchor tag by clicking on 'File' and selecting 'Open.'
Copy and paste, or type, the following code before the phone number you want to turn into a hyperlink:Replace '5551234567' with the phone number you want your visitors to dial when clicking on the link.
Type or copy and paste the following code after the phone number you want to turn into a hyperlink:As an example, the complete code for the fictional '5551234567' phone number would be:(555) 1234-567
Save the HTML file. Upload it to your Web server by using your Web host's file manager tool or an FTP client.
In Feburary 2016 28,

Saturday, 27 February 2016

How to Log On to iLOIn Feburary 2016 27,

In Feburary 2016 27,
Restart the server and press 'F8' when prompted during the POST. The iLO starts running, and you will be prompted to enter a username and password. Enter the valid iLO user ID and password. The defaults are 'administrator' for the username, and the number from the tag attached to the server for the password.
Enter the serial number of the server in the DNS field. Click 'OK' when you are finished and you will be signed in to iLO.
Change the default administrator password if you want by clicking 'Administrator' at the bottom of the page. Enter the new password in the password field and hit 'F10' on your keyboard to apply it.
Click 'File' and then 'Quit' to close iLO. The server will automatically reboot. When iLO comes back up, type the new password in the password field and click 'OK.' Your new password will be changed.
In Feburary 2016 27,

Thursday, 25 February 2016

How to Change Form Field Value With JavaScriptIn Feburary 2016 25,

In Feburary 2016 25,
Open a text editor and create a new file named fillForm.html. Add some HTML tags to the file that include an open '
' tag, an open '
' tag, a closing '
' tag, an open '
' tag, a closing '
' tag, and a closing '
' tag. Together, these tags implement a basic HTML page.
Add a '
Add a JavaScript function between the '' tags. Name the function fillForm() and include an open curly brace '{' and a close curly brace '}' to indicate where to place the function's code.
Edit the fillForm() function and use a getElementById JavaScript function to set the value of the input field with the id value 'formToFill' to the text 'Changed Value'.
Type a '' tag and save fillForm.html.
Add a '
' HTML tag to the file and add an onClick() event to the button that calls the fillForm() function. Set the button's text to 'Click to change the value in the formToFill input field.'. Close the '
' tag and save and close fillForm.html.
Open the file in a web browser and click the button to change the text in the form field from the text 'Original Value' to 'Changed Value'.
In Feburary 2016 25,

Sunday, 21 February 2016

How to Create Flash Video AdsIn Feburary 2016 21,

In Feburary 2016 21,
Determine the size of your ad space and set the Stage dimensions of your Flash project file to the matching specifications of your ad. Most online ads fall within the 100-200-pixel range, but this will vary dramatically based on the site where your ad will be placed. Go to 'Modify' and 'Document' and set your project dimensions. Flash also provides templates with multiple sizes often used for ads and can be implemented by selecting the 'Template' option when the 'New File' dialogue window appears.
Add any text or external graphics to your ad, such as a logo or tag line for your business. To use a logo or graphic created outside of Flash, import the file to your Library and drag the graphic onto your Stage in the appropriate location. Go to 'File' and 'Import to Library' and choose your graphic from the dialogue boxes.
Place your video file on your Internet server by uploading the Flash video file to your server using an FTP connection, or File Transfer Protocol. Make note of the exact location of the file to place in Flash during the import video stage.
Import your video onto the Stage to build the core element of your ad. Go to 'File' and 'Import to Stage' and follow the dialogue windows as they locate your video file from your server's URL address and import the movie into Flash. Be sure your movie is in the Flash video format of FLV before embedding the file into the project.
Select the 'skin' for your Flash player from the dialogue window for importing your video. The type of skin you choose will be based on how you want people to interact with your ad. If you would like them to have to play the video on the ad, be sure to choose a skin with a play button. Most online video ads have no controls, so select the no-skin setting to achieve this effect.
Save your project file as an FLA for your archive and future editing. The FLA will not be placed online but will be needed to make any edits or adjustments.
Go to 'File' and 'Publish Settings' and deselect the HTML option. Be sure the Flash option is selected and publish the file. This action will produce the SWF necessary to post your video ad online. Once the SWF is created, it will function as a graphic file and can be added to your website or blog just as you would add a digital image or graphic.
In Feburary 2016 21,

Friday, 19 February 2016

How to Insert a Time Stamp in PHP MySQLIn Feburary 2016 19,

In Feburary 2016 19,
Create a new field in your database. Open the 'phpMyAdmin' utility for your MySQL databases. Select the database of your choice from the left-hand menu. Select the table in which you wish to place the new time stamp field and click on the 'Structure' action item. Hit the 'Go' button next to the 'Add One New Field' selection.
Set the attributes of the new field. Under the 'Field' input box enter your new field's name. Name the field 'Timestamp.' Select the 'Type' drop-down bar and tag the 'Timestamp' options. This defines your new field as a 'Time Stamp.' Click on the 'Default' drop-down bar. If desired, select the 'Current_Timestamp' option. If selected, this option automatically creates a new time stamp whenever a new record is entered into your database. Now, click the 'Attributes' drop-down box. Select the 'On Update Current_Timestamp' menu item. If this option is selected, the time stamp field will update every time a change is made to your database record.
Save the changes. Select the 'Save' option at the bottom right-hand corner of the window. The changes to your database structure are now saved. From this point on, the time stamp field automatically populates each time a new record is entered.
Using PHP
Capture the current time using the PHP date function and assign it to a PHP variable. The PHP date function takes the current time and formats it according to a set of values that you enter. Consider this example:$current_time = date ('Y-m-d H:i:s');In this line of code, it calls the date function and enters the values which format the output into the format of year, month, day, hour, minute and second or '2012-12-21 06:26:36.' This is the exact time stamp format used by MySQL. In this example, the date is assigned to the current-time variable.
Insert the time stamp into the MySQL time stamp field of the database table of your choice. Use 'PHP's mysql_query' function to complete this step. Here is the example.$query = 'UPDATE
yourDatabaseTable
SET
timestamp
= '$current_time' WHERE
yourPrimaryKey
='$primary_key_variable' ';mysql_query($query) or die('The new time was not inserted');
Upload the PHP file to your server.
In Feburary 2016 19,

Wednesday, 3 February 2016

How to Build a Website for a School ProjectIn Feburary 2016 03,

In Feburary 2016 03,
Open a text editor. Click 'Start.' Then navigate to 'All Programs' and 'Accessories.' Select 'Notepad.'
Type:
My School Project
This is the first paragraph.
This is the second paragraph.
'
' are the opening tags while '
' are the closing tags. Most tags need to be opened, then closed. For example, all Web pages start with
and close with
. For example 'My School Project' means than you open the '', or heading 1, tag, then write the text of the heading, then close the heading tag.
Save the file as 'index.html.' Remember, however, to specify the 'Save as type' as 'All Files' rather than 'Text Documents' when saving the file.
Register your website for free at any of the free hosting websites that exist on the Web. You can find two such websites in the Resources section of this article. The registration process is easy. After you register, you'll get a username and password to be able to upload your 'index.html' file. When registering, write down the domain name of your website (for example, http://somehost.yourname.com).
Log onto the password-protected area of the hosting website with which you registered. Click 'Upload' and select the 'index.html' file you saved in Step 3.
Go to the domain name that you received when registering your free website (e.g., http://somehost.yourname.com). You should see this: My School Project (large letters)
This is the first paragraph.
This is the second paragraph.
In Feburary 2016 03,