www.webdeveloper.com

Search:

Type: Posts; User: ilawton

Search: Search took 0.02 seconds.

  1. Replies
    11
    Views
    5,738

    No worries, glad to be of help. Not sure about...

    No worries, glad to be of help.

    Not sure about the CSS bug. Looks like the div "contentheading cbUserListTitle" needs floating left, or some height set on it. Defo an IE7 vs IE8 CSS issues.
  2. Replies
    11
    Views
    5,738

    Ah yes... ok, this should be it: ...

    Ah yes... ok, this should be it:



    window.onload=function(){
    var spans= document.getElementsByTagName('span');
    var i= 0, L= spans.length, tem, pa;
    while(i<L){
    tem=...
  3. Replies
    3
    Views
    6,152

    Hi, Would this work? Add some functionality...

    Hi,

    Would this work?
    Add some functionality that fires on the page load that would loop through each link on the page. If the link has a "Common Class" (as you said it may), add a click event...
  4. Replies
    11
    Views
    5,738

    Yep, you should be looking for only the fields...

    Yep, you should be looking for only the fields that are Speciality ones... The code from before was fine, but you just needed to look for "cbUserListFC_cb_description" as well as...
  5. Replies
    8
    Views
    979

    I'm not sure I fully understand your...

    I'm not sure I fully understand your requirements.

    Hi,
    For me it works fine for any set of numbers.. e.g. if I enter 3 in the first text box and 6 in the second, and press the button it outputs:...
  6. Replies
    11
    Views
    5,738

    mrhoo's code is your best bet for sure, but it...

    mrhoo's code is your best bet for sure, but it does have a syntax issue, such as == where it should be =

    Try this instead:



    window.onload=function(){
    var spans=...
  7. Replies
    8
    Views
    979

    whoops, pasted wrong code... try this instead: ...

    whoops, pasted wrong code... try this instead:



    <html>

    <body>
  8. Replies
    8
    Views
    979

    In it's easiest form, I think this does what you...

    In it's easiest form, I think this does what you want:




    <html>
    <body>
  9. Replies
    8
    Views
    2,490

    I can see where you are coming from, but don't...

    I can see where you are coming from, but don't think you can do that. The idea of bubbling (or click-through) is when an event is fired for a particular element, then the event "bubbles" up the...
  10. Replies
    11
    Views
    5,738

    Firstly, can need to give your elements an "ID",...

    Firstly, can need to give your elements an "ID", so we can get a reference to them.
    So, lets give the span an ID of "mySpan" and the Div and ID of "myDiv", as follows:



    <div id="myDiv"...
  11. Replies
    8
    Views
    2,490

    Hi, You can't (as far as I'm aware) raise a...

    Hi,

    You can't (as far as I'm aware) raise a click event at particular coordinates. The best you can achieve is fire a click event for a specific element.

    E.g....
  12. Replies
    2
    Views
    1,045

    Firstly, you need to put quotes around "a" and...

    Firstly, you need to put quotes around "a" and "x". Secondly there needs to be 2 equals signs in the if statement (you only had one). And lastly, and most importantly, you needed to have the...
  13. Replies
    8
    Views
    979

    function DoNumbers(First, Second) { for(var i...

    function DoNumbers(First, Second)
    {
    for(var i = First; i <= Second;i++)
    {
    alert(i);
    alert(i*i);
    alert(i*i*i);
    }
    }
Results 1 to 13 of 13
HTML5 Development Center



Recent Articles