Jump to content

Selecting an option by default on page load


Kolinski

Recommended Posts

Hi all, 

 

I have a webpage which opens redeem.html. The page has an option which you can see in the URL given underneath. 

 

- Caltex starcash card promotion 

 

When clicking on the navigation bar "redeem" its opens redeem.html however I'd like it to select the first option "Caltex starcash car promotion" by default on click of redeem in the navigation bar. 

 

So at first the url looks like this: http://www.continentalpromotions.com.au/redeem.html

 

and I want this : http://www.continentalpromotions.com.au/redeem.html#

 

Click on the url and have a go at looking at the URL to understand what I want, I can't figure this one out right now on how to get the options to be selected already. Any help would be very much appreciated the code is listed underneath of the <div> containing the link. 

<div class="span4"><a href="#"><img id="promo1" src="img/Promotions/redeempage/CaltexCardredeem.png" onClick="changeimage()" width="284" height="261" border="0"></a><br>
              <br>
</div>


           

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.