Hi,

I have a menu item at the top of my homepage that opens a specfic
target link in an iframe at the bottom of the same page. I'm now
trying to get the page to scroll down to the iframe when the menu item
is selected. With the code below I can get the menu item to open the
correct target link, but no matter what I try I cannot get the page to
scroll down to the iframe which just happens to be right at the bottom
of my page.

Here's the html snippet I'm using for my three menu items to link to
the iframe and to open the correct targets. Could someone do me a huge
favour and tell me how to add the javacript to make the page scroll
down to the iframe box once the menu's are selected.

<head>
<style type="text/css"> a:link { color: #000099; text-decoration:
none; }
a:hover { color: #339900; text-decoration: none; } a:visited {color:
#000099; text-decoration: none; } </style>
</head>
<body style="background: #fff; margin: 0pt; ">
<div style="width:180px;height:18px;font-family: Lucida Grande; font-
size: 12px; color:#333333;text-align:center;"><a href="http://
www.access-supermarkets.co.uk/eVouchers.html" target="Extra">Vouchers</
a> | <a href="http://www.access-supermarkets.co.uk/FAQs.html";
target="Extra">FAQ</a>    | <a href="http://www.access-
supermarkets.co.uk/Contact.html" target="Extra">Contact Us</a>
</body>

I appreciate any help offered.

Thanks,
Andy

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to