Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help - with javascript/osc syntax - req'd


yesudo

Recommended Posts

How do i get this:

 

<a href= "http://mail.yesudo.com/homebox.egml" onMouseOver= "if (document.images) document.button_quick_find.src= 'http://www.yesudo.com/includes/

languages/english/images/buttons/button_quick_find_on.gif';" onMouseOut= "if (document.images) document.button_quick_find.src= 'http://www.yesudo.com/

includes/languages/english/images/buttons/button_quick_find.gif';"><img src= "http://www.yesudo.com/includes/languages/english/images/buttons/

button_quick_find.gif" name="button_quick_find" border=0></a>

 

Into this:

 

  $info_box_contents[] = array('form' => tep_draw_form('quick_find', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get'),
                              'align' => 'center',
                              'text' =>'Product Search' . '<br>' . tep_draw_input_field( 'keywords', '', 'size="10" maxlength="30"  style="width: ' . (BOX_WIDTH-30) . 'px"') . ' ' . tep_hide_session_id() . '<br>' . tep_image_submit('button_quick_find.gif', 'Go')  . '<a href="' . tep_href_link(FILENAME_ADVANCED_SEARCH) . '">' . '</a>');

 new infoBox($info_box_contents);
?>

 

I keep getting parse errors - whatever way I try it.

 

Please advise - Thanx.

Your online success is Paramount.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...