User Profile

Collapse

Profile Sidebar

Collapse
duye
duye
Last Activity: Mar 14 '07, 06:06 AM
Joined: Jan 10 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • duye
    replied to Index Counter Problem?
    for (indexCounter = 3;indexCounter > 3; indexCounter--)

    indexCounter > 3 ; this could never be true, if it is =3, how could it be great than 3?
    So whatever in the for loop never get executed.
    See more | Go to post

    Leave a comment:


  • duye
    replied to changing value inside <link> tag
    try this:
    assign your link tag an id.
    <link id="YourLinkID " href="" rel="stylesheet " type="text/css">

    then in your function:
    <script language="JavaS cript" type="text/javascript">
    <!--
    function css_style(css_c hoice) {
    document.getEle mentById("YourL inkID").setAttr ibute("href", "css_styles/style"+css_choi ce+".css");...
    See more | Go to post

    Leave a comment:


  • duye
    replied to Show/Hide Div
    Then you can use <span> to replace your <div>, span is a inline item, div is a block box.

    <span id="demodiv" class="demodiv" >
    Do not link to other websites for promoting/traffic generation. Only link to helpful resources
    </span>

    take out blockquote, you don't need it there....
    See more | Go to post

    Leave a comment:


  • duye
    replied to Help for Newbie
    It should be a html link's job. if you know the location of the pdf, then just link to it.

    <a href="your pdf URL">download PDF</a>...
    See more | Go to post

    Leave a comment:


  • duye
    replied to Table data to Array?
    using DOM scripting,
    1. get the table id
    2. loop through the table's child element tr, td.
    3, extract every td's text node value while push them into an array....
    See more | Go to post

    Leave a comment:


  • duye
    replied to card memory game in javascript
    var high score=0; do you have a space between high and score? space is not allowed for naming a variable.

    try this highScore oldScore....
    See more | Go to post

    Leave a comment:


  • duye
    started a topic is it a bug or a feature?

    is it a bug or a feature?

    Below is a testing code:
    1. click the "change COL color", you will see the 2nd COL is red.
    2. click the "change Row color", you will see the 2nd Row is blue, the lower right cell which was the red now changed to blue.
    3. click the "change COL color" again, expecting to see the lower right cell changed back to red, but it keeps the blue color, can not be changed.
    4. click the "change Row...
    See more | Go to post

  • duye
    replied to CSS has no control on TR border?
    Thanks for the reply,

    I found the reason from MSND library, it is not applicable to TR.
    http://msdn.microsoft. com/workshop/author/dhtml/reference/properties/bordercolor_0.a sp?frame=true...
    See more | Go to post

    Leave a comment:


  • duye
    replied to Border doesn't show up both table cells
    in this cell:
    <td class="window2" >
    Hallo en welkom op de website
    </td>
    you used window2 class.
    then in the css, you defined:

    .window2 {
    background-color:#853333;
    border: 1px solid black;
    border-top-width:0px;
    }
    so, you set the border to 0 px; it is effectively hide the border. that is the reason why the top border did not show.
    See more | Go to post

    Leave a comment:


  • duye
    started a topic CSS has no control on TR border?

    CSS has no control on TR border?

    Hi here is a simple html/css

    <html>
    <head>
    <title>Untitled </title>
    </head>
    <body>
    <table width="500">
    <tr style="border: 2px solid red">
    <td>A</td><td>B</td><td style="border-bottom: 2px solid green">Only the TD element has border control?</td></tr>
    </table>...
    See more | Go to post
No activity results to display
Show More
Working...