[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: General question, is it possible to? (DHTML & grouping)
Subject: Re: General question, is it possible to? (DHTML & grouping) From: Dan Morrison <dman@xxxxxxxx> Date: Mon, 29 May 2000 01:16:22 +1200 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
General question, is it possible to, Pål Steven Eriksen | Thread | Re: General question, is it possibl, Pål Steven Eriksen |
Re: Problem with Syntax of cgi-type, Dan Morrison | Date | Problem with Syntax of cgi-type cal, Fietz, Markus (Miner |
Month |
Keywords