www.webdeveloper.com

Search:

Type: Posts; User: callMeAl

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    1
    Views
    3,250

    Setting up live, online radio station

    Hi,

    I was wondering what are the techniques of setting up an online radio station as you can see on may websites, e.g. this one: http://sunrisefm.co.uk/.

    I'd imagine that you need to record...
  2. Replies
    3
    Views
    8,369

    jQuery zClip jQuery plugIn problem - copying text

    Hi,

    Recently I've been trying to implement zClip jQuery plugin. Its main function is to copy text to the clipboard. It does that by overlying a link with some flash object and on the click event...
  3. [jQuery, AJAX] $.get and pre-loading custom font(@font-face)

    Hi all.

    My website loads a custom font from the server. The CSS code looks like that and is placed just after a <title> tag in the HTML document



    <style type="text/css">
    @font-face {
    ...
  4. Replies
    16
    Views
    3,425

    ;) It indeed might be any of the elements you...

    ;)

    It indeed might be any of the elements you have mentioned above as well.
  5. Replies
    16
    Views
    3,425

    That's right, it's more efficient that way. ...

    That's right, it's more efficient that way.

    Have you got any thoughts about the second problem(translation of $('#someId>td') into JS)?
  6. Replies
    16
    Views
    3,425

    I agree with you on this and I wouldn't mix tags...

    I agree with you on this and I wouldn't mix tags with id's in different document as well however hcl.tech just wanted someone to help him with rewriting his code and that was what I did.
    ...
  7. Replies
    16
    Views
    3,425

    'nextFrame' seems to me like an 'img' tag....

    'nextFrame' seems to me like an 'img' tag. 'frameimage' would be a table.



    That's what I thought at first. However, in one document an 'img' tag may have this particular id, while in other...
  8. Replies
    16
    Views
    3,425

    Hi! The first one: function changeAttr ()...

    Hi! The first one:



    function changeAttr () {
    var res = 'mysite';
    var el = document.getElementById('nextFrame').src = "graphics/"+res+"/common/nextframe.png";
    }
  9. Replies
    16
    Views
    3,425

    Good job Kor! I would just add an iteration...

    Good job Kor!

    I would just add an iteration version to the third solution since jQuery will produce 'td' for each 'tr' in the table:



    function growTable () {
    var title = ['first',...
  10. Replies
    6
    Views
    2,676

    Drop-down menu - final solution

    JS:

    //Events registration
    var Event = {
    add: function(obj,type,fn) {
    if (obj.attachEvent) {
    obj['e'+type+fn] = fn;
    obj[type+fn] = function() { obj['e'+type+fn](window.event); }...
  11. Replies
    6
    Views
    2,676

    I got used to reset.css so much that I have...

    I got used to reset.css so much that I have forgotten about default 'ul' padding which is exactly 40px:).
  12. Replies
    6
    Views
    2,676

    Try to replace your footer code with this: ...

    Try to replace your footer code with this:



    <script type="text/javascript">

    var subMenuHide = document.getElementById('submenuhide')
    var naveee = document.getElementById('naveee')
    var...
  13. Replies
    6
    Views
    2,676

    When it comes to CSS adding z-index:1; to...

    When it comes to CSS adding z-index:1; to #navigationdiv will push the menu to the front.

    Adding padding-left:15px; to .submenuhide and .submenushow classes will shift the text left - honestly I...
  14. Replies
    8
    Views
    2,158

    It worked because you removed 'width' from div.

    It worked because you removed 'width' from div.
  15. Replies
    8
    Views
    2,158

    OK, now I understand. Try removing 'width'...

    OK, now I understand. Try removing 'width' property from 'div'(or setting it to 'auto'). This will fix the problem in FF and IE.

    Another solution is to add extra markup(additional table cells) and...
  16. Replies
    8
    Views
    2,158

    It would be very helpful if you provide us with...

    It would be very helpful if you provide us with the code or link.

    I would guess, that it can be done with negative padding, negative margin(if cell dimensions aren't relative) or styling google's...
  17. Thanks for your reply Kor, it was very helpful. I...

    Thanks for your reply Kor, it was very helpful. I concluded, that it'd be the best to put object-related properties(such as name, age etc.) into constructor and universal methods into prototype. I...
  18. I would just add a bit of code to explain my...

    I would just add a bit of code to explain my question more accurately.

    Is there any difference for the object if I define the property this way:



    and that way:


    in both instances object...
  19. OOP - constructor function-prototype property relation

    Hi. I'm trying to understand JS OOP so my question is probably pretty simple... :)

    In this constructor function no prototype is defined however qwer.prototype.isPrototypeOf(re) method returns...
  20. Replies
    7
    Views
    1,102

    the element reference isn't stored in variable...

    the element reference isn't stored in variable but in an array. simplifying, you can call an array a group of variables hence each array record(thumbs[3], thumbs[2] etc.) holds a reference to a...
  21. Replies
    7
    Views
    1,102

    Hi. method returns an array of elements....

    Hi.



    method returns an array of elements. that's why 'thumbs' variable will automatically become an array of(in your instance) 4 elements(references to img objects).

    inside the loop each...
  22. Sorry guys for a delayed answer. I had to finish...

    Sorry guys for a delayed answer. I had to finish couple other projects.

    I finally solved this problem by altering my code so that it uses jQuery 'load' event. Everything is working fine now.

    I...
  23. What to use instead .complete property in FF

    Hi guys,

    I want to make a gallery with image loader. When image placed in JavaScript Image object finishes loading, the script includes it into HTML code and performs jQuery fadeIn effect on it.
    ...
  24. Replies
    9
    Views
    27,701

    Quite important difference is that...

    Quite important difference is that '.contentWindow' isn't supported by Google Chrome(and '.contentDocument' is).

    The question I keep asking myself is why should I use iframe's 'document' or...
  25. Replies
    23
    Views
    7,136

    Majority of the internet users have their JS...

    Majority of the internet users have their JS enabled however for people like me, who use NoScript(especially on new, untrusted links) it's very important to be able to view a site with JS disabled. ...
Results 1 to 25 of 46
Page 1 of 2 1 2
HTML5 Development Center



Recent Articles