Hello,
I want to search a text_word from raw text using jQuery.
$("#s:regex('text_word')").each(function() {
$(this).appendTo('#s1');
});
raw text here
Thanks
Jean
Hello,
I installed Ubunut and got the LAMP stack installed too. Now the problem is I have to be connected to the internet for the local apache webserver to work, else it does not. I changed the IP address on the dnshost, in the apache2.conf file, got the servername in the httpd.conf, which was empty.
Any ideas guys.
Thanks
Jean
Hello,
This may seem stupid to ask, but I have done on many css coding
#div_iv a:hover
but for darn reason, it does not seem to work now, Googled with results such as
a.hover #div_iv
#div_iv:hover
What exactly is wrong.
Thanks
Jean
Hello,
I want to be able to read any random RSS/ATOM XML file. That would mean I would not not know the tags, start the loop and the fields. How do I go about doing it in PHP.
Thanks
Jean
Hello,
Here is the .htaccess entry. what I intended to do is to transfer anyone typing as www.yahoo.com/Hello to www.yahoo.com/index.php?h=hello.
Options +FollowSymLinks
RewriteEngine on
RewriteBase /
RewriteRule /index.php?u=$1
Now for some reason it shows me a 404 error when I type in yahoo.com too, I wonder what is wrong.
Thanks
Jean
Hello,
I want to center a div right in the middle of the page, I tried top:30%, but when the window is resized off the alignment.
<div id=cent></div>
Thanks
Jean
Hello,
I have this CSS style that does a rounded corners for div border, but for some reason IE does not like this code.
#selector{
background-color:#DBDBDB;
margin-top:-23px;
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
background-color:rgba(255,255,255,0.5);
}
How can do rounded div border on IE.
Thanks
Jean
Hello,
I want to put images of the 1024x768 as backgrounds and load quickly using css. I could use
background(url....)
in the CSS, but will that solve the issue, of downloading images quickl?
Thanks
Jean
Hello,
I am trying to add an image from a local directory to a php page on my localhost. It adds fine, but does not display the image.
What exactly am I doing wrong here?
Thanks
Jean
Hello,
This is going to be rather silly of me asking, but how do I keep the background image fixed during a page scroll. I have this css code, and the image is a background of the body and not **
body{
background-position:center;
background-image:url(../images/images5.jpg);
}
Thanks
Jean
Hello,
For each click I want to increase the font size.
$('#fontplus').each(function('click') {
var fs = $('#bod').css('font-size');
$('#bod').css('font-size',fs+1);
});
<div id="fontplus">+</div>
Thanks
Jean
Hello,
Consider the URL www.something.com/HereWeGo. When someone enters the url, the site shows a 404 error since the directory does not exists. I can parse the URL to get the query and HereWeGo, but cannot stop it from going to a 404 error.
How can I achieve it by PHP, if it is possible to avoid .htaccess now
Thanks
Jean
Hello,
I want to pass a $_GET[''] to a php file, when a button is clicked it must display data from the db.
It displays the data without the query.
The process.php contains SQL statement to query the db and display values.
Thanks
Jean
Hello,
<div id=i1><span id=e1>Item 1</span></div>
<div id=i2><span id=e2>Item 2</span></div>
When I click on Item 1 it should be deleted and moved to i2 and when I click on Item 1 again it must go back to i1
Yes, I tried append(), it goes to i2, but on clicking again it does not move back to i1
How do I get to do it.
Thanks
Jean
Hello,
I want to center a div, but the general way is
#selector{position:relative;margin:0px auto;}
What exactly is wrong below
#crp{top:40%; position:absolute; margin:auto;}
The Div below is not nested but a standalone. The #crp is going to the extreme right.
<div id="crp">...something goes here....</div>
Thanks
Jean
Hello,
I cannot $_post['value_to_be_posted'] value into a <form><input type="hidden" value="<? echo $_post['value_to_be_posted'] ?>"></form> in chrome but works in IE and ff.
Any ideas
Thanks
Jean
Hello,
I wonder why does this style not work in IE and FF, but in Chrome ONLY
#show{top:10%; position:relative; margin: 0px auto; width:100%;}
[Edit]
If I want to make the same work in IE and FF, what do I have to do
Thanks
Jean
Hello,
I can select the first item in the div using
$('.class:first')
Now since I will have random id values, and the class remains the same, I want to access the id of the fourth element, will it be something like this
$('.class:fourth')
using jQuery.
Thanks
Jean
Hello,
I want to check if an URL exists using PHP. for eg. If someone enters www.adflkjweoifj123912873.com, I want to check if this domain has a website, or its live on the web.
Thanks
Jean
Hello,
I have the code
<iframe width=150px height=150px src=http://yahoo.com></iframe>
Here I will have a 150x150 iframe, but I want the whole site to be reduced to a 150x150.
Is it possible to do it.
Thanks
Jean
Hello,
I have about 400 links, ie., http:// in a div. I want to filter only the links ( http:// )
$("a[href$='']").each(function() {
$(this).append('#only_http').attr('href');
});
Thanks
Jean
Hello,
I want to loop the update statement, but it only loops once.
Here is the code I am using:
do {
mysql_select_db($database_ll, $ll);
$query_query= "update table set ex='$71[1]' where field='val'";
$query = mysql_query($query_query, $ll) or die(mysql_error());
$row_domain_all = mysql_fetch_assoc($query);
} while ($row_query = mysql_fetch_assoc($query));
Thanks
Jean
Hello,
When I click on the word Directory, the up arrow image must change to down, and vice-versa when clicked again.
In this code, when the page loads, toggle is triggered.
$('#direct').click(function(){
$('#arrow').attr('src','images/down_arrow_black.gif');
});
<div id="direct"><img src="images/up_arrow_black.gif" id="arrow" />Directory</div>
Thanks
Jean
Hello,
I want to update a blog, by sending an email using php. This is not wordpress, tumblr, or the famous ones.
I could set up an email id, with a specific code in the subject line, but how I get input the contents into the db?
Thanks
Jean