This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
This works in IE and chrome.
When I dont resize the iframe onload, the anchorlinks works.
Here is the code of the parent page with the resize function:
here is the code of the child page with the links and achors
Looking at the html markup, you really should learn to use classes/css rules instead of inline style
That will save a bunch of bytes on that page.
Also what is with all of the br elements? add bottom padding to the li elements and that will map the gap larger.
Again, that will remove tons of unnecessary bytes.
Joined: May 28, 2009
And they also work when I open sofcommands.html on its own (not inside an Iframe)
PS the inline style and br tag comes from a program that generates these pages. I don't have control over it. But this has nothing to do with my problem. Removing the inline style and br and replacing with li does not make the anchor links work.