Expanding lists with a [+]

M

Martin Stabrey

Guest
I'd like to be able to have a little [+] next to a short paragraph, which,
when pressed, expands the text, and of course changes the [+] to a [-]. Can
EW do this? If not, anyone have any ideas?

TIA

Mart


 


with layers and behaviors you could cobble something like this together.
Expression Web has a layers and behaviors feature that appears very
superficial at first but by using combinations of behaviors you can do some
pretty cool stuff.
I have some lists similar to what you're talking about here:
http://contentseed.com/about.asp
but I used a JavaScript snippet from here:
http://simplejs.bleebot.com/

HTH

--
Chris Leeds
Contact: http://chrisleeds.com/contact
Have you seen ContentSeed (www.contentseed.com)?
NOTE:
This message was posted from an unmonitored email account.
This is an unfortunate necessity due to high volumes of spam sent to email
addresses in public newsgroups.
Sorry for any inconvenience.
"Martin Stabrey" <martin@pretext.co.za> wrote in message
news:uvQbxsCWIHA.4696@TK2MSFTNGP05.phx.gbl...
> I'd like to be able to have a little [+] next to a short paragraph, which,
> when pressed, expands the text, and of course changes the [+] to a [-].
> Can EW do this? If not, anyone have any ideas?
>
> TIA
>
> Mart
>



 
> I'd like to be able to have a little [+] next to a short paragraph, which,
> when pressed, expands the text, and of course changes the [+] to a [-].
> Can EW do this? If not, anyone have any ideas?


EW can create this via the ASP.Net tree view control. If you don't want to
use ASP.Net you'll need to use JavaScript (which is what the ASP.Net control
uses anyway) and there are lots of show-hide scripts of this type on the
net. I have one without the + - symbols (just links) at
http://www.ew-resource.co.uk/js-tips.aspx


--
Ian Haynes
MS MVP
http://www.ew-resource.co.uk


 
Thanks Ian and Chris. I googd "simple show hide" and found exactly what I
needed.

"Ian Haynes" <ihaynes@data-insite.co.uk> wrote in message
news:5703DC45-C1D5-4700-A698-719903DC321A@microsoft.com...
>> I'd like to be able to have a little [+] next to a short paragraph,
>> which, when pressed, expands the text, and of course changes the [+] to a
>> [-]. Can EW do this? If not, anyone have any ideas?

>
> EW can create this via the ASP.Net tree view control. If you don't want to
> use ASP.Net you'll need to use JavaScript (which is what the ASP.Net
> control uses anyway) and there are lots of show-hide scripts of this type
> on the net. I have one without the + - symbols (just links) at
> http://www.ew-resource.co.uk/js-tips.aspx
>
>
> --
> Ian Haynes
> MS MVP
> http://www.ew-resource.co.uk
>
>


 

Back
Top