5 replies
by jck
sounds like a challenge...hehe...done VB for years. I could probably figure a long way around it...but, it'd probably take too loong if he's in a hurry. I'm no guru, but I'd be willing to try.
waiting to see what he says...
I posted and realised that there might be a way round it, but I've a feeling it would take a considerable amount of effort before you could post with any confidence. Even in my favourite environments I'd have to have a good think about it.
I know tree view has a method for making an item in it visible within the scroll window, but I don't remember seeing one exposed for grids, list boxes and especially not forms.
by jrperk
A quick hunt with my Google Gun potted this wee beastie which might give some clues.
http://codepunk.hardwar.org.uk/ajs02.htm
He talks about popping up another page when you've scrolled half way down the one you are on.
Not tried it, but should give you some clues on what questions to ask.
When you've found some way of identify what item(s) are visible within the scroll window, using frames or a named window you should be able to jump straight to the corresponding item with a local anchor or potentially set the scroll bar position in the other window if it's accessible. Bear in mind that if the items in the two windows are different heights or potentially different fonts etc you'll have to calculate where it should be in the other window though.
You could use css to cast that in stone and auto resize the windows by to the size you can cope with, but people with a different screen resolution or who like big text because of failing eyesight might not be able to use your stuff.
If you use frames at least both 'windows' will have the same properties even if they arre not what you planned on !
Best O'luck.
Try and wean yourself off frontpage though, it will hinder you more than it will help.
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending