Open GoogleCodeExporter opened 9 years ago
Are you using any particular js-library (dojo, jQuery, YUI)? If you are -- it's
a
one-liner? This feature can be a bit heavy on the code (if done from scratch),
especially that it will probably not be used that often (how many times would a
developer really need to drag/drop the log-window when he's in his
groove/dev-mode?).
-gc
Original comment by GeorgeC...@gmail.com
on 18 Oct 2008 at 7:51
But sometimes you need to see what is behind the window, isn't it?
So I think in the debug mode, js file size shouldn't be a problem.
Original comment by paranoid...@gmail.com
on 30 Oct 2008 at 4:15
You can see what's behind the window... simply call log.move() or press
F2+shift.
Drag-and-drop is a nice-to-have feature. Maybe version 2...
Original comment by gscottol...@gmail.com
on 30 Oct 2008 at 4:53
Haha. I can't believe that I came here and there was a comment just yesterday
about Drag and Drop.
Immediately the first thing I thought of when I saw this was "why can't I move
it!?!?" So, two hours and a lot
of learning later I made a draggable version without including a library, just
some straightforward slimmed
down open source javascript:
http://bogojoker.com/dump/example_drag.html
The timestamp on my webserver shows I uploaded it => "17-Oct-2008 01:14"
I only added some Javascript which, after studying, I optimized for Blackbird:
http://bogojoker.com/dump/blackbird_drag.js
Changes:
1. Added an id to the upper portion "bbHandle"
2. Added a MiniDrag"class"
3. Attach the MiniDrag to the bbHandle to move the entire blackbird div
What do you think?
Original comment by joepec...@gmail.com
on 1 Nov 2008 at 1:34
Attachments:
Awesome work, Joe! I completely take my words ("heavy on the code") back. Wow
-- <50
lines for the whole functionality, unminified(!). My opinion is that it should
be a
nice little plugin rather then a integral component, but its pretty cool
nonetheless.
Original comment by GeorgeC...@gmail.com
on 1 Nov 2008 at 8:09
great job Joe.
Original comment by r.ju...@gmail.com
on 14 Apr 2009 at 7:49
Original issue reported on code.google.com by
s...@ami.cz
on 16 Oct 2008 at 7:55