Forums Archive Index > SmartMenus 5 > I need help to set up smartmenu

Author: stefane321

Date: 13 Feb 2005 5:39 pm

I tried to midified the smartmenu in folder "Basic Exemple" I dont know how to change the topic text.. I modified "search" to search44" in s_array.js on line
Code:
N:'search44',   // NAME

And also in index.html on line

Code:
   <td bgcolor=#CBCBEF background=../images/bg.gif><nobr><a href=javascript:; onmouseover=s_show('search44',event) onmouseout=s_hide()><img src=../images/1.gif border=0 height=14></a><img src=../images/s.gif height=14><a href=javascript:; onmouseover=s_show('e_mail',event) onmouseout=s_hide()><img src=../images/2.gif border=0 height=14></a><img src=../images/s.gif height=14><a href=javascript:; onmouseover=s_show('masters',event) onmouseout=s_hide()><img src=../images/3.gif border=0 height=14></a><img src=../images/s.gif height=14><a href=javascript:; onmouseover=s_show('sports',event) onmouseout=s_hide()><img src=../images/4.gif border=0 height=14></a><img src=../images/s.gif height=14><a href=javascript:; onmouseover=s_show('sub_demo',event) onmouseout=s_hide()><img src=../images/6.gif border=0 height=14></a></nobr></td>



But thats do not change any thing in the browser.

Can you help me please?


Author: smartmenus

Date: 14 Feb 2005 5:32 am

What you've done is that you have only changed the name of the menu.

I suppose you want to change the "search" text that is displayed in the top toolbar. Actually this text is an image in the example so you will have to replace the image with another image or just with text like this:

<a href=javascript:; onmouseover=s_show('search',event) onmouseout=s_hide()><img src=../images/1.gif border=0 height=14></a>

<a href=javascript:; onmouseover=s_show('search',event) onmouseout=s_hide()>Your Text</a>