PDA

View Full Version : Open a document with onmouseover



Aristarchus
01-12-2007, 07:10 PM
I am trying to combine an onmouseover event, I would like to have the menu button change and load a page into the body of a frameset.

Example:
Photography button changes color when mouse is overbutton and loads an overview page of information into the body frameset. When the button is clicked, it opens up another menu bar in the left frameset, these menus allow you to check out different galleries. ie: Maternity, Weddings, etc.

I have everything working except the loading of the page into the frameset 'body'

Thnx
Chris

jscheuer1
01-12-2007, 11:35 PM
Since you seem to already be 'getting under the hood' with this one, have a look at this demo, particularly the two Text Content links:

http://home.comcast.net/~jscheuer1/side/files/thumb2.htm

They are doing what you say, loading onmouseover a page into an iframe. Feel free to grab the source code. If you use it with little modification, please include a credit in your page's source code.