How to Read Javascript Via Query String?

Below I mention that Reading Query String Script:

<!– Query String Read Code Start
function querySt(queryValue) {
queryString = window.location.search.substring(1);
urlSplitQuery = queryString.split(“&”);
for (i=0;i<urlSplitQuery.length;i++) {
finalQueryTxt = urlSplitQuery[i].split(“=”);
if (finalQueryTxt[0] == queryValue) {
return finalQueryTxt[1];
}
}
}
var queryFunction = querySt(“queryFunction”);
//document.write(queryString);

// Query String Read Code End  –>

If you feel check conditon below i mention the query string condition:

if(queryString==”query”){
document.write(‘Yes query here’);
}
else{
document.write(‘no query’);
}

Simple coment hide script for WordPress Site?

<script type=”text/javascript” language=”javascript”>

//alert(document.getElementById(‘comments’));

var comLength = document.getElementById(“comments”).innerHTML;

/*alert(comLength);

alert(comLength.length);*/

if(comLength.length == “0”){

//alert(‘test’);

document.write(‘<style type=”text/css”>#comments{display:none;}</style>’);

}

else{

document.write(‘<style type=”text/css”>#comments{display:block;}</style>’);

//alert(“Test Else”+comLength.length);

}

</script>

IE not support text-indent on buttons fileds?

You can do just below things in your style inside.

.your-class{
font:12px Arial;
text-indent:-999px;
display:block;
line-height:0; /* For IE purpose */
}

that’s all this working. you can added here for IE purpose the “line-height:0” only.

IF IE CSS Menu not Working?

You Can use below doctype in your html page inside.

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml”>

this is working good one.

How to find URL Path via php?

$url = $_SERVER[“SERVER_NAME”].”:”.$_SERVER[“SERVER_PORT”].$_SERVER[“REQUEST_URI”];
$URLpath = parse_url($url, PHP_URL_PATH);
$catPathAraay = explode(“-“, $URLpath);
$catPath = $catPathAraay[2];
//echo $catPath;

the above code find particular url path.

how to create zencart page?

You can Add Just Below Instruction.

Add Header.php

And Add
includestemplatesnew_templatetemplatestpl_hereYourFile.php

And more Details Here : http://www.zen-cart.com/wiki/index.php/Creating_new_pages

http://lifefeed.net/zencart/static_page.php

http://tutorials.zen-cart.com/index.php?article=142

http://tutorials.zen-cart.com/

http://www.radebatz.net/mano/2007/07/17/howto-creating-static-pages/

http://tutorials.zen-cart.com/index.php?article=117

http://www.zen-cart.com/forum/showthread.php?t=128705

enjoy.

How to create 3 column or Row Latest Post Via WP?

Hi,

Below code useful for all this is very nice one in WordPress.
<div>
<h2>Latest News</h2>
<?php
//$args = array(‘orderby’ => ‘date’, ‘numberposts’ => 3, ‘category’ => 6, ‘order’=> ‘DESC’); //This Categories wise latest post display
$args = array(‘orderby’ => ‘date’, ‘numberposts’ => 3, ‘order’=> ‘DESC’); // This all post display
$postslist = get_posts( $args );
$i; //This is counting the iteam purpose using
foreach ($postslist as $post) :  setup_postdata($post);
$i++; // This is increasing howmany foreach going that is purpose using.
?>
<div>
<h2><a href=”<?php echo get_permalink($page->ID); ?>”><?php the_title(); ?></a></h2>
<?php //the_date(); ?>
<?php //echo get_the_post_thumbnail($page->ID, ‘thumbnail’);?>
<?php echo get_the_post_thumbnail($page->ID, ‘full’); ?>
<?php the_excerpt(); ?>
</div>
<?php endforeach; ?>
</div><!– Latest News Container End –>

How to solve this WordPress not Loading OR Server not found?

1. You can go your network settings.

2. There you can set you IP Address And

3. Your Default Gateway settings.

4. Then you come and refresh you browser work well in your domain tools.

Now your wordpress.org view and other wordpress.org related site view very good.

How to solve this : You don’t have permission to access /phpmyadmin/ on this server

Just go to your Wamp Directory insder “c:/wamp/alias/phpmyadmin.conf” — This path.

Here you can check this <Directory “c:/wamp/apps/phpmyadmin3.4.5/”> the phpmyadmin version is same in your c:/wamp/apps/

Then you see this file
1. AllowOverride All
2. “Deny from all” to “Allow from all”
3. “Order Deny,Allow” to “Order Allow,Deny”

that is all. Now its working. If this is not working then you go to check your ISS part.

How to set Cross Browser Min Height in Via CSS?

You Can Just Below Code in your style sheet OR where you want you can put this.

min-height:741px;
height:auto !important;
height:741px;

that is all this is working well i can find this in google via.

© 2020 Spirituality