473,387 Members | 1,702 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

php with javascript

Hello i have this script

echo " <a
href=\"javascript:openCentered('re.php?betaling=$b etaling&persemail=$email&logid=$logid&id=$id&react ie=yes&logoproep=$logoproep&persoproep=$persoproep &date=$date&logemail=$logemail','codes','480','230 ','scrollbar=yes')\"
OnMouseOver=\"window.status='IndoDutchMatching!'; return true;\"
OnMouseDown=\"window.status='IndoDutchMatching'; return true;\"
OnMouseOut=\"window.status='IndoDutchMatching'; return true;\"><img src=\""
.. $fotoj . "\" border=1></a></td>\n";//
Only the MoueOut and MouseOver are working, why not the MouseDown, if the
use presses the button, it sees all the variables, i want to hide them

Irlan
Jul 23 '05 #1
7 1215
In article <e2***************************@news.versatel.nl> , ir******@msn.com
enlightened us with...
Hello i have this script

echo " <a
href=\"javascript:openCentered('re.php?betaling=$b etaling&persemail=$email&logid=$logid&id=$id&react ie=yes&logoproep=$logoproep&persoproep=$persoproep &date=$date&logemail=$logemail','codes','480','230 ','scrollbar=yes')\"
OnMouseOver=\"window.status='IndoDutchMatching!'; return true;\"
OnMouseDown=\"window.status='IndoDutchMatching'; return true;\"
OnMouseOut=\"window.status='IndoDutchMatching'; return true;\"><img src=\""
. $fotoj . "\" border=1></a></td>\n";//
Only the MoueOut and MouseOver are working, why not the MouseDown, if the
use presses the button, it sees all the variables, i want to hide them


Don't look at the PHP.
Look at what the browser sees. The browser doesn't see PHP code.

Open the page, then view source.
You might find the problem right there. I find that to be the case,
especially when I omit a quote or something in the PHP.

If you still don't see it, copy the actual source from the browser here.

Oh, BTW, it looks like you have the same thing going to the status bar for
onmouseover and onmousedown, so don't you think it might be hard to tell the
difference? ;)

--
--
~kaeli~
Going to church doesn't make you a Christian any more than
standing in a garage makes you a car.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 23 '05 #2
So, if its the same, how do i tell javascrip to show something on the status
bar, when the button is in pressing status, when the user holds down the
button, it sees the names of the variables, you get what i mean now??

Irlan
"kaeli" <ti******@NOSPAM.comcast.net> schreef in bericht
news:MP************************@nntp.lucent.com...
In article <e2***************************@news.versatel.nl> ,
ir******@msn.com
enlightened us with...
Hello i have this script

echo " <a
href=\"javascript:openCentered('re.php?betaling=$b etaling&persemail=$email&logid=$logid&id=$id&react ie=yes&logoproep=$logoproep&persoproep=$persoproep &date=$date&logemail=$logemail','codes','480','230 ','scrollbar=yes')\"
OnMouseOver=\"window.status='IndoDutchMatching!'; return true;\"
OnMouseDown=\"window.status='IndoDutchMatching'; return true;\"
OnMouseOut=\"window.status='IndoDutchMatching'; return true;\"><img
src=\""
. $fotoj . "\" border=1></a></td>\n";//
Only the MoueOut and MouseOver are working, why not the MouseDown, if the
use presses the button, it sees all the variables, i want to hide them


Don't look at the PHP.
Look at what the browser sees. The browser doesn't see PHP code.

Open the page, then view source.
You might find the problem right there. I find that to be the case,
especially when I omit a quote or something in the PHP.

If you still don't see it, copy the actual source from the browser here.

Oh, BTW, it looks like you have the same thing going to the status bar for
onmouseover and onmousedown, so don't you think it might be hard to tell
the
difference? ;)

--
--
~kaeli~
Going to church doesn't make you a Christian any more than
standing in a garage makes you a car.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 23 '05 #3
In article <ea***************************@news.versatel.nl> , ir******@msn.com
enlightened us with...
So, if its the same, how do i tell javascrip to show something on the status
bar, when the button is in pressing status, when the user holds down the
button, it sees the names of the variables
No it doesn't. The code tells it what to put there and it's a string, not a
variable.
And it isn't a button, it's an image enclosed in an href for some odd reason.
A button is
<input type="button">
, you get what i mean now??


Did you write that code? You didn't, did you?

These two lines are identical except for the exclamation point. Change them
to be more different so you can see what it's doing.

OnMouseOver=\"window.status='IndoDutchMatching!'; return true;\"
OnMouseDown=\"window.status='IndoDutchMatching'; return true;\"

