hi,

the wicket menu works fairly ( 
http://www.cooldatasoft.com/wicket-menu-demo/wicket/bookmarkable/com.cooldatasoft.page.SunriseGlossDropDownMenuDemo?1
 )
the problem at the moment is that the target page (p1) replaces the current 
page where the menu is inside.
is there a way to define a target container/DIV where the target page should be 
shown? for example like this: http://wicketstuff.org/wicket/navomatic/

regards hubert

i used the component in this way:

final testMenu p1 = new testMenu();
                
//Define Primary Menu items (menuText,destinationWebPage)               
MenuItem primaryMenu1 = new MenuItem("MENU 1",p1);
List<MenuItem> primaryMenuList = new ArrayList<MenuItem>();
primaryMenuList.add(primaryMenu1);

add(new SunriseGlossDropDownMenu("sunriseGlossMenu", primaryMenuList));

markup:
<div wicket:id="sunriseGlossMenu"></div>


Am 08.06.2011 um 21:33 schrieb Peter Karich:
Am 08.06.2011 um 17:51 schrieb Fatih Mehmet Ucar:

> http://code.google.com/p/wicket-menu/
> 
> Not complete but if you see the source code, it will give you an idea.
> 
> cheers,
> -fatih
> 
> On 8 June 2011 16:28, hubert_hupe <[email protected]> wrote:
>> hi guys,
>> 
>> i have no clue how to create a simple navigation bar like this: 
>> http://net.tutsplus.com/tutorials/javascript-ajax/a-different-top-navigation/
>> if possible i need images for the headlines.
>> when you move the mouse over the menu it drops down - there are millions of 
>> website with this functionality.
>> the problem is: i have to ceate the menu dynamically. the informations which 
>> menuitem should be in the menu comes from the database. so i cannot use a 
>> static javascript code in the html file.
>> is anybody there who can give me a hint or even an example?
>> 
>> best regards
>> 
>> hubert
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>> 
>> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 

Reply via email to