internal navigation, Linking from one page to a specific div in another page.

This is a discussion on "internal navigation, Linking from one page to a specific div in another page." within the Web Page Design section. This forum, and the thread "internal navigation, Linking from one page to a specific div in another page. are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Feb 8th, 2008, 21:17
Oak Oak is offline
SuperMember

SuperMember
Join Date: Dec 2007
Location: London
Age: 35
Posts: 269
Thanks: 2
Thanked 0 Times in 0 Posts
Smile internal navigation, Linking from one page to a specific div in another page.

I would like to have a link from one page that not just directs to another page but to a certain div.

<a href="some-content.php(what goes here?)" class="aor">middle of next page</a>

I hop that is clear.
Reply With Quote

  #2 (permalink)  
Old Feb 8th, 2008, 21:38
Ed Ed is offline
Highly Reputable Member
Join Date: Jul 2007
Location: Cork, Ireland
Posts: 687
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: internal navigation, Linking from one page to a specific div in another page.

Hi Oak!

It would work like this

HTML: Select all
<a href="some-content.php#div_id_here" class="aor">middle of next page</a>
So if you had a div called #form on the page 'contact.php' it would be:

HTML: Select all
 <a href="contact.php#form">Click Here</a>
Hope this helps,
Ed
Last Blog Entry: Happy New Year! (Dec 31st, 2007)
Reply With Quote
  #3 (permalink)  
Old Feb 8th, 2008, 21:51
Oak Oak is offline
SuperMember

SuperMember
Join Date: Dec 2007
Location: London
Age: 35
Posts: 269
Thanks: 2
Thanked 0 Times in 0 Posts
Re: internal navigation, Linking from one page to a specific div in another page.

hey Ed, I thought everyone had gone to the pub..

ah! I had done this:
HTML: Select all
 <a href="contact.php/#form">Click Here</a>
.. but I can see that was silly.


Cheers
Reply With Quote
  #4 (permalink)  
Old Feb 8th, 2008, 22:13
Ed Ed is offline
Highly Reputable Member
Join Date: Jul 2007
Location: Cork, Ireland
Posts: 687
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: internal navigation, Linking from one page to a specific div in another page.

Quote:
Originally Posted by Oak View Post
hey Ed, I thought everyone had gone to the pub..
Pub, I wish! Glad to help.

Please mark this thread as solved.

Thanks,
Ed
Last Blog Entry: Happy New Year! (Dec 31st, 2007)
Reply With Quote
  #5 (permalink)  
Old Feb 8th, 2008, 22:50
Oak Oak is offline
SuperMember

SuperMember
Join Date: Dec 2007
Location: London
Age: 35
Posts: 269
Thanks: 2
Thanked 0 Times in 0 Posts
Re: internal navigation, Linking from one page to a specific div in another page.

Quote:
Please mark this thread as solved.
Has the solved thread option been moved ? It is not under thread tools.
Reply With Quote
  #6 (permalink)  
Old Feb 8th, 2008, 22:54
Ed Ed is offline
Highly Reputable Member
Join Date: Jul 2007
Location: Cork, Ireland
Posts: 687
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: internal navigation, Linking from one page to a specific div in another page.

Um. I don't know.

Let me just use my bugle to call on Jacob.

Bah, Bah, Bed, Ah, Bah, Bah, Bed, Ahhhh.


I'm sure he'll fix it if it is broken!

Ed.
Last Blog Entry: Happy New Year! (Dec 31st, 2007)
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Linking to an html page rusty149 Web Page Design 1 Feb 4th, 2008 10:34
Linking an outside page back to previous framed page MJustison Starting Out 1 Oct 18th, 2007 17:49
Can I set my page to be a specific size on every browser? Inkers Web Page Design 9 Jan 14th, 2007 11:03
link to specific location on page snappy Web Page Design 29 Dec 11th, 2006 17:26
link to specific location on page snappy Web Page Design 2 Dec 5th, 2006 18:54


All times are GMT. The time now is 03:24.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43