dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: moritana

Page 1 of 7 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    11,179

    getting an object by ID only fetches one object...

    getting an object by ID only fetches one object at a time, you can't use it like an array, if we could life would be way much easier.

    you can fetch each element separately, and change them...
  2. how about setting the links to be transparent on...

    how about setting the links to be transparent on default, with a hover event listener that makes them solid, as a start.
    you can do that with css combined with jQuery
    with css its as simple as:

    ...
  3. Replies
    3
    Views
    9,879

    jQuery this should do the trick: its in jquery, so dont...

    this should do the trick:
    its in jquery, so dont forget to add the jquery file.


    $('.spotlighticon > img').attr('src', 'img.jpg')

    demo:
    http://jsfiddle.net/x6Ypp/
  4. Replies
    2
    Views
    1,311

    it looks like IE recognizes the divs in block...

    it looks like IE recognizes the divs in block style, which is the default.
    i cant tell you much since i dont have the link to the site, or your code.
  5. Replies
    8
    Views
    2,127

    thats... some thinking material... i don't...

    thats... some thinking material...
    i don't really get it but the idea is to put it in 2 other wrapper divs, each centering to another side, right?
    thanks ^_^
  6. "rounded corners" is css3, and no, IE8 does not...

    "rounded corners" is css3, and no, IE8 does not support css3.
    the -webkit- and -moz- you were using are browser specific and were used for designers to "test" css3 properties..
    and there is no such...
  7. Replies
    8
    Views
    2,127

    its supposed to be a blog layout for a study...

    its supposed to be a blog layout for a study project i'm working on. i gave is a fixed width and height, and if the screen is bigger than the wrapper div, i want it to be centered....
    if it's...
  8. Replies
    8
    Views
    2,127

    i need to give it either a relative or absolute...

    i need to give it either a relative or absolute positioning, because I absolutely position the contents inside that div. thats why i went for this method of centering.
    is the only way a script?
  9. Replies
    8
    Views
    2,127

    yeah.. i tried that. not really working. i gave...

    yeah.. i tried that. not really working. i gave it a background color to test the layouts, and when i try that, the div somehow disappears, and all its contents are a mess....
  10. Replies
    8
    Views
    2,127

    centering div's and window size

    so, i know that to center an absolutely positioned div, the best way is setting the "left" property to 50% and then set the left margin to -[div width].
    but if i do that, and the users window size...
  11. Replies
    2
    Views
    1,851

    a) what do you mean by sticky? do you mean you...

    a) what do you mean by sticky? do you mean you want it to always be at the bottom of your screen no matter how you scroll (fixed) or just at the bottom, or not at the bottom at all (than what)?
    b)i...
  12. listening to events in a parent iframe is...

    listening to events in a parent iframe is possible, but because of security issues, cross-domain iframe communication is impossible.
  13. Replies
    3
    Views
    805

    omg, it's working!! thank you so so much for...

    omg, it's working!!
    thank you so so much for your help!! O_O
  14. Replies
    3
    Views
    805

    using a loop variable in function call

    i'm having trouble with some of my codes.
    i've been trying to put variables in function calls parameters, but it just does not work.
    for example, if I try to do sth like this:


    //a function...
  15. Replies
    6
    Views
    1,959

    the error console gives this: Uncaught...

    the error console gives this:


    Uncaught TypeError: Cannot read property 'style' of null
    changeTopColourobm.js:77
    topSelectobm.js:100
    (anonymous function)www.oldboymusic.com:266...
  16. http://www.webdeveloper.com/forum/forumdisplay.php...

    http://www.webdeveloper.com/forum/forumdisplay.php?f=9
  17. you welcome!

    you welcome!
  18. Replies
    10
    Views
    8,010

    what do you mean by "a button to go back"?

    what do you mean by "a button to go back"?
  19. Replies
    10
    Views
    8,010

    well, you can do that when you combine the two...

    well, you can do that when you combine the two codes, cuz the first one also changes the onclick event so pressing on the button again hides the content.

    and you can always give the divs fixed...
  20. Replies
    10
    Views
    8,010

    http://jsfiddle.net/moritana/4Qzre/2/ now its...

    http://jsfiddle.net/moritana/4Qzre/2/
    now its not open on launch.
    as for the button that opens more buttons, you can use the previous code, http://jsfiddle.net/moritana/9LmNr/
    just use one button...
  21. Replies
    10
    Views
    8,010

    even simpler code....

    even simpler code.
    http://jsfiddle.net/moritana/4Qzre/

    <button onclick="show('A')">A</button><br>
    <div id="A">AAAAAA<br>AAAAAA</div><br>
    <button onclick="show('B')">B</button><br>
    <div...
  22. Replies
    37
    Views
    2,446

    "wiley jQuery for dummies" works for me. and...

    "wiley jQuery for dummies" works for me.
    and since jQuery IS javascript, its prolly going to be taught in your course too.
    and yea, the :traget selector is cool, by that you can affect elements...
  23. Replies
    37
    Views
    2,446

    jQuery is cross browser, you should start looking...

    jQuery is cross browser, you should start looking there.
    and IE will always suck, since they seem to refuse most css3 and html5 properties and elements, cuz there's a possibility of it not passing,...
  24. Replies
    37
    Views
    2,446

    lol, okay, i helped some, agreed. you're welcome...

    lol, okay, i helped some, agreed.
    you're welcome ^_^
  25. Replies
    37
    Views
    2,446

    meh. javascript gave me grief till i found a good...

    meh. javascript gave me grief till i found a good tutorial.
    stuff like this script are much much easier with jQuery though.
    built in show and hide functions.
Results 1 to 25 of 158
Page 1 of 7 1 2 3 4
HTML5 Development Center



Recent Articles