the_cletus
08-18-2006, 04:07 AM
Hey guys,
I am trying to figure out how to make a page load from a onMouseOver button on a menu bar on the left hand side of the screen to a container that i have named "content."
i am working with the code found on this page:
http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm
I drew a picture to better illustrate my point. Here's the picture:
http://i75.photobucket.com/albums/i317/the_cletus/css_help.jpg
I basically made a background in Adobe Photoshop and have pieced it into two pieces. The top half of the image is inside the container dubbed "head," while the menu side of the webpage is inside the container dubbed "left." Now, comes the tricky part. I have made buttons that i wish to have a rollOver effect that are inside the container "left."
I finally have the rollOver effect working perfectly, but i cannot figure out how to apply the ajax code of loading webpages (from one container to another) to this rollOver function.
So, my question is this:
Can I apply the Ajax code above (the link at the top) to my rollOver images? I want to load the appropriate webpage (by clicking on the rollOver image) into the container i have dubbed "content" from those buttons.
Hopefully, this all makes sense. Thanks for the help everyone!
-the_cletus
I am trying to figure out how to make a page load from a onMouseOver button on a menu bar on the left hand side of the screen to a container that i have named "content."
i am working with the code found on this page:
http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm
I drew a picture to better illustrate my point. Here's the picture:
http://i75.photobucket.com/albums/i317/the_cletus/css_help.jpg
I basically made a background in Adobe Photoshop and have pieced it into two pieces. The top half of the image is inside the container dubbed "head," while the menu side of the webpage is inside the container dubbed "left." Now, comes the tricky part. I have made buttons that i wish to have a rollOver effect that are inside the container "left."
I finally have the rollOver effect working perfectly, but i cannot figure out how to apply the ajax code of loading webpages (from one container to another) to this rollOver function.
So, my question is this:
Can I apply the Ajax code above (the link at the top) to my rollOver images? I want to load the appropriate webpage (by clicking on the rollOver image) into the container i have dubbed "content" from those buttons.
Hopefully, this all makes sense. Thanks for the help everyone!
-the_cletus