|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: General question, is it possible to? (DHTML & grouping)
Pål Steven Eriksen wrote: > > Problem then is if I have many news headlines I have to scroll down to click > on news headline and then up again to read it (if it's at the bottom). Approaching the problem in point, and not the job you describe, I'd consider an alternative... Seeing as you're committed to DHTML anyway, why not position the text relative to the headline? OnClick for the headline, find its y-position, and place the article in the second column at the same height. I guess this might not be quite right if you click on a title that's already at the bottom of the screen, so maybe you want to calculate the page-relative y needed to place the text so it starts from the top of the visible screen. That way you use all the available space, and can scroll down to see the rest if it's long! (I was about to draw some ascii-art, but decided not to this time.) (You're welcome) That's just the first thought I had given this task. Your 'bunches of ten' idea sounds fine, and could be an interesting and different XSL exercise, but would /probably/ be harder than using DHTML here. The DHTML needed to get the grouping going would be pretty tricky in itself. Just another way of looking at it, .dan. :=====================:====================: : Dan Morrison : The Web Limited : : http://here.is/dan : http://web.co.nz : : dman@xxxxxxxx : danm@xxxxxxxxx : : 04 384 1472 : 04 495 8250 : : 025 207 1140 : : :.....................:....................: : If ignorance is bliss, why aren't more people happy? :.........................................: XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








