www.webdeveloper.com

Search:

Type: Posts; User: crazy boy

Page 1 of 6 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    0
    Views
    484

    [RESOLVED] regular expression

    Can you help with this reg. exp. for preg_match_all ?


    preg_match_all("@(?<=style=\"display: inline\">)\d{1,3}(?=\.?<)@", $subject, $matches, PREG_OFFSET_CAPTURE, 0);


    Subject:


    <span...
  2. jQuery JS onmouseover / JQUERY mouseover: mouse position correction needed

    Hello,
    I have function/event which should be applied on all images which are under span tag. The getMousePos function gets actual position of the mouse. It should evaluate whether the mouse cursor...
  3. How to detect mouse position over image? (maybe in JQuery)

    Hello,
    I have a need of function to detect mouse cursor position - how far from edge of is the mouse. Because I want to return true if the mouse is more then 40px from the edge if image. Have no...
  4. How to change title of page when the document is loaded

    Hello,
    I want to add a middle dot into title when the page is loaded. The script should to be added to Firefox plugin GreaseMonkey:

    The original script:


    window.addEventListener(
    'load', ...
  5. Replies
    0
    Views
    806

    get title by grep

    Hello,
    I would like to get a title from a text using grep -E or egrep, can anybody help me with regex?

    I tried this:

    cat file | egrep (?<=title>).*(?=</title)
    But did not work for me.
  6. Replies
    0
    Views
    383

    Problem with image resize

    hi
    i have this code on jsfiddle:

    http://jsfiddle.net/5mfbM/15/

    When i move a mouse over image it zooms in. When i move it back it should get to the size as it was. Such little thumbnail. But...
  7. Replies
    0
    Views
    674

    slideUp and animate problems

    I found some problems when I tried to use Jquery slideUp() or animate({height: "0"} methods. I have an image in div.top. Next is another div with a button. These divs are wraped by parent div. When I...
  8. Replies
    2
    Views
    2,155

    Yet two more repairs in ORDER BY and WHERE cond....

    Yet two more repairs in ORDER BY and WHERE cond.



    foreach ($selects['order'] as $col => $column):
    $order .= " x.`$column`"; // COLUMN TO ORDER
    if ($args->got['home']==1){
    $order...
  9. Replies
    2
    Views
    2,155

    solved

    I found a solution.

    First to create a mysql View like this:



    CREATE VIEW test_view AS SELECT a. * , b. *
    FROM basic a
    JOIN details b ON a.`id` = b.`basic_id`
  10. Replies
    2
    Views
    2,155

    [RESOLVED] Select Previous or Next row

    Hi,
    few day I try to find how to do this. I have a form into which I load some data with AJAX. I have 8 select boxes there to filter (4 boxes) or to order columns (4 boxes). When I prepare SQL query...
  11. Replies
    1
    Views
    1,193

    I have tested this code in html kit with bigger...

    I have tested this code in html kit with bigger textarea there:

    <textarea id=id cols="100" rows="15">321545465231313541</textarea>
    and it slidesUp (point #1 and #2 is all right). But problem is...
  12. Replies
    1
    Views
    1,193

    I am trying to .slideUp()

    I I am tryint to .slideUp() with Jquery, but have some problems with it.

    Anybody helps?

    To explain I will simplify the problem as possible:

    I have a code, where is a few divs:
  13. [RESOLVED] How to export/import data from latin1 to utf8

    Hi, I have such problem.

    I am using Windows, Mysql 5.0.2 and phpmyadmin.

    I have a db and table in utf-8 charset but when I made backup it is in latin1. I would prefer to do backups in utf8 but...
  14. I will leave it be as it is in .post() because I...

    I will leave it be as it is in .post() because I have no any problem at this stage. Thank you for help.
  15. The data object {} is working perfectly when I...

    The data object {} is working perfectly when I use it on .post() method. Therefor I see these question negligible.
  16. That was something like this:

    That was something like this:



    <?php
    print_r($_POST);
    die();

    include ("config_common.php");
    include ("mysql_class.php");
  17. Ooops. You are right. I forgot about...

    Ooops. You are right. I forgot about Helpers_class where I work with $_POST and convert the input data through htmlentities(). I removed it and it looks it works now. Thanks for help.

    I would like...
  18. I have found that it is possible to redefinate...

    I have found that it is possible to redefinate Mime type:
    http://api.jquery.com/jQuery.ajax/#jqXHR
    jqXHR

    But I did not succeed to apply this command:


    $.post("ax.php?action=post&save=1",...
  19. No, there is not. Somebody told me that I should...

    No, there is not. Somebody told me that I should send

    header('Content-Type: text/html; charset=UTF-8');
    in the php file of AJAX. I didn't have the header there but I placed it there now. I have...
  20. Thanks for reply. Yes. I have checked all of...

    Thanks for reply.

    Yes. I have checked all of these.

    HTML header:

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">

    mysql command to set the database encoding (this one...
  21. [RESOLVED] jQuery AJAX $.post encoding problem

    I have some problem that when I .post() my JSON {data} with JQUERY & AJAX, so server receives strings incorrectly or changed. I mean that when I send some text e.g. "<br>" so it changes is into...
  22. Replies
    2
    Views
    1,318

    Sobemody adviced to me to use stripslashes() to...

    Sobemody adviced to me to use stripslashes() to get out the slashes and then decode and it works for me.
  23. Replies
    2
    Views
    1,318

    [RESOLVED] Conversion of JSON object

    HI,
    I have such problem when I post my object from client to server (php).

    The object should be like so:

    {"cols_arr" : "help13",
    "cols_object":
    {
    "col" : "b.`help13`" , "val": ""...
  24. I have the code almost ready. Now I continue in...

    I have the code almost ready. Now I continue in different thread because this concerns more .delay() problem than editing/saving data (See the code on the link; that is more complex).
  25. Replies
    10
    Views
    2,701

    I tried to do it with callback function....

    I tried to do it with callback function. Nevertheless, a problem with that occurred:

    error:
    $(that).delay is not a function
    on line 27: [Break On This Error] $(that).delay(1500).queue(



    ...
Results 1 to 25 of 136
Page 1 of 6 1 2 3 4
HTML5 Development Center



Recent Articles