Ugh...that last requirement (that the page be hosted elsewhere) is a real killer. It means you can use cross-page scripting because it would then be cross-site.
I'm not sure where to go with this. Sorry.
Best I could suggest would be to have a series of <a> links, one per number, and let the user click on them to jump to the appropriate spot.
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.