When we click on the board name, page starts to reload with that board closed if opened and opened if closed.
I think this should be done WITHOUT reloding the page. (Should be done just like the quickreply function; when you click on the quickreply link, it doesnt need reloading, just opens and closes immediately)
You mean categories, right?
-[Unknown]
yes, sorry for the wrong word :)
i mean the categories.
I HIGHLY agree with you, there.
Why does it reload anyways? Doesnt it use javascript?
It's more efficient not to load data it won't need.... it could collapse using JavaScript, but I'd be against it expanding with it, myself.
Using XMLHttpRequest would be possible, but would make it much more difficult to write templates.
-[Unknown]
so, can we do or not? :p
You see, elmacik, that it is not just collapsing the catagory. The forum also remembers the choice so that next time the user comes, collapsed catagories will stay collapsed. You have to send something to the server, in this case with the effect of a reload.
As [Unknown] said, it's possible to do it without reload, but it will make things more complicated. What I am thinking is, if this makes its way into default template, it may gives users a pass to ask for similiar features, and soon JS will conquer the interface...
Yes I seems to be pessimistic. I think once upon a time I was optismistic...
bump !
what i noticed:
upshrink works without reload and it DOES remember the last position when you LOG BACK IN.
yes, you logout, log back in and upshrink still remembers your last choice..
so please make this available for collapsing / expanding the categories too...
That works great if you log in from the same computer all the time, but if you login from a different computer, the category would be expanded even if you had collapsed it the last time you logged in. This is why the page re-loads - so SMF can update the database to indicate that you collapsed (or expanded) that category.
And by the way: thats what I always liked about YSE/SMF... that it stores most data in the DB instead of using cookies - most of the time, I'm using 4 different PCs - and I like the fact that the forum stays the same on all of them without the need to configure it on every PC seperatly...
I love it too. In particular, one popular "professional" system still stores quick reply data in cookies, and I get tired of having to go into my profile and tell it to always show the quick reply box each time I log in from a new computer.
I'd love to see SMF+AJAX... but prehaps I'm just dreaming :P
Lainaus käyttäjältä: eldacar - lokakuu 21, 2005, 09:35:57 AP
I'd love to see SMF+AJAX... but prehaps I'm just dreaming :P
Wow! Your dreams came true :D
How about Ajax with this request? :)
can someone tell me wtf AJAX is ?
Take a look: Life after Ajax (http://www.xml.com/pub/a/2005/06/29/deviant.html)
Its used for inline editing in SMF.