www.webdeveloper.com

Search:

Type: Posts; User: Granite

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Ignore this one, I've got it right already. ;)

    Ignore this one, I've got it right already. ;)
  2. Trying to make page fit to window size. Working with FF, IE 8, but not with Chorme.

    Hello everybody,

    I'm trying to make a page that ajusts its dimensions according to window size. Now, it's working fine on Firefox, as well as IE 8, but not on Chrome. I'll post the whole CSS and...
  3. The same versions as before This time, I...

    The same versions as before

    This time, I followed the instructions here step by step. I will take a look at your links.
  4. Hm... I forgot to mention that phpMyAdmin was...

    Hm... I forgot to mention that phpMyAdmin was working fine, apparently no problems at all... now, after having reinstalled Apache and PHP (and phpMyAdmin), it doens't work anymore and when I call a...
  5. I did

    I did

    <?php
    echo "hello world!";
    php_info();
    ?>
    but that only prints
    php_info() doesn't do anything.

    EDIT: Oh, it's a PHP fresh install.
  6. Problem trying to migrate from Windows to Linux

    Hello,

    I have a problem with a site I'm working on... I'm supposed to migrate it from Windows to Linux, so I downloaded the whole site from the webserver to my Linux enviroment, but, although...
  7. Replies
    15
    Views
    3,541

    AJAX Oh, now I undestand the problem. Insertion of...

    Oh, now I undestand the problem.

    Insertion of inline scripts work fine.

    But I can't load .js from other domains, right? Security reasons... As I asked in my second post...

    Critical failure...
  8. Replies
    15
    Views
    3,541

    AJAX Mmmm... gonna try to adapt your idea to my...

    Mmmm... gonna try to adapt your idea to my code... that is, as soon as I understand it.
    Thanks for the suggestion, man. I was already without ideas.
    If I get this to work, I'll post again....
  9. Replies
    15
    Views
    3,541

    AJAX This alert is there just for debugging. I'm...

    This alert is there just for debugging.
    I'm using JQuery's ready() event to handle banners() function, which is responsible for starting the AjAX object, make the request, and then call function...
  10. Replies
    15
    Views
    3,541

    AJAX Ok, did as you said and now I have this...

    Ok, did as you said and now I have this server-side

    $whole = htmlentities($bannerTop[0]['ban_codigo']);
    $scrPos = strpos($whole,"script")+3;
    $uscrPos = strpos($whole,"/script")+4;
    ...
  11. Replies
    15
    Views
    3,541

    AJAX So... with the above php code, I did this now...

    So... with the above php code, I did this now with javascript:

    var bannerCod = bannerT.getElementsByTagName("codigo")[0].firstChild.nodeValue; //the XML's <codigo> content
    var toBeEvaluated =...
  12. Thread: ajax-load.gif

    by Granite
    Replies
    2
    Views
    2,080

    AJAX http://www.hunlock.com/blogs/AJAX_for_n00bs...

    http://www.hunlock.com/blogs/AJAX_for_n00bs
    Fisrt, you'll have to initialise the AJAX object. Then, use it's functions and properties to do you want.
    This bit is important:

    Take a special look...
  13. Replies
    15
    Views
    3,541

    AJAX alright... $whole =...

    alright...


    $whole = htmlentities($bannerTop[0]['ban_codigo']);
    $scrPos = strpos($whole,"script")+3;
    $uscrPos = strpos($whole,"/script")+4;
    $bit1=substr($whole,0,$scrPos);...
  14. Replies
    1
    Views
    1,311

    You're putting a inside another . I...

    You're putting a <form> inside another <form>. I don't think this will ever work.

    You'd need to do the actual captcha check after the user submitted the first form.

    A tip: You could easily put...
  15. Replies
    15
    Views
    3,541

    AJAX Well, I've done this: var bannerCod =...

    Well, I've done this:

    var bannerCod = CODE_TAKEN_FROM_DATABASE;
    var iosc = bannerCod.indexOf("script")+3;
    var ious = bannerCod.indexOf("/script")+4;
    var bit1 = bannerCod.substr(0,iosc);
    var...
  16. Replies
    15
    Views
    3,541

    AJAX I can't? But why's that? Security matters? You...

    I can't? But why's that? Security matters?

    You mean to put <scr"+"ipt> directly in the database, instead of <script>, and then use eval(), or something?

    I'd have to do something like

    var...
  17. Replies
    15
    Views
    3,541

    AJAX Problem to dynamically create a tag

    Hello people,

    The website I'm working on has a top banner that's loaded from the database. It may be an image, animation, and even HTML code, including <script> tags. Everything is working fine,...
  18. Yes! Now it works without the quotes! Thank you...

    Yes! Now it works without the quotes!
    Thank you very much, WolfShade! ;)

    EDIT: It doesn't work with quotes, but I noticed it does with this: ` . Here:

    SELECT * FROM `events` WHERE...
  19. Yes! Now it works! Thank you very much,...

    Yes! Now it works!
    Thank you very much, WolfShade! ;)

    EDIT: It doesn't work with quotes, but it does with this: ` . Anyway, problem solved. :)
  20. [RESOLVED] [MySQL] Problem selecting event, using 'from' and 'until' date columns

    Hello everybody,

    Well, I have an 'events' table with two date columns, 'from' and 'until' dates.
    Now, let's say I have an event which begins on 11/22/2010 and finishes on 11/26/2010. Suppose I...
  21. AJAX Oh yes, of course, the thing you had told me...

    Oh yes, of course, the thing you had told me about in the other post, yeah?
    The link you had posted was of a page about JSONP in Jquery. And since I'm still not a fan of Jquery (because atm I'm...
  22. AJAX Ok, sorry for bringing this back to live, but...

    Ok, sorry for bringing this back to live, but something came to my mind.
    If "JavaScript has a same domain policy", how is it that I can add javascript advertising codes (such as Google Adds) that...
  23. Replies
    2
    Views
    2,856

    Yes, I've had the same problem until yesterday....

    Yes, I've had the same problem until yesterday.
    If you want to see how I solved it,
    http://www.webdeveloper.com/forum/showthread.php?t=227383 .
  24. I'm not sure, but try to change the field type...

    I'm not sure, but try to change the field type from "text" to "hidden", get rid of that "visible" attribute, and try again.

    or

    put an

    alert(ratingInput);
    to see if it's really null.
  25. hm... I suppose currentPN is a string. try the...

    hm... I suppose currentPN is a string.
    try the following, to see the value of currentPN.length in each loop:

    for (var i=0; i < pN.length; i++)
    {
    var currentPN = pN[i];

    if (currentPN.length...
Results 1 to 25 of 81
Page 1 of 4 1 2 3 4
HTML5 Development Center



Recent Articles