Multiple alternate pages in html code

I was just informed how to make a html code that redirects a user to an alternate page. Is there away to have multiple alternates display? For example something like this but the following still only displays the first alternate link

 swfobject.embedSWF("main_Intro.swf", "alternativeContent", "774", "560", "7.0.19.0", false, flashvars, params, attributes);
                </script>
        </head>
        <body>
                <div id="alternativeContent">
                        <a href="http://www.adobe.com">
                                <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash" />
                        </a>
                 </div>
                 <div id="alternativeContent">
                        <a href="http://www.test.com">
                                <img src="http://www.test/images/test.gif" alt="View Page in HTML" />
                        </a>
                 </div>

               
        </body>
</html>

natevelli2Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

brendanmeyerCommented:
do you mean so that both links are displayed on the page if flash cant be loaded
if so put all the link in the same <div id="alternativeContent">
i put a <br> to put the links on different lines

<div id="alternativeContent">
        <a href="http://www.adobe.com">
               <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash" />
        </a>
       <br>
        <a href="http://www.test.com">
                <img src="http://www.test/images/test.gif" alt="View Page in HTML" />
        </a>
</div>
0
Ultra_MasterCommented:
Hi,

Try to use the following code to show both options by using just one id:
<div id="alternativeContent"> 
                        <a href="http://www.adobe.com"> 
                                <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash" /> 
                        </a>
<a href="http://www.test.com"> 
                                <img src="http://www.test/images/test.gif" alt="View Page in HTML" /> 
                        </a>

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Ultra_MasterCommented:
followed by </div> of course
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.