MorningZ wrote:
i am still wondering why you wouldn't use different functions since the buttons (obviously) do different things....
seperating the logic seems to make a hell of a lot more sense than doing a case statement inside one function
not trying to be difficult on this thread, just severely questioning the logic
|
The point is, they all do the same thing. But have this litte parameter wich needs to be set wich is different.
The midbar is made out of 11 linkbuttons, which are all dynamic. If I would have to write the code at each page, for each sub, that will add up to about 400 lines of code per page..
Got the point?