dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: FourCourtJester

Page 1 of 10 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    705

    Hi there, You're using a static background...

    Hi there,

    You're using a static background image for each block, which means that you're limiting the amount of content you can insert into each block.

    For a more 'dynamic' block size, one that...
  2. Replies
    4
    Views
    862

    As always, Fang knows everything. The overflow...

    As always, Fang knows everything.

    The overflow property is CSS is used to 'hide' content within containers that is wider/taller than the container itself. You can use the overflow property to add...
  3. Hi there, Try adding the following two styles...

    Hi there,

    Try adding the following two styles to #widget

    {

    height:32px;

    overflow:hidden;
    }
  4. his question was to enable/disable a button based...

    his question was to enable/disable a button based upon the value in the textbox. Javascript is the way to do that.



    He wants to disable the button, not just let the user spam the button.

    If...
  5. ...

    <html>
    <head>

    <script type="text/javascript">
    function doSomething(text)
    {
    if (text.length > 0)
    document.getElementById("submit_button").disabled = false;
    else
    ...
  6. [window.location] refers to the location of the...

    [window.location] refers to the location of the current window - ie, your site
    [window.open(location, windowName, options)] will open a new window, give it a name, and use the options to style it.
    ...
  7. Replies
    6
    Views
    1,004

    Why did you switch from absolute positioning to...

    Why did you switch from absolute positioning to relative? Because thats the probable cause of the push down.
  8. menuItemDiv.onclick = function(){ window.location...

    menuItemDiv.onclick = function(){ window.location = menuItem.link; };

    You are correct, this line would be the one that needs to change. Just to get you started, try replace it with this:

    ...
  9. Replies
    13
    Views
    1,457

    1. -

    1. - <a href="dummyPage.html" onclick="run_this_code();">My link</a>
    2. - < ahref="javascript:run_this_code();">My other link</a>


    Code on line 1 will execute the javascript before redirecting...
  10. You still need to have Sun Microsystems Virtual...

    You still need to have Sun Microsystems Virtual Java Machine installed.

    All operating systems that are supported are listed at http://www.java.com/en/download/manual.jsp .

    To run java through...
  11. you would have to edit the .addItem() method of...

    you would have to edit the .addItem() method of your menu to accept a third parameter that would contain information such as height, width, and name of your new window.
  12. Hi there, It's the syntax that is at fault....

    Hi there,

    It's the syntax that is at fault. You are trying to set the background image using an invalid javascript call, but the bigger fault is you're trying to insert an image into that faulty...
  13. Replies
    7
    Views
    704

    ...

    <div id="student">
    <script>
    document.write(include statement here)
    </script>
    </div>


    That may work... I haven't used SSI in ages.
  14. Replies
    7
    Views
    704

    I think the issue might be more closely tied to...

    I think the issue might be more closely tied to the fact that the #include statement is failing. The 'unterminated string literal error is a bit confounding, as I do not see a missing quote either......
  15. Replies
    7
    Views
    704

    This is what the page believes is your script in...

    This is what the page believes is your script in your header.

    The error is an unterminated string literal (it's missing it's end quote).



    <script type="text/javascript">
    // JavaScript...
  16. Replies
    7
    Views
    704

    the #include function shouldn't do anything...

    the #include function shouldn't do anything unless you're playing around in Frontpage?

    That aside, what does the render of the page spit out? Does the content of your student div actually contain...
  17. Replies
    6
    Views
    6,876

    There's two ways that Flash can load up an...

    There's two ways that Flash can load up an address of a movie:

    - internally save the address. For every video you want to display, create seperate SWF files that just load in your external movie....
  18. Replies
    2
    Views
    648

    http://www.roundedcornr.com/ If they can't do...

    http://www.roundedcornr.com/

    If they can't do it, then probably not.
  19. Glad to help :)

    Glad to help :)
  20. Replies
    5
    Views
    929

    you may wish to encapsulate your txt entries and...

    you may wish to encapsulate your txt entries and their headers into their own objects, that way u can call, for example


    document.getElementById("txtSomething").parentNode.style.display =...
  21. View Post

    <script language="javascript" type="text/javascript">
    <!--
    function resize_images()
    {

    var myDiv = document.getElementById('center');
    var myImages =...
  22. var myDiv = document.getElementById('center');...

    var myDiv = document.getElementById('center');
    for (i = 0; i < myDiv.images.length; i++)
    .
    .
    .


    replace every document.images[i] call in your loop to myDiv.images[i], and it will only affect...
  23. for (i = 0; i < document.images.length; i++) ...

    for (i = 0; i < document.images.length; i++)

    This first line loops through all the images within the document. I assume you only want it to apply to one image?
  24. Replies
    8
    Views
    22,076

    well, a typical xml document will look similar to...

    well, a typical xml document will look similar to a simple html document. you will have tags, and within those tags will be options. The trick to xml, however, is tags and options can be anything you...
  25. Replies
    8
    Views
    22,076

    Images are made up of binary data... not sure...

    Images are made up of binary data... not sure exactly why you want to convert it to xml... you can store its address and dimensions into xml fields... sure...
Results 1 to 25 of 249
Page 1 of 10 1 2 3 4
HTML5 Development Center



Recent Articles