c0deM0nK424
Programmer
okay this is how far i've managed to get - i've embedded a jQuery script on this website using basekit sitebuilder, inside 'page scripts'.
instead of opting for multiple sub-menu links, my client and I agreed it would be better if we housed all that information as show and hide divs under one main navigation link - so that on that page, you can see them all.
My question is this - using my code, what could you add to make the FIRST DIV #services1 SHOW on default when the page loads ?
here is the jQuery script - its a long winded approach yes, i will refine it in time when i get better at jQuery but for now it works.
<script src="<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">$(document).ready(function(){
$("#services1").css('cursor', 'pointer');
$("#LifestyleManagement").hide();
$("#HouseholdManagement").hide();
$("#Networking").hide();
$("#InvestmentAdvice").hide();
$("#OfficeServices").hide();
$("#MeetingsAndVisitingClients").hide();
$("#TicketsAndEvents").hide();
$("#Relocation").hide();
$("#VisitingUKLondon").hide();
$("#TravelAssistance").hide();
$("#ChildrensEducation").hide();
$("#HealthServices").hide();
$("#Property").hide();
$("#services1").click(function(){
$("#LifestyleManagement").slideToggle("slow");
$("#HouseholdManagement").hide();
$("#Networking").hide();
$("#InvestmentAdvice").hide();
$("#OfficeServices").hide();
$("#MeetingsAndVisitingClients").hide();
$("#TicketsAndEvents").hide();
$("#Relocation").hide();
$("#VisitingUKLondon").hide();
$("#TravelAssistance").hide();
$("#ChildrensEducation").hide();
$("#HealthServices").hide();
$("#Property").hide();
});
});$(document).ready(function(){
$("#services2").css('cursor', 'pointer');
$("#LifestyleManagement").hide();
$("#HouseholdManagement").hide();
$("#Networking").hide();
$("#InvestmentAdvice").hide();
$("#OfficeServices").hide();
$("#MeetingsAndVisitingClients").hide();
$("#TicketsAndEvents").hide();
$("#Relocation").hide();
$("#VisitingUKLondon").hide();
$("#TravelAssistance").hide();
$("#ChildrensEducation").hide();
$("#HealthServices").hide();
$("#Property").hide();
$("#services2").click(function(){
$("#HouseholdManagement").slideToggle("slow");
$("#LifestyleManagement").hide();
$("#Networking").hide();
$("#InvestmentAdvice").hide();
$("#OfficeServices").hide();
$("#MeetingsAndVisitingClients").hide();
$("#TicketsAndEvents").hide();
$("#Relocation").hide();
$("#VisitingUKLondon").hide();
$("#TravelAssistance").hide();
$("#ChildrensEducation").hide();
$("#HealthServices").hide();
$("#Property").hide();
});
});$(document).ready(function(){
$("#services3").css('cursor', 'pointer');
$("#LifestyleManagement").hide();
$("#HouseholdManagement").hide();
$("#Networking").hide();
$("#InvestmentAdvice").hide();
$("#OfficeServices").hide();
$("#MeetingsAndVisitingClients").hide();
$("#TicketsAndEvents").hide();
$("#Relocation").hide();
$("#VisitingUKLondon").hide();
$("#TravelAssistance").hide();
$("#ChildrensEducation").hide();
$("#HealthServices").hide();
$("#Property").hide();
$("#services3").click(function(){
$("#Networking").slideToggle("slow");
$("#LifestyleManagement").hide();
$("#HouseholdManagement").hide();
$("#InvestmentAdvice").hide();
$("#OfficeServices").hide();
$("#MeetingsAndVisitingClients").hide();
$("#TicketsAndEvents").hide();
$("#Relocation").hide();
$("#VisitingUKLondon").hide();
$("#TravelAssistance").hide();
$("#ChildrensEducation").hide();
$("#HealthServices").hide();
$("#Property").hide();
});
});$(document).ready(function(){
$("#services4").css('cursor', 'pointer');
$("#LifestyleManagement").hide();
$("#HouseholdManagement").hide();
$("#Networking").hide();
$("#InvestmentAdvice").hide();
$("#OfficeServices").hide();
$("#MeetingsAndVisitingClients").hide();
$("#TicketsAndEvents").hide();
$("#Relocation").hide();
$("#TravelAssistance").hide();
$("#ChildrensEducation").hide();
$("#HealthServices").hide();
$("#Property").hide();
$("#services4").click(function(){
$("#InvestmentAdvice").slideToggle("slow");
$("#LifestyleManagement").hide();
$("#HouseholdManagement").hide();
$("#Networking").hide();
$("#OfficeServices").hide();
$("#MeetingsAndVisitingClients").hide();
$("#TicketsAndEvents").hide();
$("#Relocation").hide();
$("#VisitingUKLondon").hide();
$("#TravelAssistance").hide();
$("#ChildrensEducation").hide();
$("#HealthServices").hide();
$("#Property").hide();
});
});$(document).ready(function(){
$("#services5").css('cursor', 'pointer');
$("#LifestyleManagement").hide();
$("#HouseholdManagement").hide();
$("#Networking").hide();
$("#InvestmentAdvice").hide();
$("#OfficeServices").hide();
$("#MeetingsAndVisitingClients").hide();
$("#TicketsAndEvents").hide();
$("#Relocation").hide();
$("#VisitingUKLondon").hide();
$("#TravelAssistance").hide();
$("#ChildrensEducation").hide();
$("#HealthServices").hide();
$("#Property").hide();
$("#services5").click(function(){
$("#OfficeServices").slideToggle("slow");
$("#LifestyleManagement").hide();
$("#HouseholdManagement").hide();
$("#Networking").hide();
$("#InvestmentAdvice").hide();
$("#MeetingsAndVisitingClients").hide();
$("#TicketsAndEvents").hide();
$("#Relocation").hide();
$("#VisitingUKLondon").hide();
$("#TravelAssistance").hide();
$("#ChildrensEducation").hide();
$("#HealthServices").hide();
$("#Property").hide();
});
});$(document).ready(function(){
$("#services6").css('cursor', 'pointer');
$("#LifestyleManagement").hide();
$("#HouseholdManagement").hide();
$("#Networking").hide();
$("#InvestmentAdvice").hide();
$("#OfficeServices").hide();
$("#MeetingsAndVisitingClients").hide();
$("#TicketsAndEvents").hide();
$("#Relocation").hide();
$("#VisitingUKLondon").hide();
$("#TravelAssistance").hide();
$("#ChildrensEducation").hide();
$("#HealthServices").hide();
$("#Property").hide();
$("#services6").click(function(){
$("#MeetingsAndVisitingClients").slideToggle("slow");
$("#LifestyleManagement").hide();
$("#HouseholdManagement").hide();
$("#Networking").hide();
$("#InvestmentAdvice").hide();
$("#OfficeServices").hide();
$("#TicketsAndEvents").hide();
$("#Relocation").hide();
$("#VisitingUKLondon").hide();
$("#TravelAssistance").hide();
$("#ChildrensEducation").hide();
$("#HealthServices").hide();
$("#Property").hide();
});
});$(document).ready(function(){
$("#services7").css('cursor', 'pointer');
$("#LifestyleManagement").hide();
$("#HouseholdManagement").hide();
$("#Networking").hide();
$("#InvestmentAdvice").hide();
$("#OfficeServices").hide();
$("#MeetingsAndVisitingClients").hide();
$("#TicketsAndEvents").hide();
$("#Relocation").hide();
$("#VisitingUKLondon").hide();
$("#TravelAssistance").hide();
$("#ChildrensEducation").hide();
$("#HealthServices").hide();
$("#Property").hide();
$("#services7").click(function(){
$("#TicketsAndEvents").slideToggle("slow");
$("#LifestyleManagement").hide();
$("#LifestyleManagement").hide();
$("#HouseholdManagement").hide();
$("#Networking").hide();
$("#InvestmentAdvice").hide();
$("#OfficeServices").hide();
$("#MeetingsAndVisitingClients").hide();
$("#Relocation").hide();
$("#VisitingUKLondon").hide();
$("#TravelAssistance").hide();
$("#ChildrensEducation").hide();
$("#HealthServices").hide();
$("#Property").hide();
});
});$(document).ready(function(){
$("#services8").css('cursor', 'pointer');
$("#LifestyleManagement").hide();
$("#HouseholdManagement").hide();
$("#Networking").hide();
$("#InvestmentAdvice").hide();
$("#OfficeServices").hide();
$("#MeetingsAndVisitingClients").hide();
$("#TicketsAndEvents").hide();
$("#Relocation").hide();
$("#VisitingUKLondon").hide();
$("#TravelAssistance").hide();
$("#ChildrensEducation").hide();
$("#HealthServices").hide();
$("#Property").hide();
$("#services8").click(function(){
$("#Relocation").slideToggle("slow");
$("#LifestyleManagement").hide();
$("#HouseholdManagement").hide();
$("#Networking").hide();
$("#InvestmentAdvice").hide();
$("#OfficeServices").hide();
$("#MeetingsAndVisitingClients").hide();
$("#TicketsAndEvents").hide();
$("#TravelAssistance").hide();
$("#VisitingUKLondon").hide();
$("#ChildrensEducation").hide();
$("#HealthServices").hide();
$("#Property").hide();
});
});$(document).ready(function(){
$("#services9").css('cursor', 'pointer');
$("#LifestyleManagement").hide();
$("#HouseholdManagement").hide();
$("#Networking").hide();
$("#InvestmentAdvice").hide();
$("#OfficeServices").hide();
$("#MeetingsAndVisitingClients").hide();
$("#TicketsAndEvents").hide();
$("#Relocation").hide();
$("#VisitingUKLondon").hide();
$("#TravelAssistance").hide();
$("#ChildrensEducation").hide();
$("#HealthServices").hide();
$("#Property").hide();
$("#services9").click(function(){
$("#VisitingUKLondon").slideToggle("slow");
$("#LifestyleManagement").hide();
$("#HouseholdManagement").hide();
$("#Networking").hide();
$("#InvestmentAdvice").hide();
$("#OfficeServices").hide();
$("#MeetingsAndVisitingClients").hide();
$("#TicketsAndEvents").hide();
$("#Relocation").hide();
$("#TravelAssistance").hide();
$("#ChildrensEducation").hide();
$("#HealthServices").hide();
$("#Property").hide();
});
});$(document).ready(function(){
$("#services10").css('cursor', 'pointer');
$("#LifestyleManagement").hide();
$("#HouseholdManagement").hide();
$("#Networking").hide();
$("#InvestmentAdvice").hide();
$("#OfficeServices").hide();
$("#MeetingsAndVisitingClients").hide();
$("#TicketsAndEvents").hide();
$("#Relocation").hide();
$("#VisitingUKLondon").hide();
$("#TravelAssistance").hide();
$("#ChildrensEducation").hide();
$("#HealthServices").hide();
$("#Property").hide();
$("#services10").click(function(){
$("#TravelAssistance").slideToggle("slow");
$("#LifestyleManagement").hide();
$("#HouseholdManagement").hide();
$("#Networking").hide();
$("#InvestmentAdvice").hide();
$("#OfficeServices").hide();
$("#MeetingsAndVisitingClients").hide();
$("#TicketsAndEvents").hide();
$("#Relocation").hide();
$("#VisitingUKLondon").hide();
$("#ChildrensEducation").hide();
$("#Property").hide();
});
});$(document).ready(function(){
$("#services11").css('cursor', 'pointer');
$("#LifestyleManagement").hide();
$("#HouseholdManagement").hide();
$("#Networking").hide();
$("#InvestmentAdvice").hide();
$("#OfficeServices").hide();
$("#MeetingsAndVisitingClients").hide();
$("#TicketsAndEvents").hide();
$("#Relocation").hide();
$("#VisitingUKLondon").hide();
$("#TravelAssistance").hide();
$("#ChildrensEducation").hide();
$("#HealthServices").hide();
$("#Property").hide();
$("#services11").click(function(){
$("#ChildrensEducation").slideToggle("slow");
$("#LifestyleManagement").hide();
$("#HouseholdManagement").hide();
$("#Networking").hide();
$("#InvestmentAdvice").hide();
$("#OfficeServices").hide();
$("#MeetingsAndVisitingClients").hide();
$("#TicketsAndEvents").hide();
$("#Relocation").hide();
$("#VisitingUKLondon").hide();
$("#TravelAssistance").hide();
$("#HealthServices").hide();
$("#Property").hide();
});
});$(document).ready(function(){
$("#services12").css('cursor', 'pointer');
$("#LifestyleManagement").hide();
$("#HouseholdManagement").hide();
$("#Networking").hide();
$("#InvestmentAdvice").hide();
$("#OfficeServices").hide();
$("#MeetingsAndVisitingClients").hide();
$("#TicketsAndEvents").hide();
$("#Relocation").hide();
$("#VisitingUKLondon").hide();
$("#TravelAssistance").hide();
$("#ChildrensEducation").hide();
$("#HealthServices").hide();
$("#Property").hide();
$("#services12").click(function(){
$("#HealthServices").slideToggle("slow");
$("#LifestyleManagement").hide();
$("#HouseholdManagement").hide();
$("#Networking").hide();
$("#InvestmentAdvice").hide();
$("#OfficeServices").hide();
$("#MeetingsAndVisitingClients").hide();
$("#TicketsAndEvents").hide();
$("#Relocation").hide();
$("#VisitingUKLondon").hide();
$("#TravelAssistance").hide();
$("#ChildrensEducation").hide();
$("#Property").hide();
});
});$(document).ready(function(){
$("#services13").css('cursor', 'pointer');
$("#LifestyleManagement").hide();
$("#HouseholdManagement").hide();
$("#Networking").hide();
$("#InvestmentAdvice").hide();
$("#OfficeServices").hide();
$("#MeetingsAndVisitingClients").hide();
$("#TicketsAndEvents").hide();
$("#Relocation").hide();
$("#VisitingUKLondon").hide();
$("#TravelAssistance").hide();
$("#ChildrensEducation").hide();
$("#HealthServices").hide();
$("#Property").hide();
$("#services13").click(function(){
$("#Property").slideToggle("slow");
$("#LifestyleManagement").hide();
$("#HouseholdManagement").hide();
$("#Networking").hide();
$("#InvestmentAdvice").hide();
$("#OfficeServices").hide();
$("#MeetingsAndVisitingClients").hide();
$("#TicketsAndEvents").hide();
$("#Relocation").hide();
$("#VisitingUKLondon").hide();
$("#TravelAssistance").hide();
$("#ChildrensEducation").hide();
$("#HealthServices").hide();
});
});</script>
The HTML markup is irrelevant at this point , and im sure so is the css. But if u want to view the css here is that as well:
#services1
{
float: left;
margin-left: 1em;
color: black;
font-size: 16;
font-weight: bold;
text-align: center;
text-shadow: 0.1em 0.1em 0.1em white;
}
#services2
{
float: left;
margin-left: 1em;
color: black;
font-size: 16;
font-weight: bold;
text-align: center;
text-shadow: 0.1em 0.1em 0.1em white;
}
#services3
{
float: left;
margin-left: 1em;
color: black;
font-size: 16;
font-weight: bold;
text-align: center;
text-shadow: 0.1em 0.1em 0.1em white;
}
#services4
{
float: left;
margin-left: 1em;
color: black;
font-size: 16;
font-weight: bold;
text-align: center;
text-shadow: 0.1em 0.1em 0.1em white;
}
#services5
{
float: left;
margin-left: 1em;
color: black;
font-size: 16;
font-weight: bold;
text-align: center;
text-shadow: 0.1em 0.1em 0.1em white;
}
#services6
{
float: left;
margin-left: 1em;
color: black;
font-size: 16;
font-weight: bold;
text-align: center;
text-shadow: 0.1em 0.1em 0.1em white;
}
#services7
{
float: left;
margin-left: 1em;
color: black;
font-size: 16;
font-weight: bold;
text-align: center;
text-shadow: 0.1em 0.1em 0.1em white;
}
#services8
{
float: left;
margin-left: 1em;
color: black;
font-size: 16;
font-weight: bold;
text-align: center;
text-shadow: 0.1em 0.1em 0.1em white;
}
#services9
{
float: left;
margin-left: 1em;
color: black;
font-size: 16;
font-weight: bold;
text-align: center;
text-shadow: 0.1em 0.1em 0.1em white;
}
#services10
{
float: left;
margin-left: 1em;
color: black;
font-size: 16;
font-weight: bold;
text-align: center;
text-shadow: 0.1em 0.1em 0.1em white;
}
#services11
{
float: left;
margin-left: 1em;
color: black;
font-size: 16;
font-weight: bold;
text-align: center;
text-shadow: 0.1em 0.1em 0.1em white;
}
#services12
{
float: left;
margin-left: 1em;
color: black;
font-size: 16;
font-weight: bold;
text-align: center;
text-shadow: 0.1em 0.1em 0.1em white;
}
#services13
{
float: left;
margin-left: 1em;
color: black;
font-size: 16;
font-weight: bold;
text-align: center;
text-shadow: 0.1em 0.1em 0.1em white;
}
#LifestyleManagement
{
width: 90%;
padding-top: 1em;
margin-left: 2em;
height: auto;
font-size: 12px;
display: none;
}
#HouseholdManagement
{
width: 90%;
padding-top: 1em;
margin-left: 2em;
height: auto;
font-size: 12px;
display: none;
}
#Networking
{
width: 90%;
padding-top: 1em;
margin-left: 2em;
height: auto;
font-size: 12px;
display: none;
}
#InvestmentAdvice
{
width: 90%;
padding-top: 1em;
margin-left: 2em;
height: auto;
font-size: 12px;
display: none;
}
#OfficeServices
{
width: 90%;
padding-top: 1em;
margin-left: 2em;
height: auto;
font-size: 12px;
display: none;
}
#MeetingsAndVisitingClients
{
width: 90%;
padding-top: 1em;
margin-left: 2em;
height: auto;
font-size: 12px;
display: none;
}
#TicketsAndEvents
{
width: 90%;
padding-top: 1em;
margin-left: 2em;
height: auto;
font-size: 12px;
display: none;
}
#TicketsAndEvents
{
width: 90%;
padding-top: 1em;
margin-left: 2em;
height: auto;
font-size: 12px;
display: none;
}
#Relocation
{
width: 90%;
padding-top: 1em;
margin-left: 2em;
height: auto;
font-size: 12px;
display: none;
}
#VisitingUKLondon
{
width: 90%;
padding-top: 1em;
margin-left: 2em;
height: auto;
font-size: 12px;
display: none;
}
#TravelAssistance
{
width: 90%;
padding-top: 1em;
margin-left: 2em;
height: auto;
font-size: 12px;
display: none;
}
#ChildrensEducation
{
width: 90%;
padding-top: 1em;
margin-left: 2em;
height: auto;
font-size: 12px;
display: none;
}
#HealthServices
{
width: 90%;
padding-top: 1em;
margin-left: 2em;
height: auto;
font-size: 12px;
display: none;
}
#Property
{
width: 90%;
padding-top: 1em;
margin-left: 2em;
height: auto;
font-size: 12px;
display: none;
}
So what do i add in the script, what do i change slightly - in order for the first one to appear on the page by default ?
i want the content under services1 (Lifestyle Management) to 'show' when the page 'personal concierge' loads.
Any tips advice ?
instead of opting for multiple sub-menu links, my client and I agreed it would be better if we housed all that information as show and hide divs under one main navigation link - so that on that page, you can see them all.
My question is this - using my code, what could you add to make the FIRST DIV #services1 SHOW on default when the page loads ?
here is the jQuery script - its a long winded approach yes, i will refine it in time when i get better at jQuery but for now it works.
<script src="<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">$(document).ready(function(){
$("#services1").css('cursor', 'pointer');
$("#LifestyleManagement").hide();
$("#HouseholdManagement").hide();
$("#Networking").hide();
$("#InvestmentAdvice").hide();
$("#OfficeServices").hide();
$("#MeetingsAndVisitingClients").hide();
$("#TicketsAndEvents").hide();
$("#Relocation").hide();
$("#VisitingUKLondon").hide();
$("#TravelAssistance").hide();
$("#ChildrensEducation").hide();
$("#HealthServices").hide();
$("#Property").hide();
$("#services1").click(function(){
$("#LifestyleManagement").slideToggle("slow");
$("#HouseholdManagement").hide();
$("#Networking").hide();
$("#InvestmentAdvice").hide();
$("#OfficeServices").hide();
$("#MeetingsAndVisitingClients").hide();
$("#TicketsAndEvents").hide();
$("#Relocation").hide();
$("#VisitingUKLondon").hide();
$("#TravelAssistance").hide();
$("#ChildrensEducation").hide();
$("#HealthServices").hide();
$("#Property").hide();
});
});$(document).ready(function(){
$("#services2").css('cursor', 'pointer');
$("#LifestyleManagement").hide();
$("#HouseholdManagement").hide();
$("#Networking").hide();
$("#InvestmentAdvice").hide();
$("#OfficeServices").hide();
$("#MeetingsAndVisitingClients").hide();
$("#TicketsAndEvents").hide();
$("#Relocation").hide();
$("#VisitingUKLondon").hide();
$("#TravelAssistance").hide();
$("#ChildrensEducation").hide();
$("#HealthServices").hide();
$("#Property").hide();
$("#services2").click(function(){
$("#HouseholdManagement").slideToggle("slow");
$("#LifestyleManagement").hide();
$("#Networking").hide();
$("#InvestmentAdvice").hide();
$("#OfficeServices").hide();
$("#MeetingsAndVisitingClients").hide();
$("#TicketsAndEvents").hide();
$("#Relocation").hide();
$("#VisitingUKLondon").hide();
$("#TravelAssistance").hide();
$("#ChildrensEducation").hide();
$("#HealthServices").hide();
$("#Property").hide();
});
});$(document).ready(function(){
$("#services3").css('cursor', 'pointer');
$("#LifestyleManagement").hide();
$("#HouseholdManagement").hide();
$("#Networking").hide();
$("#InvestmentAdvice").hide();
$("#OfficeServices").hide();
$("#MeetingsAndVisitingClients").hide();
$("#TicketsAndEvents").hide();
$("#Relocation").hide();
$("#VisitingUKLondon").hide();
$("#TravelAssistance").hide();
$("#ChildrensEducation").hide();
$("#HealthServices").hide();
$("#Property").hide();
$("#services3").click(function(){
$("#Networking").slideToggle("slow");
$("#LifestyleManagement").hide();
$("#HouseholdManagement").hide();
$("#InvestmentAdvice").hide();
$("#OfficeServices").hide();
$("#MeetingsAndVisitingClients").hide();
$("#TicketsAndEvents").hide();
$("#Relocation").hide();
$("#VisitingUKLondon").hide();
$("#TravelAssistance").hide();
$("#ChildrensEducation").hide();
$("#HealthServices").hide();
$("#Property").hide();
});
});$(document).ready(function(){
$("#services4").css('cursor', 'pointer');
$("#LifestyleManagement").hide();
$("#HouseholdManagement").hide();
$("#Networking").hide();
$("#InvestmentAdvice").hide();
$("#OfficeServices").hide();
$("#MeetingsAndVisitingClients").hide();
$("#TicketsAndEvents").hide();
$("#Relocation").hide();
$("#TravelAssistance").hide();
$("#ChildrensEducation").hide();
$("#HealthServices").hide();
$("#Property").hide();
$("#services4").click(function(){
$("#InvestmentAdvice").slideToggle("slow");
$("#LifestyleManagement").hide();
$("#HouseholdManagement").hide();
$("#Networking").hide();
$("#OfficeServices").hide();
$("#MeetingsAndVisitingClients").hide();
$("#TicketsAndEvents").hide();
$("#Relocation").hide();
$("#VisitingUKLondon").hide();
$("#TravelAssistance").hide();
$("#ChildrensEducation").hide();
$("#HealthServices").hide();
$("#Property").hide();
});
});$(document).ready(function(){
$("#services5").css('cursor', 'pointer');
$("#LifestyleManagement").hide();
$("#HouseholdManagement").hide();
$("#Networking").hide();
$("#InvestmentAdvice").hide();
$("#OfficeServices").hide();
$("#MeetingsAndVisitingClients").hide();
$("#TicketsAndEvents").hide();
$("#Relocation").hide();
$("#VisitingUKLondon").hide();
$("#TravelAssistance").hide();
$("#ChildrensEducation").hide();
$("#HealthServices").hide();
$("#Property").hide();
$("#services5").click(function(){
$("#OfficeServices").slideToggle("slow");
$("#LifestyleManagement").hide();
$("#HouseholdManagement").hide();
$("#Networking").hide();
$("#InvestmentAdvice").hide();
$("#MeetingsAndVisitingClients").hide();
$("#TicketsAndEvents").hide();
$("#Relocation").hide();
$("#VisitingUKLondon").hide();
$("#TravelAssistance").hide();
$("#ChildrensEducation").hide();
$("#HealthServices").hide();
$("#Property").hide();
});
});$(document).ready(function(){
$("#services6").css('cursor', 'pointer');
$("#LifestyleManagement").hide();
$("#HouseholdManagement").hide();
$("#Networking").hide();
$("#InvestmentAdvice").hide();
$("#OfficeServices").hide();
$("#MeetingsAndVisitingClients").hide();
$("#TicketsAndEvents").hide();
$("#Relocation").hide();
$("#VisitingUKLondon").hide();
$("#TravelAssistance").hide();
$("#ChildrensEducation").hide();
$("#HealthServices").hide();
$("#Property").hide();
$("#services6").click(function(){
$("#MeetingsAndVisitingClients").slideToggle("slow");
$("#LifestyleManagement").hide();
$("#HouseholdManagement").hide();
$("#Networking").hide();
$("#InvestmentAdvice").hide();
$("#OfficeServices").hide();
$("#TicketsAndEvents").hide();
$("#Relocation").hide();
$("#VisitingUKLondon").hide();
$("#TravelAssistance").hide();
$("#ChildrensEducation").hide();
$("#HealthServices").hide();
$("#Property").hide();
});
});$(document).ready(function(){
$("#services7").css('cursor', 'pointer');
$("#LifestyleManagement").hide();
$("#HouseholdManagement").hide();
$("#Networking").hide();
$("#InvestmentAdvice").hide();
$("#OfficeServices").hide();
$("#MeetingsAndVisitingClients").hide();
$("#TicketsAndEvents").hide();
$("#Relocation").hide();
$("#VisitingUKLondon").hide();
$("#TravelAssistance").hide();
$("#ChildrensEducation").hide();
$("#HealthServices").hide();
$("#Property").hide();
$("#services7").click(function(){
$("#TicketsAndEvents").slideToggle("slow");
$("#LifestyleManagement").hide();
$("#LifestyleManagement").hide();
$("#HouseholdManagement").hide();
$("#Networking").hide();
$("#InvestmentAdvice").hide();
$("#OfficeServices").hide();
$("#MeetingsAndVisitingClients").hide();
$("#Relocation").hide();
$("#VisitingUKLondon").hide();
$("#TravelAssistance").hide();
$("#ChildrensEducation").hide();
$("#HealthServices").hide();
$("#Property").hide();
});
});$(document).ready(function(){
$("#services8").css('cursor', 'pointer');
$("#LifestyleManagement").hide();
$("#HouseholdManagement").hide();
$("#Networking").hide();
$("#InvestmentAdvice").hide();
$("#OfficeServices").hide();
$("#MeetingsAndVisitingClients").hide();
$("#TicketsAndEvents").hide();
$("#Relocation").hide();
$("#VisitingUKLondon").hide();
$("#TravelAssistance").hide();
$("#ChildrensEducation").hide();
$("#HealthServices").hide();
$("#Property").hide();
$("#services8").click(function(){
$("#Relocation").slideToggle("slow");
$("#LifestyleManagement").hide();
$("#HouseholdManagement").hide();
$("#Networking").hide();
$("#InvestmentAdvice").hide();
$("#OfficeServices").hide();
$("#MeetingsAndVisitingClients").hide();
$("#TicketsAndEvents").hide();
$("#TravelAssistance").hide();
$("#VisitingUKLondon").hide();
$("#ChildrensEducation").hide();
$("#HealthServices").hide();
$("#Property").hide();
});
});$(document).ready(function(){
$("#services9").css('cursor', 'pointer');
$("#LifestyleManagement").hide();
$("#HouseholdManagement").hide();
$("#Networking").hide();
$("#InvestmentAdvice").hide();
$("#OfficeServices").hide();
$("#MeetingsAndVisitingClients").hide();
$("#TicketsAndEvents").hide();
$("#Relocation").hide();
$("#VisitingUKLondon").hide();
$("#TravelAssistance").hide();
$("#ChildrensEducation").hide();
$("#HealthServices").hide();
$("#Property").hide();
$("#services9").click(function(){
$("#VisitingUKLondon").slideToggle("slow");
$("#LifestyleManagement").hide();
$("#HouseholdManagement").hide();
$("#Networking").hide();
$("#InvestmentAdvice").hide();
$("#OfficeServices").hide();
$("#MeetingsAndVisitingClients").hide();
$("#TicketsAndEvents").hide();
$("#Relocation").hide();
$("#TravelAssistance").hide();
$("#ChildrensEducation").hide();
$("#HealthServices").hide();
$("#Property").hide();
});
});$(document).ready(function(){
$("#services10").css('cursor', 'pointer');
$("#LifestyleManagement").hide();
$("#HouseholdManagement").hide();
$("#Networking").hide();
$("#InvestmentAdvice").hide();
$("#OfficeServices").hide();
$("#MeetingsAndVisitingClients").hide();
$("#TicketsAndEvents").hide();
$("#Relocation").hide();
$("#VisitingUKLondon").hide();
$("#TravelAssistance").hide();
$("#ChildrensEducation").hide();
$("#HealthServices").hide();
$("#Property").hide();
$("#services10").click(function(){
$("#TravelAssistance").slideToggle("slow");
$("#LifestyleManagement").hide();
$("#HouseholdManagement").hide();
$("#Networking").hide();
$("#InvestmentAdvice").hide();
$("#OfficeServices").hide();
$("#MeetingsAndVisitingClients").hide();
$("#TicketsAndEvents").hide();
$("#Relocation").hide();
$("#VisitingUKLondon").hide();
$("#ChildrensEducation").hide();
$("#Property").hide();
});
});$(document).ready(function(){
$("#services11").css('cursor', 'pointer');
$("#LifestyleManagement").hide();
$("#HouseholdManagement").hide();
$("#Networking").hide();
$("#InvestmentAdvice").hide();
$("#OfficeServices").hide();
$("#MeetingsAndVisitingClients").hide();
$("#TicketsAndEvents").hide();
$("#Relocation").hide();
$("#VisitingUKLondon").hide();
$("#TravelAssistance").hide();
$("#ChildrensEducation").hide();
$("#HealthServices").hide();
$("#Property").hide();
$("#services11").click(function(){
$("#ChildrensEducation").slideToggle("slow");
$("#LifestyleManagement").hide();
$("#HouseholdManagement").hide();
$("#Networking").hide();
$("#InvestmentAdvice").hide();
$("#OfficeServices").hide();
$("#MeetingsAndVisitingClients").hide();
$("#TicketsAndEvents").hide();
$("#Relocation").hide();
$("#VisitingUKLondon").hide();
$("#TravelAssistance").hide();
$("#HealthServices").hide();
$("#Property").hide();
});
});$(document).ready(function(){
$("#services12").css('cursor', 'pointer');
$("#LifestyleManagement").hide();
$("#HouseholdManagement").hide();
$("#Networking").hide();
$("#InvestmentAdvice").hide();
$("#OfficeServices").hide();
$("#MeetingsAndVisitingClients").hide();
$("#TicketsAndEvents").hide();
$("#Relocation").hide();
$("#VisitingUKLondon").hide();
$("#TravelAssistance").hide();
$("#ChildrensEducation").hide();
$("#HealthServices").hide();
$("#Property").hide();
$("#services12").click(function(){
$("#HealthServices").slideToggle("slow");
$("#LifestyleManagement").hide();
$("#HouseholdManagement").hide();
$("#Networking").hide();
$("#InvestmentAdvice").hide();
$("#OfficeServices").hide();
$("#MeetingsAndVisitingClients").hide();
$("#TicketsAndEvents").hide();
$("#Relocation").hide();
$("#VisitingUKLondon").hide();
$("#TravelAssistance").hide();
$("#ChildrensEducation").hide();
$("#Property").hide();
});
});$(document).ready(function(){
$("#services13").css('cursor', 'pointer');
$("#LifestyleManagement").hide();
$("#HouseholdManagement").hide();
$("#Networking").hide();
$("#InvestmentAdvice").hide();
$("#OfficeServices").hide();
$("#MeetingsAndVisitingClients").hide();
$("#TicketsAndEvents").hide();
$("#Relocation").hide();
$("#VisitingUKLondon").hide();
$("#TravelAssistance").hide();
$("#ChildrensEducation").hide();
$("#HealthServices").hide();
$("#Property").hide();
$("#services13").click(function(){
$("#Property").slideToggle("slow");
$("#LifestyleManagement").hide();
$("#HouseholdManagement").hide();
$("#Networking").hide();
$("#InvestmentAdvice").hide();
$("#OfficeServices").hide();
$("#MeetingsAndVisitingClients").hide();
$("#TicketsAndEvents").hide();
$("#Relocation").hide();
$("#VisitingUKLondon").hide();
$("#TravelAssistance").hide();
$("#ChildrensEducation").hide();
$("#HealthServices").hide();
});
});</script>
The HTML markup is irrelevant at this point , and im sure so is the css. But if u want to view the css here is that as well:
#services1
{
float: left;
margin-left: 1em;
color: black;
font-size: 16;
font-weight: bold;
text-align: center;
text-shadow: 0.1em 0.1em 0.1em white;
}
#services2
{
float: left;
margin-left: 1em;
color: black;
font-size: 16;
font-weight: bold;
text-align: center;
text-shadow: 0.1em 0.1em 0.1em white;
}
#services3
{
float: left;
margin-left: 1em;
color: black;
font-size: 16;
font-weight: bold;
text-align: center;
text-shadow: 0.1em 0.1em 0.1em white;
}
#services4
{
float: left;
margin-left: 1em;
color: black;
font-size: 16;
font-weight: bold;
text-align: center;
text-shadow: 0.1em 0.1em 0.1em white;
}
#services5
{
float: left;
margin-left: 1em;
color: black;
font-size: 16;
font-weight: bold;
text-align: center;
text-shadow: 0.1em 0.1em 0.1em white;
}
#services6
{
float: left;
margin-left: 1em;
color: black;
font-size: 16;
font-weight: bold;
text-align: center;
text-shadow: 0.1em 0.1em 0.1em white;
}
#services7
{
float: left;
margin-left: 1em;
color: black;
font-size: 16;
font-weight: bold;
text-align: center;
text-shadow: 0.1em 0.1em 0.1em white;
}
#services8
{
float: left;
margin-left: 1em;
color: black;
font-size: 16;
font-weight: bold;
text-align: center;
text-shadow: 0.1em 0.1em 0.1em white;
}
#services9
{
float: left;
margin-left: 1em;
color: black;
font-size: 16;
font-weight: bold;
text-align: center;
text-shadow: 0.1em 0.1em 0.1em white;
}
#services10
{
float: left;
margin-left: 1em;
color: black;
font-size: 16;
font-weight: bold;
text-align: center;
text-shadow: 0.1em 0.1em 0.1em white;
}
#services11
{
float: left;
margin-left: 1em;
color: black;
font-size: 16;
font-weight: bold;
text-align: center;
text-shadow: 0.1em 0.1em 0.1em white;
}
#services12
{
float: left;
margin-left: 1em;
color: black;
font-size: 16;
font-weight: bold;
text-align: center;
text-shadow: 0.1em 0.1em 0.1em white;
}
#services13
{
float: left;
margin-left: 1em;
color: black;
font-size: 16;
font-weight: bold;
text-align: center;
text-shadow: 0.1em 0.1em 0.1em white;
}
#LifestyleManagement
{
width: 90%;
padding-top: 1em;
margin-left: 2em;
height: auto;
font-size: 12px;
display: none;
}
#HouseholdManagement
{
width: 90%;
padding-top: 1em;
margin-left: 2em;
height: auto;
font-size: 12px;
display: none;
}
#Networking
{
width: 90%;
padding-top: 1em;
margin-left: 2em;
height: auto;
font-size: 12px;
display: none;
}
#InvestmentAdvice
{
width: 90%;
padding-top: 1em;
margin-left: 2em;
height: auto;
font-size: 12px;
display: none;
}
#OfficeServices
{
width: 90%;
padding-top: 1em;
margin-left: 2em;
height: auto;
font-size: 12px;
display: none;
}
#MeetingsAndVisitingClients
{
width: 90%;
padding-top: 1em;
margin-left: 2em;
height: auto;
font-size: 12px;
display: none;
}
#TicketsAndEvents
{
width: 90%;
padding-top: 1em;
margin-left: 2em;
height: auto;
font-size: 12px;
display: none;
}
#TicketsAndEvents
{
width: 90%;
padding-top: 1em;
margin-left: 2em;
height: auto;
font-size: 12px;
display: none;
}
#Relocation
{
width: 90%;
padding-top: 1em;
margin-left: 2em;
height: auto;
font-size: 12px;
display: none;
}
#VisitingUKLondon
{
width: 90%;
padding-top: 1em;
margin-left: 2em;
height: auto;
font-size: 12px;
display: none;
}
#TravelAssistance
{
width: 90%;
padding-top: 1em;
margin-left: 2em;
height: auto;
font-size: 12px;
display: none;
}
#ChildrensEducation
{
width: 90%;
padding-top: 1em;
margin-left: 2em;
height: auto;
font-size: 12px;
display: none;
}
#HealthServices
{
width: 90%;
padding-top: 1em;
margin-left: 2em;
height: auto;
font-size: 12px;
display: none;
}
#Property
{
width: 90%;
padding-top: 1em;
margin-left: 2em;
height: auto;
font-size: 12px;
display: none;
}
So what do i add in the script, what do i change slightly - in order for the first one to appear on the page by default ?
i want the content under services1 (Lifestyle Management) to 'show' when the page 'personal concierge' loads.
Any tips advice ?