Current location: Hot Scripts Forums » General Web Coding » JavaScript » a href help


a href help

Reply
  #1 (permalink)  
Old 02-25-10, 01:42 AM
raizel's Avatar
raizel raizel is offline
Newbie Coder
 
Join Date: Feb 2009
Location: India
Posts: 37
Thanks: 3
Thanked 0 Times in 0 Posts
a href help

Hi All,

I am using left navigation menu in a href, I want to redirect to another page of specific paragraph in a div.


How can I do so in

<li><a href="instant_dialling.php">Instant Dialling</a></li>

I want to redirect to instant dialling page with so and so para.


Regards,



Raizel
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 02-25-10, 06:54 AM
wirehopper's Avatar
wirehopper wirehopper is offline
-
 
Join Date: Feb 2006
Posts: 2,516
Thanks: 20
Thanked 109 Times in 106 Posts
You can use <a href="instant.php" target="_blank">, or <base target="_blank" /> (in the head section) to make all links open a new page.

Go to W3Schools Online Web Tutorials for more information.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 02-25-10, 07:35 AM
raizel's Avatar
raizel raizel is offline
Newbie Coder
 
Join Date: Feb 2009
Location: India
Posts: 37
Thanks: 3
Thanked 0 Times in 0 Posts
problem not solved of a href

Hi,

Thanks for the reply, but my problem is not solved , My question is that we use anchor name to jump to a specific section. similarly I want to open instant dialling.php and the way I click on the menu the page("instant_dialling.php" )opens with a specific section not location as target does.the page is opening but I want if he clicks on the menu it will open but jump to 3rd para which is in div.


Regards,


Raizel
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #4 (permalink)  
Old 02-25-10, 07:52 AM
wirehopper's Avatar
wirehopper wirehopper is offline
-
 
Join Date: Feb 2006
Posts: 2,516
Thanks: 20
Thanked 109 Times in 106 Posts
Not sure if I understand.

<a href="page.html#anchor" target="_blank">Link</a>
....

in page.html

<a name="anchor" />
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
a href and php variable problem dlmaster PHP 6 01-09-08 06:18 AM
How to href the swf file? engrkhalid HTML/XHTML/XML 9 06-24-06 03:25 PM
using href and onclick at the same time dihan JavaScript 1 10-07-05 01:40 PM
a href link change ljwonline JavaScript 1 01-30-04 04:43 PM


All times are GMT -5. The time now is 08:33 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.