dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: kaafmim

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    2,058

    Try adding a return false; at the end of your...

    Try adding a

    return false;
    at the end of your function. It stops all the actions done automatically when submitting a form. Hope it helps!
  2. In my experience, IE, FF and any other browser,...

    In my experience, IE, FF and any other browser, counts the items differently, so what is the first form element, may be the second in another. A better solution is giving a name ( i.e. <input...
  3. The problem here is that you can't have a number...

    The problem here is that you can't have a number like .60, even before formatting it, it will be shown as .6 . And the second parameter to the function number_format is not the number of digits, it...
  4. I think the problem lies in the page encoding....

    I think the problem lies in the page encoding. You should set the encoding of your page, and use an editor like Coda, to re-interpret your code. If you have an online version of your page, I may be...
  5. I checked your code, it was really confusing, but...

    I checked your code, it was really confusing, but at last I found out! The problem was that if the rangeStart number was the minimum at the beginning, the minPosition was not going to be changed,...
  6. Replies
    1
    Views
    602

    Your javascript pieces are fine, and the code...

    Your javascript pieces are fine, and the code should return the ids. Are you sure about your php script being executed and the results received by the browser?
  7. Yes, you can. You should use the javascript image...

    Yes, you can. You should use the javascript image class. for example this code:



    <script>
    a1=new image;
    a1.src="some_image.jpg";
    size=a1.filesize;
    </script>
  8. Replies
    2
    Views
    776

    I don't think that it has anything to do with the...

    I don't think that it has anything to do with the .htaccess file my friend. If mozilla or safari are accessing it, it means that there is no authorization problem. If you post the complete source...
  9. Replies
    1
    Views
    567

    My friend, are you trying to solve this problem...

    My friend, are you trying to solve this problem using php or using javascript? This problem can easily be solved by php.



    <?php
    if ($FORUM_NAME=="touring") {
    echo "<a href='ShowTours.htm"...
  10. Replies
    1
    Views
    568

    My friend, the submit button does exactly what is...

    My friend, the submit button does exactly what is defined as the action of the form. In this case you have defined:

    ...<form name=QF id=QF action=\"ozPrjFileQuickFind.jsp\" method=post...
    the...
  11. Add the margin to the height may help you to get...

    Add the margin to the height may help you to get the proper results. try min-height:900px; But this won't help you to scale the images.

    Yes, there is a pure css solution for that. You should...
  12. You are welcome my friend. You can solve this new...

    You are welcome my friend. You can solve this new problem with adding a min-height:600px; to the definition of the #gallery.
    something like this:



    #gallery {
    position: absolute;
    top: 50&#37;;...
  13. Sorry my friend, I checked and saw that I have...

    Sorry my friend, I checked and saw that I have had a mistake, this is the right code. I checked it on your website.


    #gallery {
    position: absolute;
    top: 50%;
    margin-top: -300px;
    }
  14. Replies
    13
    Views
    4,765

    Would you please tell me what did you do for...

    Would you please tell me what did you do for Firefox? Well, as I know, this should be a non-standard solution. I would appreciate if you send your FF solution.
  15. Replies
    8
    Views
    1,499

    ...

    <html>
    <head>
    <style type="text/css">

    #column1 {
    float: left;
    width: 30&#37;;
    background: #def;
    }
    #column2 {
  16. My friend, vertical-align doesn't do anything on...

    My friend, vertical-align doesn't do anything on an inline element. You should use display:table-cell instead and then vertical-align:middle.

    But, this can be difficult to handle. A much simpler...
  17. Replies
    6
    Views
    1,856

    You are facing a funny problem! :) The first...

    You are facing a funny problem! :) The first defined date is January 1, 1970. So what you receive, the day before the first defined date in php, means that the value of $row_blog['Bdate'] is -1 .
    ...
  18. Replies
    1
    Views
    1,287

    As long as I know, for loops need to semicolons...

    As long as I know, for loops need to semicolons my friend, as they also need a condition to end the loop, you may use: (here the condition is i being smaller than max)

    for (i=0;i<max;i+=3) {...
    ...
  19. Replies
    2
    Views
    695

    put this right after were you add to image...

    put this right after were you add to image number(replace image_num with the name of your variable for image numbers):

    if ($image_num==16) $image_num=1;

    :)
  20. Replies
    2
    Views
    735

    Sorry, but there is no short and easy way for...

    Sorry, but there is no short and easy way for what you want.

    What you want to do, can be achieved using javascript, and if you really insist, there is a pure css solution (but extremely time...
  21. Check if you are calling getElementById after...

    Check if you are calling getElementById after creating the element, consider the rendering timestamp. And also if you are using frames, this can lead to "document" pointer complications. If you post...
  22. Replies
    4
    Views
    1,841

    Add overflow:hidden; to the definition of...

    Add overflow:hidden; to the definition of banner_div.

    for example, instead of the previous code, use this:


    <div id="banner_div" style="overflow:hidden;">
    <object id="foo1" name="foo1"...
  23. Replies
    7
    Views
    2,527

    Alright my friend, I wrote this html, and tested...

    Alright my friend, I wrote this html, and tested it on ie8, firefox, safari and opera. Works as expected. Hope it helps you. It first uses predefined css for styling, and then modifies one property,...
  24. Replies
    13
    Views
    4,765

    You are welcome. No, I don't think that there can...

    You are welcome. No, I don't think that there can be a pure CSS solution, as CSS is not content related. You need something to be dynamic, CSS is static.
  25. Replies
    4
    Views
    1,841

    add this to the header of your page (assuming the...

    add this to the header of your page (assuming the :


    <style>object {width: 100&#37;;height: 100%;}</style>
    <script>
    function updateObjectIframe(which) {...
Results 1 to 25 of 36
Page 1 of 2 1 2
HTML5 Development Center



Recent Articles