Myreader.co.uk  
uk news, chat and community
   home   |   control panel login   |   archive   |  
 
net
net
news.announce
news.config
news.management
news.moderation
providers
providers.aaisp
web.authoring
  
 
date: Sun, 3 Aug 2008 03:37:16 -0700 (PDT),    group: uk.net.web.authoring        back       
Drop down list help please   
Hi All,

I read this group regularly and find in incredibly useful, so I'm
helping someone will be able to help me out.

I'm building a new personal website to show off photos of various
places I have been around the world. I'm building a whole heap of
pages, each of which will be a photo gallery. What I'm trying to do is
develop a nice way of a user being able to choose which gallery they
want to see. I like to code everything in Notepad because I like to
know what's going on and I like to keep things as simple as possible.

Rather than just having a list of links to the various galleries
(there will be quite a few, currently around 30, but expanding) I
would like to have three drop-down boxes enabling the user to filter
the list.

Each gallery has three characteristics that I would like to be able to
filter by; Country, Continent and Year. I would like a page with the
drop-down boxes across the top, intially showing the full list of
galleries below, but then depending on the user input to one (or more)
of the drop-downs the list would change to only show what is relevant.

In my head I have an xml document defining each gallery with a url,
title, country, continent and year. Something like this:

<gallerylist>
 <galleries>
  <gallery url="cornwall/index.html">
   <title>My trip to Cornwall in 2007</title>
   <country>UK</country>
   <continent>Europe</continent>
   <year>2007</year>
  </gallery>
 ...
 </galleries>
</gallerylist>

The drop-down lists would then populate themselves from this document,
ideally with an option for 'All' included as the default setting:

Country:
-All
-UK
-USA
-etc

Continent:
-All
-Europe
-North America
-South America
-etc

Year:
-All
-2008
-2007
-etc

On pushing a 'Show' button the list would alter to reflect the
selections.

I've read various tutorials on he web, but none quite cover what I
need (that I can find) and I've been trying to piece it together using
various techniques, but I'm struggling.

Any help / tips / useful links would be greatly appreciated.

Thanks in advance.

Tim.
date: Sun, 3 Aug 2008 03:37:16 -0700 (PDT)   author:   unknown

Re: Drop down list help please   
<uk.net.web.authoring>
<>
<Sun, 3 Aug 2008 03:37:16 -0700 (PDT)>


> I'm building a new personal website to show off photos of various
> places I have been around the world. I'm building a whole heap of
> pages, each of which will be a photo gallery. What I'm trying to do is
> develop a nice way of a user being able to choose which gallery they
> want to see.
> 

It sounds more like somebody asked you to do a paid job - and you want 
the users on here to do the work for you .


-- 
www.krustov.co.uk
date: Sun, 3 Aug 2008 15:00:31 +0100   author:   Krustov

Re: Drop down list help please   
"Krustov"  wrote in message 
news:MPG.22ffca45ebf9e97d98b7ef@news.newsreader.com...
> <uk.net.web.authoring>
> <>
> <Sun, 3 Aug 2008 03:37:16 -0700 (PDT)>
> 
>
>> I'm building a new personal website to show off photos of various
>> places I have been around the world. I'm building a whole heap of
>> pages, each of which will be a photo gallery. What I'm trying to do is
>> develop a nice way of a user being able to choose which gallery they
>> want to see.
>>
>
> It sounds more like somebody asked you to do a paid job -

Jealous?

AC
date: Sun, 3 Aug 2008 21:41:26 +0100   author:   AC

Re: Drop down list help please   
"AC"  wrote in message 
news:jEolk.122278$8_2.85230@newsfe08.ams2...
>
> "Krustov"  wrote in message 
> news:MPG.22ffca45ebf9e97d98b7ef@news.newsreader.com...
>> <uk.net.web.authoring>
>> <>
>> <Sun, 3 Aug 2008 03:37:16 -0700 (PDT)>
>> 
>>
>>> I'm building a new personal website to show off photos of various
>>> places I have been around the world. I'm building a whole heap of
>>> pages, each of which will be a photo gallery. What I'm trying to do is
>>> develop a nice way of a user being able to choose which gallery they
>>> want to see.
>>>
>>
>> It sounds more like somebody asked you to do a paid job -
>
> Jealous?
>

Probably got let down by his dealer at the weekend.

-dE|_---
date: Mon, 4 Aug 2008 10:06:07 +0100   author:   dE|_

Re: Drop down list help please   
Tim wrote...
> Hi All,
>
> I read this group regularly and find in incredibly useful, so I'm
> helping someone will be able to help me out.
>
> I'm building a new personal website to show off photos of various
> places I have been around the world. I'm building a whole heap of
> pages, each of which will be a photo gallery. What I'm trying to do is
> develop a nice way of a user being able to choose which gallery they
> want to see. I like to code everything in Notepad because I like to
> know what's going on and I like to keep things as simple as possible.

If you were just looking for drop menus I'd point you at a handy WYSIWYG 
menu kit for that, but it's not exactly purist Javascript.

Oh, and just ignore Krustov, he's a dickhead with a bitter gob.

-dE|_---
date: Mon, 4 Aug 2008 10:13:57 +0100   author:   dE|_

Re: Drop down list help please   
On 4 Aug, 10:13, "dE|_"  wrote:
> Tim wrote...
> > Hi All,
>
> > I read this group regularly and find in incredibly useful, so I'm
> > helping someone will be able to help me out.
>
> > I'm building a new personal website to show off photos of various
> > places I have been around the world. I'm building a whole heap of
> > pages, each of which will be a photo gallery. What I'm trying to do is
> > develop a nice way of a user being able to choose which gallery they
> > want to see. I like to code everything in Notepad because I like to
> > know what's going on and I like to keep things as simple as possible.
>
> If you were just looking for drop menus I'd point you at a handy WYSIWYG
> menu kit for that, but it's not exactly purist Javascript.
>
> Oh, and just ignore Krustov, he's a dickhead with a bitter gob.
>
> -dE|_---

Hi All,

It's certainly not a 'paid job'. I learnt a bit of html / css a few
years back and got myself a couple of domains that I like to re-design
every so often. The one I'm working on is www.placesihavebeen.com.
Feel free to take a look, although there's only a couple of pages up
at the moment as I'm building it live, so to speak.

I gave up on the xml idea, after realising it would need some
databasing type skills that I don't have. I think I've kind of got the
look I'm after on the index page with the 3 drop-down boxes after lots
of experimenting yesterday, but for some reason, I can't clear a
previously selected country or date by choosing 'all'?

I had wanted to nest the <div>s to make the coding simpler but to show
just the UK galleries would therefore require Europe to already be
selected for example (as the UK <div>s would be nested inside a hidden
Europe <div>). Any advice on how to over come this would be very
useful.

Thanks.
date: Mon, 4 Aug 2008 03:03:15 -0700 (PDT)   author:   unknown

Google
 
Web myreader.co.uk


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us