Re: [PHP] menu mouseover using php and javascript

2004-09-22 Thread Marek Kilimajer
web_singer wrote: I am using an array to create a menu and the code to change an image on mouseover. I would also like to change some text on mouseover. While i can do it using a swtich in javascript it requires that I hard code all the different options in. My whole reason for using the php in t

Re: [PHP] menu mouseover using php and javascript

2004-09-22 Thread John Nichel
web_singer wrote: Thanks for the response, I am very new to using PHP (really need a newbies section LOL) and while I can see how a multi-dimensional array would have been better than using two I am not sure how I would get my code to read that text in the mouseover. I can read the two arrays but

Re: [PHP] menu mouseover using php and javascript

2004-09-22 Thread web_singer
"John Nichel" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > web_singer wrote: > > I am using an array to create a menu and the code to change an image on > > mouseover. > > I would also like to change some text on mouseover. While i can do it using > > a swtich in javascript it re

Re: [PHP] menu mouseover using php and javascript

2004-09-22 Thread John Nichel
web_singer wrote: I am using an array to create a menu and the code to change an image on mouseover. I would also like to change some text on mouseover. While i can do it using a swtich in javascript it requires that I hard code all the different options in. My whole reason for using the php in t

RE: [PHP] menu mouseover using php and javascript

2004-09-22 Thread Jay Blanchard
[snip] Does anyone have an idea how I can get the text portion to also use my variable? [/snip] Output the javascript with PHP -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php