Gunther Van Butsele wrote:
>> Ellen Heitman wrote:
>>
>>> I don't have a URL yet, I apologize. Hopefully my
>>>
>> description will be
>>
>>> pretty simple. Here's what I want to do: I have a calendar,
>>>
>> and when
>>
>>> you click on a particular date, some content associated
>>>
>> with that date
>>
>>> should appear in a scrollable div elsewhere on the page.
>>>
>>
>
> You could use a javascript library like jquery which makes it very easy
> to fill a div somewhere else on the page with dynamic content. Something
> along the lines of:
>
> <script language="text/javascript">
> function show_dateinfo(id) {
> $('#divInfo').load('dateinfo.php?id=' + id);
> }
> </script>
>
> <div id="divInfo">
> <!-- will be filled dynamically -->
> </div>
>
> <a href="show_dateinfo(5);">Some date</a>
>
>
^ this doesn't do anything and if you add javascript: to the href you
haven't understood progressive enhancement. None of this is CSS though,
so thelist would be a better place to ask this.
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/