# Dynamic link

**URL:** <https://forum.kirupa.com/t/dynamic-link/188924>\
**Category:** programming\
**Created:** [May 11, 2006, 9:13pm UTC](https://forum.kirupa.com/t/dynamic-link/188924 "2006-05-11T21:13:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anna87](https://avatars.discourse-cdn.com/v4/letter/a/51bf81/32.png) [@anna87](https://forum.kirupa.com/u/anna87)\
**Post date:** [May 11, 2006, 9:13pm UTC](https://forum.kirupa.com/t/dynamic-link/188924/1 "2006-05-11T21:13:14Z")

</div>

Greetings,

I have just two questions:

Que1: I have a link which has two categories I want the visitor as soon as clicks on the link the two sublinks materialize (we dont need to reload the whole page). Please tell me how to do that… (I know php and a bit of ajax)

Que2:I want just besides the link a **“updated on 4/23/06”** kind of things, which either automatically get the date from database or anything you suggest.

Thank you so much in advance 🙂

Please help.

---

<div class="post-metadata">

**Author:** ![bwh2](https://avatars.discourse-cdn.com/v4/letter/b/8c91f0/32.png) [@bwh2](https://forum.kirupa.com/u/bwh2)\
**Post date:** [May 11, 2006, 11:33pm UTC](https://forum.kirupa.com/t/dynamic-link/188924/2 "2006-05-11T23:33:29Z")

</div>

> [@anna87](#):
>
> Que1: I have a link which has two categories I want the visitor as soon as clicks on the link the two sublinks materialize (we dont need to reload the whole page). Please tell me how to do that… (I know php and a bit of ajax)

is this what you mean?: [http://www.alistapart.com/d/horizdropdowns/horizontal.htm](http://www.alistapart.com/d/horizdropdowns/horizontal.htm)

> [@anna87](#):
>
> Que2:I want just besides the link a **“updated on 4/23/06”** kind of things, which either automatically get the date from database or anything you suggest.

you can pull this from the database if you have a date field in your table which stores the date of the update.

---

<div class="post-metadata">

**Author:** ![anna87](https://avatars.discourse-cdn.com/v4/letter/a/51bf81/32.png) [@anna87](https://forum.kirupa.com/u/anna87)\
**Post date:** [May 12, 2006, 7:31am UTC](https://forum.kirupa.com/t/dynamic-link/188924/3 "2006-05-12T07:31:09Z")

</div>

Thank you for the reply

> [@bwh2](#):
>
> is this what you mean?: [http://www.alistapart.com/d/horizdropdowns/horizontal.htm](http://www.alistapart.com/d/horizdropdowns/horizontal.htm)

Yah, but not exactly like that… the example is a menu… with lots of options and bodering too. I have just one link which leads to two option.  
Like … [http://www.caltech.edu](http://www.caltech.edu) has when you click on ‘admissions’ suddenly  
‘graduate’ and ‘undergradute’ options will appear.

> [@bwh2](#):
>
> you can pull this from the database if you have a date field in your table which stores the date of the update.

Well… can you please tell me how to do that. I mean how to write DHTML code for that.
