www.webdeveloper.com

Search:

Type: Posts; User: mikem

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Bir şey değil (You are welcome). Mike :)

    Bir şey değil (You are welcome).

    Mike :)
  2. ... or preferably, for an alternative avoiding...

    ... or preferably, for an alternative avoiding the javascript protocol, use something like this:

    function edit(pic,txt)
    {
    document.getElementById("pix").src=pic;
    ...
  3. Merhaba rosina, Maybe something like this then......

    Merhaba rosina, Maybe something like this then...

    function edit(pic,txt)
    {
    document.getElementById("pix").src=pic;
    document.getElementById("lbl").innerHTML=txt;
    }
    <div...
  4. Replies
    3
    Views
    937

    Hi, This may help... function examine(country)...

    Hi, This may help...
    function examine(country)
    {
    document.getElementById("union").style.visibility=(country === "USA") ? "visible":"hidden";
    }

    <select name="country"...
  5. Hi rosina, To write text over images you can...

    Hi rosina, To write text over images you can change the background of a <div> and its innerHTML from each hyperlink, something like this...
    function edit(pic,txt)
    {
    var...
  6. Hi, id values must be unique within a document,...

    Hi, id values must be unique within a document, but you have duplicated id values in <div> and <a> elements...
    Mike :)
  7. Replies
    5
    Views
    871

    \uFFFF is the Unicode escape sequence where...

    \uFFFF is the Unicode escape sequence where characters are represented in the range from \u0000 to \uFFFF. For example...

    document.write( "Copyright Symbol is \u00A9" ); // Writes "Copyright...
  8. Replies
    3
    Views
    647

    Bir şey değil (You're welcome). Selam...

    Bir şey değil (You're welcome).

    Selam (regards),

    Mike :)
  9. Replies
    3
    Views
    647

    Merhaba, var now=new Date(); if(...

    Merhaba,



    var now=new Date();

    if( (now.getMonth() === 1) && (now.getDate() === 1) ) // JavaScript months are numbered 0-11.
    {
    document.write(now);
    }
  10. Replies
    3
    Views
    787

    Bir şey değil (You're welcome). Selam...

    Bir şey değil (You're welcome).

    Selam (regards),

    Mike :)
  11. Replies
    5
    Views
    653

    Hi, This may help... var len =...

    Hi, This may help...

    var len = document.forms[0].CATEGORY.length;
    var forem = document.forms[0]; // Do not enclose assigned value in quotes.
    var i = 0;
    var CAT = "";

    while(i < len)
    {
    ...
  12. Replies
    3
    Views
    787

    Hi, This may help... function link(month,day)...

    Hi, This may help...

    function link(month,day)
    {
    var date = new Date(2009,(month-1),day,0,0,0,0); // JavaScript months are 0-11.
    var now = new Date();

    if(now > date)
    {
    ...
  13. Replies
    3
    Views
    633

    Hi, Not sure I got you but this might help, but...

    Hi, Not sure I got you but this might help, but only when run via HTTP -through a web server...

    s1.html:
    <a href="s2.html">Go To Site 2</a>
    <a href="http://www.google.com">Go To Google</a>
    ...
  14. Replies
    1
    Views
    2,705

    Hi, Try removing enctype="text/plain" from the...

    Hi, Try removing enctype="text/plain" from the <form> tag.
    Mike:)
  15. Replies
    7
    Views
    896

    Hi toicontien, Is this what you are suggesting? ...

    Hi toicontien, Is this what you are suggesting?

    html1.html...
    function popup() { var win=open("html2.html","",""); }

    <form onsubmit="popup()"><input name="user" type="text" value="Mike"><input...
  16. Hi, This may help... var timerUp, timerDown,...

    Hi, This may help...

    var timerUp, timerDown, defaultStep=1, step=defaultStep;

    function scrollDivDown()
    {
    document.getElementById("thumbs").scrollTop += step;
    ...
  17. Replies
    2
    Views
    495

    Or more cross-browser compliant as...

    Or more cross-browser compliant as...
    <script type="text/javascript">

    var sum, leg=0;

    function next(n)
    {
    if(leg<1)
    {
    sum=0;
  18. Replies
    2
    Views
    495

    Hi, This may help...

    Hi, This may help...
    <script type="text/javascript">

    var sum, leg=0, ebi=document.getElementById;

    function next(n)
    {
    if(leg<1)
    {
    sum=0;
  19. Replies
    4
    Views
    613

    Hi, Taking a quick glance, it seems you may have...

    Hi, Taking a quick glance, it seems you may have a few hiccups...

    function getnationality() // 1. Function definitions require trailing ()parentheses.
    {var nationality = "";
    var length =...
  20. Replies
    4
    Views
    724

    Bir şey değil (You're welcome). Selam...

    Bir şey değil (You're welcome).

    Selam (regards),

    Mike :)
  21. Replies
    4
    Views
    724

    Hi, This should get you started...

    Hi, This should get you started...

    <script type="text/javascript">

    var tim, cur=1;

    function preLoad()
    {
    var i, arr=[];
    for(i=2; i<7; i++)
  22. Replies
    5
    Views
    858

    Hi again, You can add a line to the previously...

    Hi again, You can add a line to the previously supplied function to color the new items' background...

    function addOptions()
    {
    var optionList=document.getElementById("menu");

    for(var...
  23. Replies
    1
    Views
    516

    Hi, At a quick glance, maybe try adding...

    Hi, At a quick glance, maybe try adding parentheses around the second conditional test...


    if (isEmpty(document.customer.p_tax_registration.value) && (document.customer.p_tax_reference.value ==...
  24. Replies
    3
    Views
    2,810

    Selam (Hi), Bir şey değil. (You're welcome.) Mike...

    Selam (Hi), Bir şey değil. (You're welcome.) Mike :)
  25. Replies
    3
    Views
    2,810

    View Post

    Hi, This may help...
    var str = "do i have £3.00 in my pocket???";
    alert(str.replace(/[^a-zA-Z 0-9]+/g,'')); Mike :)
Results 1 to 25 of 105
Page 1 of 5 1 2 3 4
HTML5 Development Center



Recent Articles