‘);
}
else {
var loc = middle + 1;
$(“p:eq(“+loc+”)”).append(”);
}
}
else if( location == “end” ) {
$(“p:eq(“+end+”)”).append(”);
}
else {

}
}

function displayAds(adgroup1,adgroup2,adgroup3)
{
if( count > 17 )
{
if( adgroup1 != “NONE PROVIDED” )
{
if( $(“p:eq(4)”).text().length > 100) {
$(“p:eq(4)”).append(”);
}
else {
$(“p:eq(5)”).append(”);
}
}
if( adgroup2 != “NONE PROVIDED” )
{
if( $(“p:eq(10)”).text().length > 100) {
$(“p:eq(10)”).append(”);
}
else {
$(“p:eq(11)”).append(”);
}
}
if( adgroup3 != “NONE PROVIDED” )
{
if( $(“p:eq(16)”).text().length > 100) {
$(“p:eq(16)”).append(”);
}
else {
$(“p:eq(17)”).append(”);
}
}
}
else if( count > 11 )
{
if( adgroup1 != “NONE PROVIDED” )
{
if( $(“p:eq(4)”).text().length > 100) {
$(“p:eq(4)”).append(”);
}
else {
$(“p:eq(5)”).append(”);
}
}
if( adgroup2 != “NONE PROVIDED” )
{
if( $(“p:eq(10)”).text().length > 100) {
$(“p:eq(10)”).append(”);
}
else {
$(“p:eq(11)”).append(”);
}
}
}
else if( count > 5 )
{
if( adgroup1 != “NONE PROVIDED” )
{
if( $(“p:eq(4)”).text().length > 100) {
$(“p:eq(4)”).append(”);
}
else {
$(“p:eq(5)”).append(”);
}
}
}

}

Source link

(Visited 3 times, 1 visits today)
adminEBS
...

Do you want to be notified about new DBA updates, releases, jobs and free tips? Join our email newsletter. It's fast and easy. You will be among the first to know about hot new DBA updates and stuff, it will help you enhance your DBA skills.
We take your privacy very seriously