English properties file can be read bt when i click on french link it couldnt read.Can u tell me the stepwise process to do this.I hav images which need to be in french when i click in french..
desired tree output should be like picture showed in below website.
[web]http://www.all-science-fair-projects.com/science_fair_projects_encyclopedia/upload/6/6d/Binary_search_tree.png
can I take output like that. If I can, how?
(sorry, because I cannot sketch the graph in question task so I must give link )
(language is gcc)(platform is linux)
In IE the tooltip (title attribute) when you hold over an a-tag disappear after a while. Can I somehow control for long it is shown? Or is it up to the browser to decide?
<a title="tooltip text">link</a>
How do I check if a URI exists with PHP?
I guess it will return an error code and I can check it before I use file_get_contents, because if I use file_get_contents on a link that doesn't exist, it gives me an error.
I am making websites I refer to from my site load up in a frame (similar to google images). But I also want to give users the ability to break out of that frame. Like with google image's "Remove Frame" link at the bottom right corner of their frame. How can I do this possiblyusing Javascript?
it looks like there used to be an export events button (to rss) but fb have removed it,
i've looked at fbCal but it only exports the event name and the link to the event, but none of the event details.
anyone got any ideas of how i can get multiple event details out of facebook?
Can someone explain what the 'e' flag does, or link me to somewhere that does? I couldn't find anything via google.
Example:
preg_replace("/a(b?)c/e", "search_foo_term('\$1')", $str);
I have 3 tables "pics", "shows", "showpics"
I want to be able to edit the table "shows". In order to do this i need to retrive the pictures that the show contains (the pictures are stored in the table "pics")
the "showpics" table acts as a link
does anyone have any ideas as im completely lost and have no idea where to even start
Thanks
when i write
<link rel="shortcut icon" href="http://localhost/kino/img/clapperboard-icon.ico">
it doesn't show an icon in IE? works fine in other browsers.
could you tell me why? thanks
I'm getting a fairly long and confusing link error, and would love it if I could just paste it into some textbox on some website and have the names un-mangled for me.
Does anyone know of such a service?
Is it possible to rewrite the URL in the URL-field on the client's browser?
So when a person clicks on a link on my page something ajax happens (eg a tab shows up) i want the url to display the action without refreshing the page.
Is this possible?
I am looking fr someone to make me two website templates for my site for free.
Here is a quick design of what I want:(Took me 2 minutes in Paint)
http:/ /i50.tinypic.com/33p9aut.jpg (You have to push backspace on the first link to join up the http:/ and the other /)and http://i50.tinypic.com/2qmogoo.jpg
Email me at [email protected] or [email protected] for more information
I know how to hide site map nodes from unauthenticated users but I want to hide site map nodes from authenticated users. This is for the scenario of hiding the link to the login or signup page etc.
Any ideas??
I need to generate links in my views using the url helpers such as user_path(@user), the catch is, in some cases I don't know what model I am creating this link for i.e. whether it is a user or a store or someting else
I would like to be able to determine this on the fly and call the appropriate view helper, currently I am doing the following, but I am wondering if there is a drier way of doing it.
if object.class == "Store"
store_path(object)
elsif object.class == "User"
user_path(object)
...etc
I'm using SqlServer 2008. A usefull link is also ok. I've found some links, but since I'm not an expert with Sql Profiler, I can't seem to find how I would do this.
By the way, some data is retrieved with Stored Procedures, but others are done with sql in the .NET server layer.
My gridview has link type column but am unable to edit it. how to edit such type of cell.
Few more question i have
i want to set checked to true for all rows in checkbox column. Also i want to set default value for combo box column
Thanks
I'm using twitter bootstrap in my application. i gave e.preventDefault for link button in $(document).reday(), but it is not working.
Here is my code:
Master page:
<a id="lnkLogout" href="javascript:void(0);" onclick="PageLogout();"><i class="icon-off">
</i>Logout</a>
<script type="text/javascript" language="javascript">
$(document).ready(function () {
$('#lnkLogout').click(function (e) { e.preventDefault(); });
});
function PageLogout() {
//Code for logout from the application....
}
</script>
SampleDefaultPage.aspx :
<div class="row-fluid">
<div class="form-horizontal">
<h4 class="header blue bolder smaller">
Contact</h4>
<div class="control-group">
<label for="form-field-email" class="control-label">
Email</label>
<div class="controls">
<input type="text" style="width:200px;" data-val="true" data-val-required="Mobile Number is required." id="txtEmail">
<div class="space-3">
</div>
<span data-valmsg-replace="true" data-valmsg-for="txtEmail" class="field-validation-valid text-warning red"></span>
</div>
</div>
<div class="control-group">
<label for="form-field-website" class="control-label">
Phone Number</label>
<div class="controls">
<input type="text" style="width:200px;" id="txtPhno">
</div>
</div>
</div>
I have given txtEmail as mandatory field. if i left that field blank and click on Logout button in Master page, it says txtEmail is required. i dint do any validation in Logout onclick event. I have given preventDefault for Logout link. But still facing an issue. I should be able to logout even though txtEmail is left blank.
Thank you all in advance for your response.
i am downloading files from server using WinSCP.Is it possible to write a query to download a large database using mysql query? Or using any other method
i have tried with this code but i am not able to get the whole database structure
<?php
if(file_exists('backup_sql/my_backup.zip'))
{
unlink('backup_sql/my_backup.zip');
}
$tables='*';
$host='MY HOST NAME';
$user='MY_USERNAME';
$pass='MYPASSWORD';
$name='MY_DB_NAME';
$link = mysql_connect($host,$user,$pass);
mysql_select_db($name,$link);
//get all of the tables
if($tables == '*')
{
$tables = array();
$result = mysql_query('SHOW TABLES');
while($row = mysql_fetch_row($result))
{
$tables[] = $row[0];
}
}
else
{
$tables = is_array($tables) ? $tables : explode(',',$tables);
}
$return='';
//cycle through
foreach($tables as $table)
{
$result = mysql_query('SELECT * FROM '.$table);
$num_fields = mysql_num_fields($result);
//$return.= 'DROP TABLE '.$table.';';
$row2 = mysql_fetch_row(mysql_query('SHOW CREATE TABLE '.$table));
$return.= "\n\n".$row2[1].";\n\n";
for ($i = 0; $i < $num_fields; $i++)
{
while($row = mysql_fetch_row($result))
{
$return.= 'INSERT INTO '.$table.' VALUES(';
for($j=0; $j<$num_fields; $j++)
{
$row[$j] = addslashes($row[$j]);
//$row[$j] = ereg_replace("\n","\\n",$row[$j]);
if (isset($row[$j])) { $return.= '"'.$row[$j].'"' ; } else { $return.= '""'; }
if ($j<($num_fields-1)) { $return.= ','; }
}
$return.= ");\n";
}
}
$return.="\n\n\n";
}
$rand_var=time();
$files_to_zip = array(
"'backup_sql/db-backup-'.$rand_var.'.sql'",
);
$name = 'db-backup-'.$rand_var.'.sql';
$data = $return;
?>
any one please help me... thank you
I'm trying to create a scheduling system in Excel. I have a column with employees and right beside that, their roles. How do I link each employee to a role?
please I can't able to install the silverlight on vs2008.please tell me how to install
silverlight on vs2008. give me step by step description otherwise any most preferable link
for that I am going in correct way.& how the controls are to be in vs2008.
& also me give a beginner example for that i can start to teach the silvelight.
please!!!!!!
Hi,
I have a problem with JQuery Context Menu ( link text ) and iframe.
If i use it inside, the context menu is naturaly shown inside. But it will be partialy shown.
I am searching how to resolve it.
Please note that the context menu only appear when i click on specific iframe's elements.
thanks :)
Hi, I'm looking for an algorithm that given two permutations of a sequence (e.g. [2, 3, 1, 4] and [4, 1, 3, 2]) calculates the cycles that are needed to convert the first into the second (for the example, [[0, 3], [1, 2]]).
The link from mathworld says that Mathematica's ToCycle function does that, but sadly I don't have any Mathematica license at hand... I'd gladly receive any pointer to an implementation of the algorithm in any FOSS language or mathematics package.
Thanks!
How to convert the existing flash site into mobile version existing site in form of the cakephp frame work. We thought that html ,css,php,javascript may work all mobiles.We dont know exactly. Please tell us how many possible way to develop existing site into mobile version and also need to detect the from which browser the request is coming whether mobile browser or pc browser.
The existing site link is :This site convert into mobile version
Hello all,
I want to implement something where I will get an URL which will be a link to JSON db, now I need to get the json from this URL and convert it to std:string in a c++ file. Is there any easy way to do this.
I've lost link to free file browser which can be integrated with ckeditor. I'm looking for it for about 5 hours and no luck, so could you help ? Problem is that I remeber nothing except page had red circle favicon with white text, name was with "net" and "4" . I'll be thankful for help