Hi, can anyone suggest how to fix this problem:
array("<a
href='javascrip t:popImage('med ia/images/schaf2_big.jpg' ,'')'><img
src='media/images/".$spage."_1.gi f'></a>","rest of array..."),
As you can see I have a PHP array and inside that I want to set a
javascript popup but the syntax for javascript will not allow it. When
you roll over this in the browser, the link will only show:
"javascript:pop Image"
It peters out on the (
so I think - i can use ascii characters (() to complete the
javascript function - but this isnt working either...
Soo - is there another event handler that is better to use? Can anybody
suggest any workaround at all?
I would appreciate your time. Thanks!
Brian
array("<a
href='javascrip t:popImage('med ia/images/schaf2_big.jpg' ,'')'><img
src='media/images/".$spage."_1.gi f'></a>","rest of array..."),
As you can see I have a PHP array and inside that I want to set a
javascript popup but the syntax for javascript will not allow it. When
you roll over this in the browser, the link will only show:
"javascript:pop Image"
It peters out on the (
so I think - i can use ascii characters (() to complete the
javascript function - but this isnt working either...
Soo - is there another event handler that is better to use? Can anybody
suggest any workaround at all?
I would appreciate your time. Thanks!
Brian
Comment