www.webdeveloper.com

Search:

Type: Posts; User: wow

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    333

    How to fix Firefox Return lower Screen Size

    Hi there,

    For screen size 1920 x 1200, with screen.width and screen.height Firefox keeps returning 1536 x 960, and IE, Chrome and Safari all return correctly. Any one knows how to fix the problem?...
  2. Thanks, the following function does the work. Do...

    Thanks, the following function does the work. Do you have a better solution?

    function decodeEntities(s){
    var str, temp= document.createElement('p');
    temp.innerHTML= s;
    str=...
  3. How does javascript convert ' to single quote char?

    Hi there,

    You know in html ' represents char '. But Google maps marker's title does not convert ' to '. It displays it literally. Does JavaScript has a function converting ' in a string to ', such...
  4. Unfortunately the best map application I have...

    Unfortunately the best map application I have seen is not done in google maps, even I like it more. I don't think moving user's viewport unauthorized by user is a good practice for any real serious...
  5. infoWindow's content can be loaded from a file...

    infoWindow's content can be loaded from a file through an AJAX call. I don't realize it's that hard to load infoWindow content from a file. Now I have another question to be answered: does google...
  6. This is certainly a limit of google maps. Google...

    This is certainly a limit of google maps. Google surely should enhance its infoWindow by automatically placing infoWindow at the best fit place when pixelOffset is absent from InfoWindowOptions, and...
  7. Thanks a lot, vwphillips, it works perfectly!

    Thanks a lot, vwphillips, it works perfectly!
  8. Thanks, xelawho, indeed it's pixelOffset which...

    Thanks, xelawho, indeed it's pixelOffset which can be used to change the infoWindow place against its anchor. But unfortunately, the tip of the infoWindow doesn't change accordingly to the...
  9. Can you load content for a DOM node from a file?

    Suppose you create the following divs node:


    var divs= document.createElement('div');
    divs.setAttribute('id', 'info');
    divs.setAttribute('width', '300');
    ...
  10. Below is from Google Maps API...

    Below is from Google Maps API "https://developers.google.com/maps/documentation/javascript/reference#InfoWindowOptions"

    google.maps.InfoWindowOptions object specification
    Properties
    Properties...
  11. Only one place for Google maps infoWindow?...

    Only one place for Google maps infoWindow? Unbelievable!
  12. For the following code, it works as below to play...

    For the following code, it works as below to play a vedeo:


    var video = document.createElement('video');
    video.setAttribute('src',
    ...
  13. Can a Google maps infoWindow be on right or left side a marker?

    A Google maps infoWindow is shown above of its marker in default. Can it be on the right or left side of its binding marker? If yes, how? If not, how Google is so ...?

    Thanks,
  14. Can Google maps infowindow content be from HTML or PHP file?

    Hi there,

    It's said "There are two ways of adding content to an InfoWindow. The first, and perhaps most straightforward
    way, is to provide an InfoWindow with a string that contains all the HTML....
  15. Replies
    9
    Views
    2,921

    Yes, I did right away after the connection is got...

    Yes, I did right away after the connection is got with:
    $anum = $pdo->exec("SET NAMES 'utf8' COLLATE 'utf8_unicode_ci'");

    Even it's not needed for my mysql configuration, it's a unnecesary step,...
  16. Replies
    9
    Views
    2,921

    Does this mean I have to give up PDO and turn to...

    Does this mean I have to give up PDO and turn to use mysqli? Is this a bug of mysql PDO?

    Thanks,
  17. Replies
    9
    Views
    2,921

    Thanks NogDog, it's done: $anum =...

    Thanks NogDog, it's done:

    $anum = $pdo->exec("SET NAMES 'utf8' COLLATE 'utf8_unicode_ci'");
  18. Replies
    9
    Views
    2,921

    It's proved the problem is PHP MySQL PDO module:...

    It's proved the problem is PHP MySQL PDO module: in the same php page, both mysqli and PDO are used in almost the same way, the same query by mysqli displays result properly, but not the one with...
  19. Replies
    9
    Views
    2,921

    For some reason, it doesn't work out. In the...

    For some reason, it doesn't work out. In the code, PDO is used as below:

    new PDO("mysql:host={$dbhost};dbname={$db};charset=utf8",$userid, $pw,
    array(PDO::ATTR_EMULATE_PREPARES => false,...
  20. Replies
    9
    Views
    2,921

    Thanks, NogDog, a nice link. I'll try it out and...

    Thanks, NogDog, a nice link. I'll try it out and let you know, have a nice day,
  21. Replies
    9
    Views
    2,921

    I think this would be easy for those who know...

    I think this would be easy for those who know well of Apache and php, am I right?

    Thanks,
  22. Replies
    9
    Views
    2,921

    Not support utf-8: Where is the problem?

    Hi there,

    My web server on Windows 7 displays all utf-8 chars well but not on Linux even both MySQL database is created with "CHARACTER SET utf8 COLLATE utf8_unicode_ci", and all php pages are...
  23. It's fixed now: the mcrypt module is not...

    It's fixed now: the mcrypt module is not installed. The weird thing is php and ubuntu doesn't have any message for the problem. Just vanish in the air. Thanks,
  24. Below are modules installed, is mcrypt included?...

    Below are modules installed, is mcrypt included?

    core mod_log_config mod_logio prefork http_core mod_so mod_alias mod_auth_basic mod_authn_file mod_authz_default mod_authz_groupfile mod_authz_host...
  25. Below are modules installed, is mcrypt included?...

    Below are modules installed, is mcrypt included?

    core mod_log_config mod_logio prefork http_core mod_so mod_alias mod_auth_basic mod_authn_file mod_authz_default mod_authz_groupfile mod_authz_host...
Results 1 to 25 of 81
Page 1 of 4 1 2 3 4
HTML5 Development Center



Recent Articles