|
Home > Archive > WebSphere Portal Server > May 2007 > Creating Drop down menus in WP6
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Creating Drop down menus in WP6
|
|
|
| Hi All,
I am trying to create drop down menus for portal navigation in WP6. I am trying to change topNav.jspf. Has any one done this before? Can it even be done? If so, some one please send me a code sample of how that is implemented.
| |
|
| Hi Sharu,
Even i am looking for the same. Please if u find some solution, can u let me know.
Thanks
| |
|
| Hi Sharu,
Thanks a lot for the same. But i have a doubt. I tried using the code, but i cant see a drop down on hover. Any idea what am i doing wrong.
Thanks
| |
| oliver 2007-04-20, 1:18 am |
| In my practise, had rewrited the topnav.jspf. When you can read the node data from the SPI model,and use the style (js and CSS),can implement it. The idea is that read the node data and level relationship from the SPI model, once you have got the data on
the page you can custom the display style.
When you can read the first level nodes,you can reveal them by your mind.Then you get all children nodes of every nodes of first level of the page, so,when u click the certain node of first level, it can reveal all children nodes on the drop menu. I ju
st had read the nodes data by coded, and can not custom the reveal style.
Enough is never enough
| |
| Harisankar Gopalan 2007-05-30, 1:24 am |
| Hi Sharu/Oliver,
My requirement is Show all pages like (P1,P2,P3)on horizontal
On mouse over on page(P1) it should show child node (c1,c2) .
On mouse over on child nodes (c1) it should show again nodes under child node.
Can you suggest me what the steps I have to do ?
Like I have to create pages (p1,p2,p3) and create child pages (c1,c2,c3) under page p1 ?
Do you share me your code snippet .
Thanks
sankar
| |
|
| Hi Hari,
Please use the code I had earlier sent. I have taken my idea of the drop down menu from Sucker fish drop downs.
My present code is a lot different for the CSS and I have seperated it to be included in the styles_theme.jspf. But the file that I had earlier sent is the base file from which I have started coding.
Please refer to the info center to expand the navigation
http://publib.boulder.ibm.com/infoc...s/adsrvcfg.html
And Like I said, refer to the link
http://www.alistapart.com/articles/dropdowns
for the CSS controls of the hidden and visible control on hover.
All the best !!!
Sharu.
|
|
|
|
|