
On 12/6/12, Dron Rathore <dron.rathore@gmail.com> wrote:
@rouslan:
Hmmm.. there are no framesets in master
Well sorry for replying late, i tried every release of PMA and there was none without framesets. The 2 framesets, one for navigation.php and another one for tbl_structure or other, that we call main frame havn't dwarfed(As far as i have found, might you be using different release, if it is the case then please update me about it). So, it took a while for me to figure out in what context i was talking and i found it right. Just, instead of calling a click event of outer anchor(refer to my previous mail) we can do it directly i.e. Adding a #curr_db_name to window.location for each click in Navigation panel, in that way we will not be using something extra for $Global and will not cause any consequences with MaxNavigation and can solve the Marc's Bug(refer to his mail).
Previous email: ------------------- On 01/12/12 00:53, Dron Rathore wrote:
@rouslan: Thanks for correcting me. :) But what i see is that if i switch to any db the index.php(that holds our frameset) browser url says, localhost/phpmyadmin/index.php?db="the jumped db name"&token=a-md5 So, now if i browse tables of that db, the url stays same and then if we refresh we are thrown back to either the db tables or the previous table structure(with no table name). I was saying(correcting my method, as then you pointed Maxnavigation :) ) that for each click on the left navigation.php frameset we can apply a js which just add "#table-name" to the document.parent.location but when i applyed this the whole page was refreshing, so we can have an arbitary anchor tag(outside the frameset) whose link is changed by the click event of left navigation and right frameset anchors and then we call the click event of the outer anchor(it works!) and then a little more workout on the index.php so that everytime we refresh, we pass that table value to the navigation.php frameset url and the sql.php/ table_structure.php left navigation, doing this way we will not harm the MaxNavigation and also the context of curr_table is saved. I would have pulled the request but i am naive with github so just learning :) - Regards Dron Rathore Hmmm, sorry, I have no idea what you are talking about. There is no context to this email. And, ummm, there are no framesets in master... Bye, Rouslan