"here you are" relationsgraphindicator [tracked]

old granted and denied feature requests

Moderator: AniDB

Locked
yidaki2

"here you are" relationsgraphindicator [tracked]

Post by yidaki2 »

It would be helpful if the relationsgraph showed which anime you just came from.
Maybe it can have a red frame or something.

It's almost useless, and a really small feature.
But I'd like it.
Some graphs are so big that you easily loose yourself, and reading the titles of all of them until you find where you were is timeconsuming.
exp
Site Admin
Posts: 2438
Joined: Tue Oct 01, 2002 9:42 pm
Location: Nowhere

Post by exp »

well,

i'd rather not do that.
right now i save time and disk storage by generating each image only once and reusing it for all animes which belong into that "relation group".
that would be impossible if i would add a special indicator to each image.

the only thing i can think of right now would be some client side javascript/dynamic html code which overlays a marker over the image shown, but i have no idea how to do that.
if anyone does, feel free to play with it :P

BYe!
EXP
PetriW
AniDB Staff
Posts: 1522
Joined: Sat May 24, 2003 2:34 pm

Post by PetriW »

Easy to do in IE but have no idea about other browsers. 8O
Elberet
Posts: 778
Joined: Sat Jul 19, 2003 8:14 pm

Post by Elberet »

CSS can do that easily, there's no client-side scripting required at all:

Code: Select all

<style type="text/css">
<!--
#graph {
    position: relative;
}

#graph img.thegraph {
    position: absolute;
}

#graph img.marker {
    position: absolute;
}
// -->
</style>

...

<div id="graph" style="height: H; width: W;">
<img class="thegraph" ... />
<img class="marker" style="top: T; left: L;" ... />
</div>
H and W are the height and width of the image. T and L are the coordinates of the marker-image's top-left corner, relative to the top-left corner of the graph image.
Last edited by Elberet on Wed May 26, 2004 8:45 am, edited 1 time in total.
Guest

Post by Guest »

exp wrote:well,

i'd rather not do that.
right now i save time and disk storage by generating each image only once and reusing it for all animes which belong into that "relation group".
that would be impossible if i would add a special indicator to each image.

the only thing i can think of right now would be some client side javascript/dynamic html code which overlays a marker over the image shown, but i have no idea how to do that.
if anyone does, feel free to play with it :P

BYe!
EXP
Hmm, does that mean that the more animes you are able to put together, the less images you have to generate?
Is that a good thing?
If I manage to find a character in Gundam that is in Macross, and then a setting that is used in both Macross and Tenchi, then they are unified into one large image. Is that better then loading a separate image for each?
hmm, depends on how popular they are I guess.

Well, Elberet's solution sounds great. :D
except for the "widht" spelling error ;)
Elberet
Posts: 778
Joined: Sat Jul 19, 2003 8:14 pm

Post by Elberet »

Anonymous wrote:except for the "widht" spelling error ;)
Fixed. ;)
Locked