www.webdeveloper.com

Search:

Type: Posts; User: sawatdee

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Replies
    1
    Views
    2,064

    Here is the code I currently have. I don't need a...

    Here is the code I currently have. I don't need a form because I will be accessing these elements with javascript and using ajax to send data to the server, but as far as I read that is perfectly...
  2. Replies
    1
    Views
    2,064

    Can't use my input text boxes

    I added an input element with type="text" to my web page. But I can't click into the element to put my cursor in there. If I set onclick="this.focus ();", then it will get focus when I click on it...
  3. Replies
    2
    Views
    1,513

    center text in a tiny button?????

    I have a very small button (width:20px; height:15px; font-size:10px;) and the text inside of it is only partially displayed because it flows out the bottom of the button. I set the padding for the...
  4. Replies
    0
    Views
    1,085

    Authenticating through other sites

    I want to allow my users to login through other sites (twitter, myspace, facebook, etc.) so they don't have to create new login information for my site. All the OpenID documentation says it is...
  5. Replies
    1
    Views
    1,013

    favicon problems

    I put favicon.ico in my document root directory. It works for Opera and Chrome on Linux, but not Firefox. It works for Chrome on Windows, but not Opera, Safari, IE, or Firefox.

    I tried using a...
  6. Replies
    3
    Views
    808

    I guess I don't understand the advantage of...

    I guess I don't understand the advantage of having multiple connections. If you only have one database server running, then it can handle one query at a time. So whether they all come from the same...
  7. Replies
    3
    Views
    808

    using the same connection

    For a web application connecting to a database, is there any compelling reason why any of the requests would need a separate database connection to run their queries, or is it better to force them...
  8. Replies
    1
    Views
    1,189

    blog related to my custom site

    I am developing a custom web site with users who will login and upload data. The site is very custom and I have to develop it myself. However, I would like to allow my users to discuss stuff related...
  9. Replies
    1
    Views
    595

    selection object offsets in IE

    I need to get and/or set the cursor or selection position in an iframe (designMode=on). Mozilla has very useful properties called selectionStart and selectionEnd which give the offset in characters...
  10. Replies
    3
    Views
    2,871

    capturing keyboard input

    Is there any way to capture keyboard input from an entire page? Neither the Document nor the Window objects have an onkeypress event handler. I need something like an onkeypress for the entire page....
  11. Replies
    7
    Views
    1,143

    This works. Since I don't need the rows ordered,...

    This works. Since I don't need the rows ordered, I removed the "order by t.race_id". Then it becomes slightly more efficient than the one I was using (above). Mine required an extra order by in order...
  12. Replies
    7
    Views
    1,143

    But I can't group by QueryB without defining...

    But I can't group by QueryB without defining QueryB. So in order to do it this way, I would still need that innermost query. I included the order by clause because QueryA returns one row for each...
  13. Replies
    7
    Views
    1,143

    Example:

    Here is an example similar to what I am doing.

    There are several bicycle racers and several they participate in several races. Each race might have a different number of racers, and each racer...
  14. Replies
    7
    Views
    1,143

    help simplifying SQL query

    I created a query that is actually 3 queries in one. It seems like I should be able to write this query in a simpler way, but I have not been able to do it. Here is a simple description of the tables...
  15. Replies
    0
    Views
    3,135

    iframe onkeypress

    I have an iframe and need to be able to handle the onkeypress event. The only solution I have found is the following code.

    <iframe id="whatever" designMode="on" src="about:blank"...
  16. Replies
    2
    Views
    541

    accessing document from js object

    I am using prototype's Ajax object and my response function is not getting called even though FireBug shows me the correct response from the server. I think it is because I can not access the global...
  17. RTE execCommand (This should be simple, but....)

    I'm using an iframe for rich text editing as such:

    document.getElementById ('editor').contentWindow.document.designMode = 'on';

    try
    {
    document.getElementById...
  18. iframe (rich text editing), execCommand to insert text??

    execCommand ('inserthtml') works to insert plain text into a rich text enabled iframe in Firefox and Opera, but IE does not recognize the inserthtml command. I need to be able to insert certain text...
  19. Replies
    6
    Views
    1,158

    Yes, that's an even better idea, using the MIME...

    Yes, that's an even better idea, using the MIME types themselves rather than the user agent.
  20. Replies
    6
    Views
    1,158

    As far as I understand (and correct me if I'm...

    As far as I understand (and correct me if I'm wrong), user agent data is not reliable because not all browsers send it with the request and some browsers allow the user to change it. But I know that...
  21. Replies
    6
    Views
    1,158

    The real problem is that IE does not support the...

    The real problem is that IE does not support the MIME type application/xhtml+xml. So I have decided that using XSLT to convert from XHTML to XHTML would be overkill, and is not a direct solution to...
  22. Replies
    6
    Views
    1,158

    application/xhtml+xml and IE

    I am serving my pages with Content-Type application/xhtml+xml, in the HTTP header as well as the HTML head. IE 6 asks me if I want to save this file, because it doesn't support the MIME type. I found...
  23. Replies
    1
    Views
    1,196

    getAttributeNS and xml:lang

    I have been trying to use getAttributeNS to get the value of xml:lang in the html tag. Here is my function call.

    document.documentElement.getAttributeNS ('http://www.w3.org/XML/1998/namespace',...
  24. Replies
    5
    Views
    920

    I discovered the problem. I changed the...

    I discovered the problem.

    I changed the Content-Type to application/xhtml+xml. I had been using text/xml from code I copied from an ajax response. :rolleyes: After that it worked fine on every...
  25. Replies
    5
    Views
    920

    Well, I thought I would go ahead and return XHTML...

    Well, I thought I would go ahead and return XHTML since my page has always validated just fine. So I put all of my javascript code in a CDATA block just like your example. I also changed my...
Results 1 to 25 of 26
Page 1 of 2 1 2
HTML5 Development Center



Recent Articles