AllExperts > DHTML 
Search      
DHTML
Volunteer
Answers to thousands of questions
 Home · More DHTML Questions · Answer Library  · Encyclopedia ·
More DHTML Answers
Question Library

Ask a question about DHTML
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Andrew Hoffman
Expertise
I can field just about any question within this topic ranging from JavaScript to CSS, the two ingredients of DHTML. I`m very interested in the W3C and its validation rules for HTML, XHTML, and CSS, and enjoy answering questions of this type as well. I detest sleep and respond at all hours of the day or night.


Experience
Experience in the area
I've been working with DHTML and CSS for 7 years now and build/maintain websites of my own that implement DHTML navigation.

What I'm doing now
My contract with Microsoft has ended and I am working for myself once again. Please contact me for any front-end work at antibland@gmail.com

 
   

You are here:  Experts > Computing/Technology > HTML/XML > DHTML > bookmark in iframe

DHTML - bookmark in iframe


Expert: Andrew Hoffman - 5/15/2007

Question
Dear Andrew,

I have place a small calendar in a iframe with bookmark to go from one month to another.

The problem is that the iframe default page with a bookmark so it opens on the current month. But, because of that bookmark when the page opens it move down to the bookmark into the iframe.

See the example on: http://www.iqdho.com/neo/francais/activites.html

Do you know how can I solve this problem?

Sorry the draft are all in French.

Thanking you in advance for your prompt attention!

Answer
Unfortunately, this is the nature of how the anchors work.  The way you have it set up doesn't really give you any options around the downward page bump.  If you want to keep the iframe functionality, I would store the HTML <table> code for each month in a separate file.  Then, during the onchange event of the month <select>, you could load the corresponding month file into the <iframe>.  I realize this isn't ideal, but it may be the fastest fix given the way you things arranged.

- Andrew

Add to this Answer   Ask a Question


 
User Agreement | Privacy Policy | Kids' Privacy Policy | Help
Copyright  © 2008 About, Inc. AllExperts, AllExperts.com, and About.com are registered trademarks of About, Inc. All rights reserved.