i.e.
OnMouseOver=\"window.status='mouse OVER'; return true;\"
OnMouseDown=\"window.status='mouse DOWN'; return true;\"
--
--
~kaeli~
A little rudeness and disrespect can elevate a meaningless
interaction to a battle of wills and add drama to an
otherwise dull day.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 23 '05 #4
Man, yes i wrote the code. It is an image button. I know its a string
variable, but i dont want the user to see the variables, like i said before,
that is not odd, is that so hard to understand for you? I used the MouOver
and Down, but the down part doesnt work, maybe its not possible,

Irlan

"kaeli" <ti******@NOSPAM.comcast.net> schreef in bericht
news:MP************************@nntp.lucent.com...
In article <ea***************************@news.versatel.nl> ,
ir******@msn.com
enlightened us with...
So, if its the same, how do i tell javascrip to show something on the
status
bar, when the button is in pressing status, when the user holds down the
button, it sees the names of the variables


No it doesn't. The code tells it what to put there and it's a string, not
a
variable.
And it isn't a button, it's an image enclosed in an href for some odd
reason.
A button is
<input type="button">
, you get what i mean now??


Did you write that code? You didn't, did you?

These two lines are identical except for the exclamation point. Change
them
to be more different so you can see what it's doing.

OnMouseOver=\"window.status='IndoDutchMatching!'; return true;\"
OnMouseDown=\"window.status='IndoDutchMatching'; return true;\"

i.e.
OnMouseOver=\"window.status='mouse OVER'; return true;\"
OnMouseDown=\"window.status='mouse DOWN'; return true;\"
--
--
~kaeli~
A little rudeness and disrespect can elevate a meaningless
interaction to a battle of wills and add drama to an
otherwise dull day.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 23 '05 #5
In article <b5***************************@news.versatel.nl> , ir******@msn.com
enlightened us with...
Man, yes i wrote the code. It is an image button. I know its a string
variable, but i dont want the user to see the variables, like i said before,
that is not odd, is that so hard to understand for you? I used the MouOver
and Down, but the down part doesnt work, maybe its not possible,


I don't help people who "speak" to me like that after I've tried to help them
already, for free, on my own time.

Have a nice day!
--
--
~kaeli~
If a turtle doesn't have a shell, is he homeless or naked?
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 23 '05 #6
Irlan agous wrote:
Man, yes i wrote the code.
I wouldn't let anybody know that if I were you.
It is an image button.
No, its an image of a button, but its *not* a button.
I know its a string variable, but i dont want the user to see the variables
Then don't let them see it.

Simple solution:
Dont f**k with the statusbar, you have no worries. Now, where's the problem?
like i said before, that is not odd, is that so hard to understand
for you? I used the MouOver and Down, but the down part doesnt work,
Then fix it.
maybe its not possible,


Maybe not, Maybe so.

And learn to quote/reply properly, its covered in this groups FAQ.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Answer:It destroys the order of the conversation
Question: Why?
Answer: Top-Posting.
Question: Whats the most annoying thing on Usenet?
Jul 23 '05 #7
On Mon, 11 Apr 2005 10:09:05 -0500, in comp.lang.javascript kaeli
<ti******@NOSPAM.comcast.net> wrote:
| In article <e2***************************@news.versatel.nl> , ir******@msn.com
| enlightened us with...
| > Hello i have this script
| >
| > echo " <a
| > href=\"javascript:openCentered('re.php?betaling=$b etaling&persemail=$email&logid=$logid&id=$id&react ie=yes&logoproep=$logoproep&persoproep=$persoproep &date=$date&logemail=$logemail','codes','480','230 ','scrollbar=yes')\"
| > OnMouseOver=\"window.status='IndoDutchMatching!'; return true;\"
| > OnMouseDown=\"window.status='IndoDutchMatching'; return true;\"
| > OnMouseOut=\"window.status='IndoDutchMatching'; return true;\"><img src=\""
| > . $fotoj . "\" border=1></a></td>\n";//
You don't want people to see this in the Address/URL bar:
betaling=$betaling&persemail=$email&logid=$logid&i d=$id&reactie=yes.....

The only way (that I know of) is to:
make all these items as hidden types
<input type="hidden" name="logid" value="<? echo logid?>" />
Place these on a form and set the method to post:
<form name="form1" method="post" action="webpage.php" >
On the 'wepage.php' then use the $_POST function to retrieve the
hidden values.
| > Only the MoueOut and MouseOver are working, why not the MouseDown, if the
| > use presses the button, it sees all the variables, i want to hide them
| >
|
| Don't look at the PHP.
| Look at what the browser sees. The browser doesn't see PHP code.
|
| Open the page, then view source.
| You might find the problem right there. I find that to be the case,
| especially when I omit a quote or something in the PHP.
|
| If you still don't see it, copy the actual source from the browser here.
|
| Oh, BTW, it looks like you have the same thing going to the status bar for
| onmouseover and onmousedown, so don't you think it might be hard to tell the
| difference? ;)
|
| --


---------------------------------------------------------------
jn******@yourpantsyahoo.com.au : Remove your pants to reply
---------------------------------------------------------------
Jul 23 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.