I have added a web part in my sharepoint everything is up and running
But i have this particular problem
In my web part there a panalbar
In which u all can imagine it like this
( on page load u all will see like this shown below where + is the expandable button )
Category A + Category B +
(On click of the + sign u all will see like tat)
Category A - Item 1 Item 2 Item 3 Category B +
The problem is when i click on either Category A or B the whole page will automatic scroll up to the top , to the very first Category Imagine if in future i were to have 100 expandable item than if user choose the 99 item it will jump up to the top of the page after the item expand than it be troublesome for user to scroll all the way down again .It be messy too .
The attach is my CSS style sheet , Kindly advise . Thanks
So if i got this right, you want to have a link to a certain part of the page. you can do this with the name atribute in a link http://lmgtfy.com/?q=a+href+name
I have added a web part in my sharepoint everything is up and running
But i have this particular problem
In my web part there a panalbar
In which u all can imagine it like this
( on page load u all will see like this shown below where + is the expandable button )
Category A +
Category B +
(On click of the + sign u all will see like tat)
Category A -
Item 1
Item 2
Item 3
Category B +
The problem is when i click on either Category A or B the whole page will automatic scroll up to the top , to the very first Category
Imagine if in future i were to have 100 expandable item than if user choose the 99 item it will jump up to the top of the page after the item expand than it be troublesome for user to scroll all the way down again .It be messy too .
The attach is my CSS style sheet , Kindly advise . Thanks
EDIT: Code tags added - Mod
So if i got this right, you want to have a link to a certain part of the page.
you can do this with the name atribute in a link
http://lmgtfy.com/?q=a+href+name