Trying to call js from a PHP menu builder function
Posted 01 August 2006 - 02:16 PM
$menu .= "<img border='0' id='img70' src='images/nav_buttons/home_link.gif' height='20' width='156' alt='Home' onmouseover='FP_swapImg(1,0,/*id*/'img70',/*url*/'images/nav_buttons/home_active.gif')' onmouseout='FP_swapImg(0,0,/*id*/'img70',/*url*/'images/nav_buttons/home_link.gif')' onmousedown='FP_swapImg(1,0,/*id*/'img70',/*url*/'images/nav_buttons/home_hover.gif')' onmouseup='FP_swapImg(0,0,/*id*/'img70',/*url*/'images/nav_buttons/home_link.gif')' fp-style='fp-btn: Glass Capsule 1; fp-font-color-normal: #D82D01; fp-font-color-hover: #D82D01; fp-font-color-press: #D82D01; fp-justify-horiz: 0; fp-proportional: 0' fp-title='Home'></a></TD></tr>";
Posted 01 August 2006 - 02:23 PM
Posted 01 August 2006 - 04:04 PM
As was said in the movie Independence Day "That is not entirely accurate".
However there is no way to obtain a value from a client-side language and use it on the server-side.
You can now pass information from the client to the server without invoking a page load by using AJAX.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users