MyBB Community Forums

Full Version: Outputting to Frames...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there a way that I could use the output_page function (or some other method) so that I could use frames? I'm writing an app that would add / remove items and the users are requesting a way to see them while still adding new items. (To view progress and such...)

I've done a "mock-up" in Photoshop to help visualize what I'm trying to do.

[Image: mockup.png]

I'd like to see the top table in a frame and the bottom table in another frame and when I add something from the top frame it'll make the change to the bottom frame and refresh (reload) it...

Lem
Just making sure I'm on the point; this is a kind of system where there is "X" items & you have "Y" items?

If it is; I'm sure you can give Ajax a try and making it much more pretty. You can use http://script.aculo.us/ to do that; there is an example of Drag & Drop right here too: http://www.gregphoto.net/sortable/advanced/
I don't think AJAX is the right answer for this type of page (or I'm not doing it right) because the bottom frame/table (table using AJAX) gets reloaded / refreshed every time the main search (top table/frame) updates...

I'm still thinking that frames would be the way to go, but I'm drawing a blank on how to implement it and still use the MyBB templates, etc. (Which I'd really like to use because of their simplicity.)

Lem