Re: iframe scrolling
- From: spinybabler <spineybabbler@xxxxxxxxx>
- Date: Fri, 7 Aug 2009 11:05:00 -0700 (PDT)
On Aug 7, 12:42 pm, spinybabler <spineybabb...@xxxxxxxxx> wrote:
On Aug 7, 12:33 am, Herbert Blenner <a1ea...@xxxxxxxxxxx> wrote:It worked. Initially i was returning false from the event handler
On Aug 6, 1:42 pm, spinybabler <spineybabb...@xxxxxxxxx> wrote:
I have a iframe where there is an html page with image map loaded. I
have set scrolling to Auto. Whenever I scroll down or to the side and
then click on an image area, the iframe resets to the top position.
The problem is i need it to be in the same position as it was before
it was clicked. My onclick event simply displays a div with a border
over the area to mark it as highlighted. So i want the page to remain
in its position.
This should be simple i think but couldn't figure out how. I would
highly appreciate your help.
Does your event handler contain return false?
Example: onclick="dosomething();return false"
@Herbert: Yes i do return false.
@dorayme: it's not yet a public url. just started on it.
function itself and it didn't work. But now I returned false like u
showed in the example: eventHandler(); return false; And it worked.
Isn't both supposed to be same?
Anyway thanks a lot for the help.
- Prev by Date: Re: >>> HAWAII PHOTO <<<
- Next by Date: onclick gets fired even when double clicked
- Previous by thread: Re: iframe scrolling
- Next by thread: overlapping images