|
|
|
|
![]() ![]() |
Aug 15 2006, 08:35 AM
Post
#1
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 245 Joined: 11-June 05 From: india-mumbai Member No.: 8,095 |
Okay i've a question!
I'm building a site a educational site. Now on my index page there's link for event conducted,under which there will be monthly events. Now the details of this monthly events is supposed to be in event.html file. this even.html file will contain detail of all months event whose link is on index.html. So how in the index.html should i link the event.html so that if july event is clicked it should directly take the user to july event in event.html and not to january event. Thanks in advance folks |
|
|
|
Aug 15 2006, 08:42 AM
Post
#2
|
|
|
Ephesians 6:10-17 ![]() Group: [MODERATOR] Posts: 1,893 Joined: 22-June 05 From: The World of Gentoo Member No.: 8,528 ![]() |
I think i understand what you're trying to do. You would have to use the name attribute for the anchor elements.
Example (for event.html): CODE <a name="July">July</a> Then when a person clicks on July in the index.html: CODE <a href="event.html#July">July</a> It would scroll to where the anchor with the name attribute that has the value of "July" is. |
|
|
|
Aug 15 2006, 08:46 AM
Post
#3
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 245 Joined: 11-June 05 From: india-mumbai Member No.: 8,095 |
wow that was quick! Thats exactly what i wanted!
Thanks a lot. |
|
|
|
Aug 16 2006, 07:32 PM
Post
#4
|
|
|
Master of All Typos ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 621 Joined: 30-July 06 From: Earth, Usa, Maine, Waterford, Member No.: 27,507 ![]() |
Try looking for a website that could tell you about Html. So try looking for something on are top search engine Google. Tell me how that goes for you.
|
|
|
|
![]() ![]() |
Similar Topics
| Topics | Topics | ||||||
|---|---|---|---|---|---|---|---|
|
| ||||||
|
Lo-Fi Version | Time is now: 6th September 2008 - 05:16 PM |