PC Review


Reply
Thread Tools Rate Thread

3.5 .NET C# how do I do a jump within a page?

 
 
HibernatingBear
Guest
Posts: n/a
 
      13th Apr 2009
I've done this before with html, and feel really stupid having to
ask. However, since I've already done a search and come up with no
workable solution on how to do this in an image map, and lost a few
brain cells from head banging in the process, here goes:

I have hotspots on an ImageMap. When the user clicks the hotspot, I
want to navigate to a spot lower in the page.

So far, at the image portion:
<asp:ImageMap ID="MyImageMap" runat="server" ImageUrl="~/img/
myImage.jpg"
style="width: 600px; height: 300px">
<asp:CircleHotSpot AlternateText="hotspotText"
Radius="20" X="460" Y="61" Target="#mySpot"/>
</asp:ImageMap>

Then, down below:
<td colspan="2"><a name="mySpot"><b>This is the correct place:</b> yes!
</a>
<br />

All this code does is give me the same page, top of page. There is no
code in the PageLoad function.

Any help would be greatly appreciated! Thank you!
 
Reply With Quote
 
 
 
 
HibernatingBear
Guest
Posts: n/a
 
      13th Apr 2009
Thanks for the reminder! It's been a while since I've had to look at
the ASP group.

On Apr 13, 1:58*pm, "Peter Duniho" <NpOeStPe...@nnowslpianmk.com>
wrote:
> On Mon, 13 Apr 2009 10:10:48 -0700, HibernatingBear *
>
> <letmesl...@writeme.com> wrote:
> > [...]
> > <asp:ImageMap ID="MyImageMap" runat="server" ImageUrl="~/img/
> > myImage.jpg"
> > * * * * * * * * style="width: 600px; height: 300px">
> > * * * * * * * * <asp:CircleHotSpot AlternateText="hotspotText"
> > * * * * * * * * * * Radius="20" X="460" Y="61" Target="#mySpot"/>
> > </asp:ImageMap>
> > [...]

>
> > Any help would be greatly appreciated! *Thank you!

>
> Your question is really an ASP.NET question, and you'd be better of *
> posting it there.
>
> That said, as near as I can tell with my very limited knowledge of ASP.NET *
> is that you should be setting the NavigateUrl property to "#mySpot", not *
> the Target property. *Target refers to the window or frame that will be*
> affected by clicking on the link, not the location to which the browser *
> should navigate.
>
> If that's not the answer, you should post your question in the ASP.NET *
> newsgroup so that you find someone who actually knows what they're talking *
> about. *
>
> Pete


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to avoid a page jump? Carlos Microsoft ASP .NET 8 20th May 2009 08:00 PM
page up key causes unwanted jump to first page of Word document Dave Wildrick Microsoft Word Document Management 0 6th Nov 2008 03:42 PM
Jump to paragraph in other page Sarah Microsoft Frontpage 7 15th Feb 2007 12:03 AM
Jump to Page 2 relatively... twaccess Microsoft Excel Programming 3 16th Jul 2006 09:24 PM
Use drop-down lists to jump to other place in web-page or different web page. John Berg Microsoft Frontpage 7 18th Sep 2005 05:08 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:13 PM.