dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: JUD

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    39,903

    jQuery Or this....

    Or this....



    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>...
  2. Replies
    7
    Views
    815

    Firstly you need to enclose your form elements...

    Firstly you need to enclose your form elements inside a <form></form> tag. I've made a slight modification to your code, but it's basically the same:



    <html>
    <head>
    <script...
  3. Replies
    7
    Views
    815

    function captureImageFile() {...

    function captureImageFile() {
    document.getElementById("textarea").value ="Click to Download Image Files";
    document.getElementById("imageButton").value ="Download Image Files";...
  4. Thread: replace text

    by JUD
    Replies
    7
    Views
    1,043

    Try this: ...

    Try this:



    <script type="text/javascript">
    function replaceChars(entry) {
    var arrReplace = new Array();
    arrReplace[0] = [/a/g, "z"];
    arrReplace[1] = [/b/g, "y"];
    arrReplace[2] =...
  5. Thread: replace text

    by JUD
    Replies
    7
    Views
    1,043

    Sorry, made a little bit of a booboo. You need to...

    Sorry, made a little bit of a booboo. You need to pass a regular expression to the replace method like this:



    <script type="text/javascript">
    function replaceChars(entry) {
    out = /a/g; //...
  6. Thread: replace text

    by JUD
    Replies
    7
    Views
    1,043

    Couldn't you just do this:

    Couldn't you just do this:



    <script type="text/javascript">
    function replaceChars(entry) {
    out = "a"; // replace this
    add = "z"; // with this
    temp = entry.replace(out, add);
  7. Replies
    6
    Views
    938

    Name your stylesheets "800_600.css",...

    Name your stylesheets "800_600.css", "1024_768.css" etc. and then do something like this:



    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...
  8. Replies
    5
    Views
    4,905

    //

    <script type="text/javascript">
    // <![CDATA[
    var isMac = (navigator.platform.indexOf("MacPPC") != -1) ? true : false;

    if(isMac) location.href = "http://www.mysite.com/mac_page.html";...
  9. Replies
    5
    Views
    4,905

    http://www.w3schools.com/htmldom/prop_nav_platform...

    http://www.w3schools.com/htmldom/prop_nav_platform.asp
    http://developer.mozilla.org/en/docs/DOM:window.navigator.platform
  10. Replies
    1
    Views
    1,370

    //

    <script type="text/javascript">
    // <![CDATA[
    function preloadImages(){
    var a = preloadImages.arguments;
    var picsArray = [];

    for(var i = 0; i < a.length; i++){
    picsArray[i] = new...
  11. Thread: getElementsByName

    by JUD
    Replies
    2
    Views
    692

    Personally I would use...

    Personally I would use getElementsByTagName("INPUT") to create an array of the input elements in your form.

    Then loop through the array and do a pattern test on each elements name. If the name of...
  12. Replies
    7
    Views
    20,036

    Put this in the head of your page.

    Put this in the head of your page.



    <script type="text/javascript">
    var img1 = new Image();
    img1.src = 'path/to/your/image.gif';
    </script>
  13. Replies
    3
    Views
    1,294

    You need to pass a reference of the 'li' that has...

    You need to pass a reference of the 'li' that has been clicked as an argument to the function. e.g onclick="toggle(this)".



    <script type="text/javascript">
    // <![CDATA[
    function...
  14. Replies
    1
    Views
    706

    Using the same name or id for multiple links...

    Using the same name or id for multiple links isn't really a good idea.

    However you could give all the links you want to change a class, 'affiliate' for example.

    Then when you loop through all...
  15. Replies
    12
    Views
    4,173

    View Post

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta...
  16. Replies
    1
    Views
    1,329

    Here's a script that will display a different...

    Here's a script that will display a different link every month. You should be able to adapt it for what you need.



    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...
  17. Replies
    3
    Views
    1,244

    I agree with ray. You need to include an onload...

    I agree with ray. You need to include an onload function to set your image properties. Something like this:



    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...
  18. Replies
    2
    Views
    751

    View Post

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta...
  19. Thread: link to web site

    by JUD
    Replies
    1
    Views
    600

    Try this:

    Try this:



    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta...
  20. Replies
    5
    Views
    844

    I've added the doubleCheck() function which will...

    I've added the doubleCheck() function which will check the values of the dropdowns and check the appropriate radio buttons.



    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...
  21. Replies
    5
    Views
    844

    This function will automatically select 'no' in...

    This function will automatically select 'no' in the other dropdown if 'yes' is selected and vice versa regardless of which dropdown is changed. This will make it impossible to select the same option...
  22. Replies
    7
    Views
    798

    Here's my code done Charles' way, which I agree...

    Here's my code done Charles' way, which I agree is probably better.



    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">...
  23. Replies
    7
    Views
    798

    You need to replace the angle brackets in the...

    You need to replace the angle brackets in the text with &lt; and &gt;. The code will then be written as text instead of being processed by the browser.

    I would probably do something like this:


    ...
  24. Replies
    6
    Views
    746

    An easier way would be to stick with the first...

    An easier way would be to stick with the first site and to put your thumbnails in a div with overflow. This has the same effect as an iframe and adds a scrollbar if the content of the div exceeds...
  25. Replies
    1
    Views
    638

    View Post

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <script language="javascript">
    function create(){
    var row = document.createElement("TR");...
Results 1 to 25 of 103
Page 1 of 5 1 2 3 4
HTML5 Development Center



Recent Articles