|
Well..... A wee bit of a kip and a coffee later the answer was staring me in the face.
There was a bug in the thumbnail code. I wasn't passing the temporary variable Tempwidth down to MaxWidth so filenames weren't matching saved records.
I was also assigning the filepath for the images a static value rather than returning a dynamic value generated by landscape or portrait images.
I turned it into a function and returned the value back and that fixed everything.
Thanks to you both for your comments. It just takes a few sensible calm words to fix most problems.
Cheers!
JimBob SquarePants
*******************************************************************
"He took everything personally, including our royalties!"
David St.Hubbins, Spinal Tap about Ian Faith, their ex-manager
*******************************************************************
|
|
|
|
|
Good morning Sir,
I would like to know about the ...
How to Develop game in C,...
Give basic idea withe example ...
Thanks,
Gopal Shah

|
|
|
|
|
if you like to develop a game in C, then this is wrong post, try in C forums.
Give more information, what type of game,which language etc...
Try this link
Game in C[^]
|
|
|
|
|
hi to all
any one can suggest that in which folder we can upload a file of the local file in filezila,as i upload a file in httpdocs and files are showing in the remote window but the web page is not looking on the internet.
please suggest me step by step
i am in very big trouble last 2 days i am doing only uploading but resut is 0
i am waiting ............
rizvan sivally
|
|
|
|
|
You need to read the documentation provided by your web hosting company, as they all have slightly different setups. Check their main web site for anything like a "Support", "Help", "FAQ" or "Forums" link, and look around there for instructions on which folders to use.
Also make sure you have the correct file extension - .htm or .html, and if you're not giving the full path to a file, that you have and index or home file.
If you're really stuck, email their support address, or raise a ticket in their support system, and they should get back to you with an explanation. Most hosting companies are fairly quick to respond (although it's now the weekend so you might have to be patient).
There are three kinds of people in the world - those who can count and those who can't...
|
|
|
|
|
THANKS ALOT SIR
rizvan sivally
|
|
|
|
|
hi
can any body send to me calender show only mounth and year
thnx
|
|
|
|
|
On paper /php /javascript /asp ?
|
|
|
|
|
hi
can u write to me the address url plz
i'm new here
|
|
|
|
|
To what exactly?
I don't know what you want.
You haven't told us what language you are using.
|
|
|
|
|
i using php lang
but i want calender in javascript show only mounth and year wihtout dayes
thanx
|
|
|
|
|
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
.month {
width:50px;
background:#000066;
color:#FFFFFF;
display:inline-block;
float:left;
border:1px solid #ffffff;
text-align:center;
cursor:pointer;
}
.month:hover{
background-color:#FF6600;
}
</style>
<script type="text/javascript">
function setmonth(x){
document.getElementById('chosenmonth').value = x;
}
function setyear(x){
document.getElementById('chosenyear').value = x;
}
function yearplus(){
document.getElementById('year').value++;
document.getElementById('chosenyear').value = document.getElementById('year').value;
}
function yearminus(){
document.getElementById('year').value--;
document.getElementById('chosenyear').value = document.getElementById('year').value;
}
</script>
</head>
<body>
<div style="text-align:center; width:624px; margin:auto;">
<form id="form1" name="form1" method="post" action="">
<div class="month" name="yearminus" id="yearminus" tabindex="1" onclick="yearminus()"> < </div>
<input id="year" name="year" value="2009" style="float:left" />
<div class="month" name="yearplus" id="yearplus" tabindex="2" onclick="yearplus()"> > </div><br /><br />
<div class="month" onclick="setmonth('Jan')"> Jan </div>
<div class="month" onclick="setmonth('Feb')"> Feb </div>
<div class="month" onclick="setmonth('Mar')"> Mar </div>
<div class="month" onclick="setmonth('Apr')"> Apr </div>
<div class="month" onclick="setmonth('May')"> May </div>
<div class="month" onclick="setmonth('Jun')"> Jun </div>
<div class="month" onclick="setmonth('Jul')"> Jul </div>
<div class="month" onclick="setmonth('Aug')"> Aug </div>
<div class="month" onclick="setmonth('Sep')"> Sep </div>
<div class="month" onclick="setmonth('Oct')"> Oct </div>
<div class="month" onclick="setmonth('Nov')"> Nov </div>
<div class="month" onclick="setmonth('Dec')"> Dec </div>
<input type="text" id="chosenmonth" value="Jan" />
<input type="text" id="chosenyear" value="2009" />
</form>
</div>
</body>
</html>
|
|
|
|
|
That should get you started
|
|
|
|
|
|
Hi
i'am looking to program a web service with netbeans (easiest way using jax), but in the web service source i have to call python code, i tried to install plugins for that i found jython and i don't know how integrate it in netbeans, i used nbpython, but it seems that it's not possible to have java code and python code using
i don't know need some help please
thanks
|
|
|
|
|
I have a Flash movie on a web page and I want to send parameters to it with JavaScript to have it go to a selected frame. The AS3 code receives its information via an ExternalInterface API. The following code parses the URL argument (?page=x ) and I want to send the value (x) to Flash. Unfortunately, when creating the objMovie variable, it is always undefined, therefore getFlashMovie is undefined and Flash never receives the callback.
Thinking that it was because the flash movie is not loaded yet, I created a button to call callToActionscript, and when I click the button, I get the same error. (getFlashMovie("myFlashMovie") is undefined)
I am not seeing what I'm doing wrong (mainly because I'm a newbie...). Please enlighten me.
Also, if (params) always returns true, whether there are parameters or not. I don't understand that, either.
The code follows:
<script type="text/javascript">
$(document).ready(function() {
var params=getQueryParameters();
if(params) {
callToActionscript(params[0]);
}
});
function getFlashMovie(movieName) {
var isIE = navigator.appName.indexOf("Microsoft") != -1;
var objMovie = (isIE) ? window[movieName] : document[movieName];
alert(objMovie);
return objMovie;
}
function callToActionscript(page)
{
var myMovie=getFlashMovie("myFlashMovie").sentToActionscript(page);
}
function getQueryParameters() {
var query = window.location.href.split('?')[1];
if(!query) {
return { };
}
else
{
var param = query.split('=');
}
return param[1];
}
</script>
|
|
|
|
|
hi , i have i web site , i have a text box and button , when i type user name in text box a dialog warn appear for remote user , how i can do this ?
|
|
|
|
|
re7et_3esh wrote: dialog warn appear for remote user
I'm not excatly sure what you mean by this, but if you subscribe to the onblur event of the textbox you can display an alert window.
only two letters away from being an asset
|
|
|
|
|
hi man , i know that , but how i can allow dialog appear to particular user? for example
i type ur nick in text box and say "Hello!!!"and click submit button , then a dialog warn appear for u
|
|
|
|
|
re7et_3esh wrote: allow dialog appear to particular user?
Still not clear here.
1) In the code behind you check which user the page is being rendered for than attached the javascript event to the textbox as appropriate
or
2) Make an Ajax call from the onblur event to determine if the alert box should be displayed or not
only two letters away from being an asset
|
|
|
|
|
thank u man alot , can u give me simple example?
|
|
|
|
|
Try here[^]
only two letters away from being an asset
|
|
|
|
|
use a javascript alert box/confirm box?
|
|
|
|
|
hi man , i know that , but how i can allow dialog appear to particular user? for example
i type ur nick in text box and say "Hello!!!"and click submit button , then a dialog warn appear for u
|
|
|
|
|
<html>
<head>
<script>
function check(){
if (document.getElementById('mytext') == "Hello!!!"){
alert("You said 'hello!!!'");
}
}
</script>
</head>
<body>
<input id="mytext" type="text" onkeyup="check()" />
</body>
</html>
|
|
|
|