Skip to main content
Participant
March 12, 2012
Question

Flash button: Jump to anchor tag in iframe.

  • March 12, 2012
  • 1 reply
  • 1433 views

Hi there...

I have a problem with flash button when linking to named anchor in html - iframe. I used the code below:

on (release) {

    getURL ("calculator.html#goldvalue", "main");

}

"main" is name of an iframe in index.html, that opens with calculator.html.

<iframe id="main" src="calculator.html" width="1024" height="500" frameborder="0" scrolling="no" name="main"><p>Your browser doesn't support iframes.</p></iframe>

Any idea how to fix this?

Tnx, A.

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
March 12, 2012

is everything working (other than goldvalue)?

what's goldvalue supposed to do?

anjadoorAuthor
Participant
March 12, 2012

"goldvalue" is na anchor name in calculator.html, it's not a function or anything... I'd like flash button to scroll or in another words to jump to middle of the html page. All links do work - except the ones with anchor names. As the matter of fact even calculator.html#goldvalue works as a link, it just doesn't jumps to the #goldvalue.

kglad
Community Expert
Community Expert
March 12, 2012

if you enter calculator.html#goldvalue in your browser does your anchor link work as you expect?