[FM Discuss] quick js help
adam hyde
adam at flossmanuals.net
Sat Sep 20 04:43:10 PDT 2008
hi,
Mikkus would like a fwd and back button on the pages (i agree - it would
be excellento!)
if there is a javasvript whiz out there...we can implement this easy if
someone can write a little javascript to navigate a list:
for example the current if you look at the kino manual :
http://en.flossmanuals.net/kino
The index is the same on each page and html looks like this:
<ul>
<li class="title">KINO</li>
<li class="heading">INTRODUCTION</li>
<li><a href="/Kino/Introduction">INTRODUCTION</a></li>
<li class="heading">USING KINO</li>
<li><a href="/Kino/CapturingVideo">CAPTURING VIDEO</a></li>
<li><a href="/Kino/EditingClips">EDITING CLIPS</a></li>
<li><a href="/Kino/AddingTitlesAndCredits">ADDING TITLES</a></li>
<li><a href="/Kino/TransitionsAndEffects">TRANSITIONS AND EFFECTS</a>
</li><li><a href="/Kino/AudioFilters">AUDIO FILTERS</a></li>
<li><a href="/Kino/ExportingVideo">EXPORTING VIDEO</a></li>
<li class="heading">APPENDIX</li>
<li><a href="/Kino/Help">ADDITIONAL HELP</a></li>
<li><a href="/Kino/Credits">CREDITS</a></li>
</ul>
If know the current page (I can create a variable on the page for this)
then can we navigate this by identifying the location of the next list
element and making this the value of the location for a next button?
Any takers?
adam
On Sat, 2008-09-20 at 01:19 -0400, TJB wrote:
> Hi, Adam. Your fix may have broken things for the web access now. I
> am at http://en.flossmanuals.net/bin/view/XO/ReplacingBattery, where
> the html source for one of the missing images is:
> <img title="1Battery" alt="1Battery"
> src="/floss/pub/OLPC_simple/Battery/resized_200x162_1Battery.png"
> height="162" width="200">
>
> Note that the image displays correctly on, say, a version comparison
> page:
> http://en.flossmanuals.net/bin/rdiff/XO/ReplacingBattery?render=sidebyside&type=diff&rev2=6&rev1=5
> where the html source is:
> <img title="1Battery" alt="1Battery"
> src="/floss/pub/OLPC_simple/Battery/.resized_200x162_1Battery.png"
> height="162" width="200">
>
> TJB
>
>
> adam hyde wrote:
> > should be ok now (all fixed)...lemme know
>
> _______________________________________________
> Discuss mailing list
> Discuss at lists.flossmanuals.net
> http://lists.flossmanuals.net/listinfo.cgi/discuss-flossmanuals.net
--
Adam Hyde
Founder FLOSS Manuals
http://www.flossmanuals.net
More information about the Discuss
mailing list