sending string vars

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Irlan agous

    sending string vars

    Hello, i want to control the windows.status bar with a php link like this:

    echo " <a
    href=\"javascri pt:openCentered ('re.php?logid= $logid&id=$id,' codes','480','2 30','scrollbar= yes')\"
    OnMouseOver=\"w indow.status='I ndoDutchMatchin g!'; return true;\"
    OnMouseOut=\"wi ndow.status='In doDutchMatching '; return true;\"
    OnMousePress=\" window.status=' IndoDutchMatchi ng'; return true;\"><img
    src=\"" . $fotoj . "\" border=1></a>\n";//


    in this example only the MouseOver and MouseOut are working. But if i change
    the <img src=\"" . $fotoj . "\" border=1> to
    <input type='image' src=\"" . $fotoj . "\" border=1> The the MouseDown is
    working, but the MouseOver and MouseOut not. What is the solution for all 3
    to work?

    Irlan


  • Joe Estock

    #2
    Re: sending string vars

    Irlan agous wrote:[color=blue]
    > Hello, i want to control the windows.status bar with a php link like this:
    >
    > echo " <a
    > href=\"javascri pt:openCentered ('re.php?logid= $logid&id=$id,' codes','480','2 30','scrollbar= yes')\"
    > OnMouseOver=\"w indow.status='I ndoDutchMatchin g!'; return true;\"
    > OnMouseOut=\"wi ndow.status='In doDutchMatching '; return true;\"
    > OnMousePress=\" window.status=' IndoDutchMatchi ng'; return true;\"><img
    > src=\"" . $fotoj . "\" border=1></a>\n";//
    >
    >
    > in this example only the MouseOver and MouseOut are working. But if i change
    > the <img src=\"" . $fotoj . "\" border=1> to
    > <input type='image' src=\"" . $fotoj . "\" border=1> The the MouseDown is
    > working, but the MouseOver and MouseOut not. What is the solution for all 3
    > to work?
    >
    > Irlan
    >
    >[/color]

    This smells like an html specific question.

    Joe Estock

    Comment

    • Andy Hassall

      #3
      Re: sending string vars

      On Tue, 12 Apr 2005 13:32:22 GMT, Joe Estock <jestock@NOSPAM nutextonline.co m>
      wrote:
      [color=blue]
      >Irlan agous wrote:[color=green]
      >> Hello, i want to control the windows.status bar with a php link like this:
      >>
      >> echo " <a
      >> href=\"javascri pt:openCentered ('re.php?logid= $logid&id=$id,' codes','480','2 30','scrollbar= yes')\"
      >> OnMouseOver=\"w indow.status='I ndoDutchMatchin g!'; return true;\"
      >> OnMouseOut=\"wi ndow.status='In doDutchMatching '; return true;\"
      >> OnMousePress=\" window.status=' IndoDutchMatchi ng'; return true;\"><img
      >> src=\"" . $fotoj . "\" border=1></a>\n";//
      >>
      >> in this example only the MouseOver and MouseOut are working. But if i change
      >> the <img src=\"" . $fotoj . "\" border=1> to
      >> <input type='image' src=\"" . $fotoj . "\" border=1> The the MouseDown is
      >> working, but the MouseOver and MouseOut not. What is the solution for all 3
      >> to work?[/color]
      >
      >This smells like an html specific question.[/color]

      More like a javascript odour. Not even a sniff of PHP.

      --
      Andy Hassall / <andy@andyh.co. uk> / <http://www.andyh.co.uk >
      <http://www.andyhsoftwa re.co.uk/space> Space: disk usage analysis tool

      Comment

      • Tim Roberts

        #4
        Re: sending string vars

        "Irlan agous" <irlan345@msn.c om> wrote:[color=blue]
        >
        >Hello, i want to control the windows.status bar with a php link like this:
        >
        > echo " <a
        >href=\"javascr ipt:openCentere d('re.php?logid =$logid&id=$id, 'codes','480',' 230','scrollbar =yes')\"
        > OnMouseOver=\"w indow.status='I ndoDutchMatchin g!'; return true;\"
        > OnMouseOut=\"wi ndow.status='In doDutchMatching '; return true;\"
        > OnMousePress=\" window.status=' IndoDutchMatchi ng'; return true;\"><img
        >src=\"" . $fotoj . "\" border=1></a>\n";//[/color]

        Please don't. There are few things on a web page that are more irritating
        than forcing me to do a view source to double check where the links
        actually go. You can't defeat me, but you CAN irritate me so that I don't
        come back.

        It's right up there next to the red/white blinking images.
        --
        - Tim Roberts, timr@probo.com
        Providenza & Boekelheide, Inc.

        Comment

        Working...