FXOpen Broker

10+ years’
experience in FX

VISIT WEBSITE

Trading Accounts

ECN, STP,
Micro, Crypto

START TRADING

Try Free Demo

Practice Forex trading
risk free

OPEN DEMO ACCOUNT

PAMM Technology

Become a Master
or a Follower

JOIN PAMM SERVICE
Results 1 to 9 of 9

Thread: Htlm scripts

  1. #1
    Market Maker ilearn2t's Avatar
    Join Date
    Sep 2008
    Location
    In my house
    Posts
    2,370
    FXO Shares
    0
    FXO Bonus
    2.756
    Thanks
    380
    Thanked 211 Times in 160 Posts

    Default Htlm scripts

    Hello Everyone

    Ever own a website but didn't know how to add HyperText Markup Language (HTML) to improve its look, well help could be at hand.

    Link youtube to your website

    Simply copy & paste the code below into your webpage.

    <iframe width="420" height="315" src="http://www.youtube.com/embed/ve65wo5N0u0" frameborder="0" allowfullscreen></iframe>

    Simply change the link to what ever link you choose, and adjust width="???" & height="???" to suit.

    To be continue........

  2. The Following User Says Thank You to ilearn2t For This Useful Post:

    cafedeart (02-25-2012)

  3. #2
    Market Maker ilearn2t's Avatar
    Join Date
    Sep 2008
    Location
    In my house
    Posts
    2,370
    FXO Shares
    0
    FXO Bonus
    2.756
    Thanks
    380
    Thanked 211 Times in 160 Posts

    Default

    Add table code:

    <table border cellspacing="10" cellpadding="10" width="80%">
    <tr valign="Top">
    <td width="20%">add text here</td>
    <td width="80%">add text here</td>
    </tr>
    </table>


    To add more tables simply add extra td codes under td 80% line and above </tr>

    <td width="20%">add text here</td>
    <td width="80%">add text here</td>

    You can adjust 20% & 80% to suit

    I'll add a link back to FXOpen on one of my webpages to show some funny codes, shortly.

    To be continue........

  4. The Following User Says Thank You to ilearn2t For This Useful Post:

    cafedeart (02-25-2012)

  5. #3
    Market Maker ilearn2t's Avatar
    Join Date
    Sep 2008
    Location
    In my house
    Posts
    2,370
    FXO Shares
    0
    FXO Bonus
    2.756
    Thanks
    380
    Thanked 211 Times in 160 Posts

    Default

    This code will count the words you place in the box.

    <form method="POST" name="wordcount">
    <script language="JavaScript">

    function countit(){

    var formcontent=document.wordcount.wordcount2.value
    formcontent=formcontent.split(" ")
    document.wordcount.wordcount3.value=formcontent.length
    }
    </script>
    <table bgcolor="black" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td width="100%"><textarea style="background:#99FFFF" rows="12" name="wordcount2" cols="20" wrap="virtual"></textarea></td>
    </tr>
    <tr>
    <td width="100%"><div align="right"><p><input type="button" value="Calculate Words"
    onClick="countit()"> <input type="text" name="wordcount3" size="20"></p>
    <div align="center"></p>
    </center></div></div></td>
    </tr>
    </table>
    </form>


    Again adjust width etc, to suit

    To be continue........

  6. The Following User Says Thank You to ilearn2t For This Useful Post:

    cafedeart (02-25-2012)

  7. #4
    Market Maker ilearn2t's Avatar
    Join Date
    Sep 2008
    Location
    In my house
    Posts
    2,370
    FXO Shares
    0
    FXO Bonus
    2.756
    Thanks
    380
    Thanked 211 Times in 160 Posts

    Default

    Use this code to display today's date and current time on your title page.

    Place the code below between the <HEAD> and </HEAD> tags within the HTML page

    <script language="JavaScript">
    <!--
    function resetIt() {

    // Calculate Time

    var timerID = null;
    var timerRunning = false;

    if(timerRunning)
    clearTimeout(timerID);
    timerRunning = false;

    // getTime
    var timeNow = new Date();
    var hours = timeNow.getHours();
    var minutes = timeNow.getMinutes();
    var seconds = timeNow.getSeconds();
    var timeValue = "" + ((hours >12) ? hours -12 :hours)
    timeValue = ((timeValue <10)? "0":"") + timeValue
    timeValue += ((minutes < 10) ? ":0" : ":") + minutes
    timeValue += ((seconds < 10) ? ":0" : ":") + seconds
    timeValue += (hours >= 12) ? " PM" : " AM"
    timerID = setTimeout("resetIt()",100);
    timerRunning = true;


    // getDate
    var dateNow = new Date();
    var days = new Array('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');
    var months = new Array('January','February','March','April','May','June','July','August','September','October','November','December');
    var date = ((dateNow.getDate()<10) ? "0" : "")+ dateNow.getDate();
    function y2k(number){return (number < 1000) ? number + 1900 : number;}

    // compileIt
    today = timeValue + " " + days[dateNow.getDay()] + " " +
    months[dateNow.getMonth()] + ", " +
    date + " " +
    (y2k(dateNow.getYear()));

    if(document.all || document.getElementById){ // Browser Check
    document.title = today.toString();
    }else{
    self.status = today.toString(); // Default to status.
    }
    }

    resetIt();

    //-->
    </script>


    To be continue........

  8. The Following User Says Thank You to ilearn2t For This Useful Post:

    cafedeart (02-25-2012)

  9. #5
    Market Maker ilearn2t's Avatar
    Join Date
    Sep 2008
    Location
    In my house
    Posts
    2,370
    FXO Shares
    0
    FXO Bonus
    2.756
    Thanks
    380
    Thanked 211 Times in 160 Posts

    Default

    <marquee behavior="scroll" direction="left">PLACE TEXT HERE</marquee>

    <marquee behavior="alternate">PLACE TEXT HERE</marquee>

    <marquee behavior="scroll" direction="left" scrollamount="1">PLACE TEXT HERE</marquee>

    <marquee behavior="scroll" direction="left" scrollamount="10">PLACE TEXT HERE</marquee>

    <marquee behavior="scroll" direction="left" scrollamount="20">PLACE TEXT HERE</marquee>

    <marquee behavior="scroll" direction="up">PLACE TEXT HERE</marquee>

    Use one or more of the 6 codes above.

    One or two of you might have noticed this code in use as the latest pair prices scroll a long the main web page.

    To be continue........

  10. The Following User Says Thank You to ilearn2t For This Useful Post:

    cafedeart (02-25-2012)

  11. #6
    Market Maker ilearn2t's Avatar
    Join Date
    Sep 2008
    Location
    In my house
    Posts
    2,370
    FXO Shares
    0
    FXO Bonus
    2.756
    Thanks
    380
    Thanked 211 Times in 160 Posts

    Default

    Add the iframe code to link another site to view inside your own.

    <iframe frameborder="0" marginwidth="0" marginheight="0" scrolling="no" width="728" height="90" src="link to other site"></iframe>


    To be continue........

  12. #7
    Market Maker ilearn2t's Avatar
    Join Date
    Sep 2008
    Location
    In my house
    Posts
    2,370
    FXO Shares
    0
    FXO Bonus
    2.756
    Thanks
    380
    Thanked 211 Times in 160 Posts

    Default

    Using an Image as a Link

    <a href="YOUR SITE LINK HERE"target="_blank"> <img src="YOUR IMAGE LINK HERE" width="200" height="200"></a>

    You'll notice a part of the code "target="_blank" this will open the linked website in another window tab, keeping your webpage open on the window, most websites don't use this easy code and by the time others click different links within the other site, your site is gone.

    To be continue........

  13. The Following User Says Thank You to ilearn2t For This Useful Post:

    cafedeart (02-25-2012)

  14. #8
    Market Maker ilearn2t's Avatar
    Join Date
    Sep 2008
    Location
    In my house
    Posts
    2,370
    FXO Shares
    0
    FXO Bonus
    2.756
    Thanks
    380
    Thanked 211 Times in 160 Posts

    Default

    I just put this website together changing all links to comply with forum rules

    http://forex4newbies.forumotion.co.uk/h5-fxopen

    I've added most of the codes above, because WC3 don't pass marquee codes I didn't add any, but I'll show you a trick to get around it, soon.

    Don't forget to check the date & time in the title bar.

    If you need help making your own website, simply reply below.

    Good luck
    ilearn2t

    To be continue........

  15. The Following User Says Thank You to ilearn2t For This Useful Post:

    cafedeart (02-25-2012)

  16. #9
    Market Maker ilearn2t's Avatar
    Join Date
    Sep 2008
    Location
    In my house
    Posts
    2,370
    FXO Shares
    0
    FXO Bonus
    2.756
    Thanks
    380
    Thanked 211 Times in 160 Posts

    Default

    Watch for the "wee bear" while changing the back ground colour.

    http://forex4newbies.forumotion.co.uk/h7-fxopen1

    Simply by hiding a page within the page the W3C still gives it 100% pass.

    Good luck
    ilearn2t

  17. The Following User Says Thank You to ilearn2t For This Useful Post:

    cafedeart (02-25-2012)

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Disclaimer
2005-2020 © FXOpen All rights reserved. Various trademarks held by their respective owners.

Risk Warning: Trading on the Forex market involves substantial risks, including complete possible loss of funds and other losses and is not suitable for all members. Clients should make an independent judgment as to whether trading is appropriate for them in the light of their financial condition, investment experience, risk tolerance and other factors.

FXOpen Markets Limited, a company duly registered in Nevis under the company No. C 42235. FXOpen is a member of The Financial Commission.

FXOpen AU Pty Ltd., a company authorised and regulated by the Australian Securities & Investments Commission (ASIC). AFSL 412871ABN 61 143 678 719.

FXOpen Ltd. a company registered in England and Wales under company number 07273392 and is authorised and regulated by the Financial Conduct Authority (previously, the Financial Services Authority) under FCA firm reference number 579202.

FXOpen does not provide services for United States residents.

Join us