Hi does anyone knows how to do frames navigation with buttons. I now have 3 frames(frame header, left and content). I have the button on the left frame. So let say i have 4 button on the left frame, and i click on idividual button, the main frames will show the individual page that i have directed to it. I got the frames done. Now is that i dont know how to target the frame with button. i can do it with <a href="asd.aspx target="content"></a>. But how do i do it with buttons?
Dont use frames for mavigation. Frames are not accessible and frames annoy the user by killing his abiity to use the back button. A better solution would to use a server side include to get content on every page. Also, why use a commmand button for navigation?
why? If you do it this way it is going to require you to use client side scripting I believe. Thus making your site extremely inaccessible with frames and js. There is no good reason, what so ever, to do this.
Well if you use a button, it is going to need java script to make it work and keep it pretty.
Here is what you might try: do a response.redirect back to the navigation frame, but use a query string to identify what page the user wanted to go to and then put that page in the other frame from the directory or just pass that query string over to the other frame and pull that data from the db. But it is going to cause the whole thing to refresh so it will not be as pretty as if you used a link. It is either doing it this way (to keep it more accessible) or you use java script which is terribly inaccessible. Keep in mind about 4% of the internet will not read your java script.