Jump to content
xisto Community

TavoxPeru

Members
  • Content Count

    865
  • Joined

  • Last visited

Posts posted by TavoxPeru


  1. Very useful little snippet, Tavox. Can you use a code for when you put your mouse over a picture, a little box comes up next to the cursor with writing? If you know what I'm talking about, I need that code. Its a very useful little one as wellThanks

    -Kyle

    one way is by using the alt attribute as seec77 said, the other way is by using the title attribute, and the syntax is similar as the alt attribute:
    <img src="your_image_file" alt="your alternate text goes here" title="your title text goes here" ...>
    Now, i recommend that you use both attributes with the same text because with firefox only works one of them, i'm not sure which one is, sorry but in this moment i dont remember. :D

    Best regards,

  2. sparx: No problem, and you are right not everyone gets immediately all the new features of gmail, and forgive me because the new features that you mention in your first post are correct. I confused it with the earlier features, the ones you mention are new, i just verified it.

     

    vhortex: I make a test to verify if the deleted spam goes to the trash and the result is no, it is deleted, and after 30 days the trash folder is empty. Now, one of the best things that gmail have is its spam filter, for me is the best one, hotmail and yahoo dont have its effectiveness.

     

    BTW, i still have my gmail space at 1% ;) and as you, the first thing i do every time i login is to clear my spam folder.

     

    arbitrary: I think i'm a sort of a neat freak too, i exactly do the same thing :o

     

    Now, another two new features of gmail are its capacity to undo your last action and the display of web clips that appears between the page header and the mails counter. The first one is very helpful but the second its a bit disturber, but GMAIL ROCKS :D

     

    Best regards,


  3. Hi, browsing the web i found this really cool virtual desktop. The eyeOS.info, is a website where you can create and use your own eyeOS Virtual Desktop.

    With eyeOS.info all your data is available where ever you have Internet access and a standards compliant browser.

    The EyeOS is a system that simulates a virtual desktop, you can write and edit texts, make apointments with its calendar, use a calculator, even listen songs, etc. like you do with your computer but in the web. Your files are save encrypted in a free server.

    It's really amazing, so if you wanna test it visit: eyeOS.info

    Best regards,


  4. The GMail user interface has been updated to include the ability to select multiple messages and perform actions on them.

     

    In plain-speak: you can select all messages and mark them read or apply a label of choice, all in one stroke. Hard to believe that this functionality wasn't already embedded in, isn't it?

     

    Also included for the neat freaks amongst us - the ability to empty the Trash / Spam folders in one click. Well, it's two actually - you need to go the folder in question (Trash or Spam) and then click the DELETE ALL link. That pops up a confirmation alert box, to which you give your assent for the evil messages to be obliterated.

     

    A short tutorial is available here

     

    Hi, the ability to select multiple messages and perform actions on them is included some time ago, since i use gmail -more than 6 months- i use it every time, and the ability to empty the trash / spam folders in one click is included recently i think about two weeks ago.

     

    Best regards,


  5. Iv'e done some searching and found this default_timezone_set() function for PHP but it doesn't tell me how to find what I should give as the paramater for my particular timezone (I'm in Sydney so GMT+10, EST, I think).
    Anyone know how to use this function?

    P.S. I use the date() function and just store it as a string in the mysql database.

    Do you mean date_default_timezone_set() function??? well, if it is, you can't use this function with the Asta's server because this function only works with PHP 5+ and as you know the Asta's server works with PHP 4.4.2. Now, the parameter that this function use is a timezone identifier and for your case it is Australia/Sydney, you can find a complete list of timezone identifiers in the appendix H of the php manual.

    Best regards,

  6. For 908% of the work I do, GIMP can do it and sometimes it even does a better job than PS. (Okay, I have to admit, I'm still running on PS7 for Mac...I have no need to upgrade until I switch to Mactel)
    That being said, that 2% is a major amount of my work. That's because I rely on a couple Photoshop Plug-ins to generate textures and there is no other programs for mac that will do the same thing. Also, there is not any programs for Linux either nor equal plug-ins for the GIMP. So I'm locked into using PS until my needs are met by another application. Considering PS now is only $150 for upgrades and the plug ins were $50....I'd need a new app that is less than that or so riduclusly superior for the added money that i was forced to use it.

    So I'm stuck with PS, but for most every day users, GIMP will do everything they need and more. Plus I've found it to be pretty stable on the Mac. Sure it crashes, but no more or less than PS in my experience.

    Hi, i agree with you, the GIMP is a great software and i use it too, but because i'm not a graphic designer i think that i dont use it 100% and i wish that someday i will. Now, thanks to bnbrown that share PhotoFiltre i think that this software is perfect for my requirements because it offers a lot of tools to the non graphic designers like me and its really very easy to use, but again, i wish that someday i could use THE GIMP at its 100%.

    Best regards,

  7. Thanks for the share, i just install it and test it, and I think that there exists a lot of tools like this one, but in my opinion this cool software is very simple, come with all the basic tools founded in every graphic design software -and expensive- and the difference is that it is very easy to use even for the people who are not designers like me. :unsure:

    Best regards,

  8. Hi, this little code is perfect for adding short instructions on a submit button, simply add your text to the mouseover event of the button, for example:<input type="submit" value="Click here" onmouseover="this.value='== Just click once! =='" onmouseout="this.value='Click here!'">regards,


  9. OK, I have no problem with French nor with spanish, so I can look at your site.I like to overall look and feel. I would just suggest a small change in the introduction first lines.
    Instead of :

    I would rather say "j'aimerais ici partager avec vous".
    The sentence is shorter, more precise, and has more impact.
    As a matter of fact, "Sur ce site internet" is useless, the guy knows that he is on an Internet site. And "I would like to share with you" will have more impact than "I am trying to share" (with whom ?)
    I would also move the "http://www.powerwebtools.biz/; to the bottom of the page, in order to leave fullly operationnal the impact of the very nice logo at the upper left corner.

    By the way, the purpose of this website should be better explained in an introductory sentance on in a "who are we ?" tab somewhere.

    Just a single thing I thing is not correct :
    "ActionnĂŠ par Gustavo Cruz O."
    What do you mean by "actionnĂŠ" ? Only veryo old robots were actionned by somebody, I guess you wanted to express something else. Tell me the english words you wanted to express in your last line, i will tell you the french for these.
    Regards
    Yordan

    Thanks Yordan for your feedback, about your first suggestion i just change the sentence and my client agree with this change and also i delete the powerwebtools. About the purpose of the website my client dont finish yet that text.

    Now, with the "actionnĂŠ" term i only want to express that i'm the author of the website, this term appears because i use the google translator and simply cut & paste the translation. :unsure:

    Best regards,

  10. Hi, here's a trick that will redirect a browser when JavaScript is turned off. Why not redirect the ones that have JavaScript? It's because less than 10% of browsers have JavaScript turned off; therefore, is better to redirect less than 10% of visitors than over 90%.

    Simply paste this code into the HEAD section of your HTML document.

    <script type="text/javascript"><!--/* Created by: Will Bontrager :: http://http://www.willmaster.com/index.php */<noscript><meta http-equiv="refresh" content="0; URL=http://http://ww1.yourdoman.com/;
    Best regards,

  11. Can't understand anything from the site, so I'll just stick to the layout. IMO, if you're going to use this to get more business, then you better make it more business-like or more professional. This layout would be ok for a personal webpage or a blog, but if you're going to attract customers, I would say you should improve the layout a bit.
    Also, the thumbnails of the photos in one of the links are of all different sizes and improperly arranged. Try maintaining a uniform spacing between all the pics by padding and spacing them properly (in a table of course).



    Hi, first of all thanks for your feedback, well, i know that the main limitation of this site is that it is a biligual french/spanish site so i know that a lot of people can't understand the text content, but what can i do, the last decision is made by the client and he dont want an english version.

    Now, about the layout itself, i give 5 differents layouts to choose to my client, and he is very satisfied with this layout, but i agree with you, and will find a way to improve it a bit.

    Now, i'm just checking the thumbnails issue that you mention and i must make a new layout for all the photos, maybe by using a slideshow template or alike. (The thumbnails issue is solved by applying a uniform spacing 28/07/2006)

    Thanks for your feedback,

  12. Hi, i'm developing a web application which obviously requires a log in/log out script that i just implementing but i dont know why the log out script dont work fine.The problem is related with the server variable $_SERVER['PHP_AUTH_USER'] which remains set even when in the log out script i unset it with the unset() function.Does someone knows how can i reset or clear the server variable $_SERVER['PHP_AUTH_USER']???Best regards,


  13. Hi, please review this new bilingual (french/spanish) site that i make for a new client, all comments are welcome so please check it out and let me know what do you think about it.

    Site address: Inti Voyages
    Theme: Tourism, Travel.
    Active: NO, hosted at the best free host, Xisto.

    Best regards,

    PS: I know that the main limitation of this site is that it is a biligual french/spanish site and because of this a lot of people can't understand the text content, but what can i do, the last decision is made by the client and he dont want an english version, so please take i mind this.


  14. Yeah, that's definitely true. I would only recommend templates if for some reason you're in a hurry to get a site up and need a design right now, then, okay, go ahead and use a template. And perhaps think about changing the template later. The best way is to create your own template. First of all you learn something, so you won't always be dependent on other people's work and limited to their style. Secondly, your website will be more unique and noticeable in the web world. People don't want to see a million of the same websites--the design factor is somehow stripped and gone.

     

    I do things from scratch in Notepad. Part of the reason might be that I can't afford something like Dreamweaver, and after using it a couple of times at school, I did notice it created excess code. (Although the person who introduced me to using it said otherwise...but bah, he was just lying). Of course there are some things (such as positioning) that I wish I had a program to help me out on, but besides that, it's fine. Also, I think for the most part Dreamweaver implements tables, which makes it hard to make standards compliant HTML.

     

    And for the recommending to beginners part, well, I partially agree. It kind of depends on the beginner's purpose. If all they expect to do is set up one website and not really get into designing websites, then it's fine to use a template. If they actually want to get into creating more websites, then they ought to learn everything from scratch.

     

    Correct, as i said in a previous reply, i think that is absolutely necessary to learn HTML not only for those who get into designing websites.

     

    About Dreamweaver, one thing that i dont like of it is the excessive code it create, for example, sometime i develop a simple page with a few lines of code and the size of this was 1Kb, then i did the same page in Dreamweaver and my file size increments to 3Kb :unsure: but by the other side, one thing i like of it is the great functionality that offers to work with dynamic sites, specially when you work with Databases.

     

    Best regards,


  15. Hi, this nice script highlight text inputs fields in your forms, so it will help your visitors to see where they are. Follow this steps to install it:

    Paste this code into the CSS section of your HTML document

    fieldset {  width: 350px;}.textInput,textarea {  width: 200px;  font-family: arial;  background-color: #FFFFFF;  border: 1px solid #000;}.inputHighlighted {  width: 200px;  background-color: #FFCE31;  color: #000;  border: 1px solid #000;}

    Paste this code into an external JavaScript file named: highlight-active-input.js.js

    /* Created by: Alf Magne Kalleland :: http://www.dhtmlgoodies.com/ (C) http://www.dhtmlgoodies.com/, November 2005 */var currentlyActiveInputRef = false;var currentlyActiveInputClassName = false;function highlightActiveInput() {  if(currentlyActiveInputRef) {	currentlyActiveInputRef.className = currentlyActiveInputClassName;  }  currentlyActiveInputClassName = this.className;  this.className = 'inputHighlighted';  currentlyActiveInputRef = this;}function blurActiveInput() {  this.className = currentlyActiveInputClassName;}function initInputHighlightScript() {  var tags = ['INPUT','TEXTAREA'];  for(tagCounter=0;tagCounter<tags.length;tagCounter++){	var inputs = document.getElementsByTagName(tags[tagCounter]);	for(var no=0;no<inputs.length;no++){	  if(inputs[no].className && inputs[no].className=='doNotHighlightThisInput')continue;	  if(inputs[no].tagName.toLowerCase()=='textarea' || (inputs[no].tagName.toLowerCase()=='input' && inputs[no].type.toLowerCase()=='text')){		inputs[no].onfocus = highlightActiveInput;		inputs[no].onblur = blurActiveInput;	  }	}  }}

    Paste this code into the HEAD section of your HTML document

    <script type="text/javascript" src="highlight-active-input.js.js"></script>

    Paste this code into the BODY section of your HTML document

    <form method="post" action="#"><fieldset><legend>Highlight active input</legend><table>  <tr>	<td><label for="name">Name:</label></td>	<td><input class="textInput" type="text" name="name" id="name"></td>  </tr>  <tr>	<td><label for="email">E-mail:</label></td>	<td><input class="textInput" type="text" name="email" id="email"></td>  </tr>  <tr>	<td><label for="comment">Comments:</label></td>	<td><textarea id="comment" name="comment" rows="3"></textarea></td>  </tr>  <tr>	<td colspan="2">	  <input type="submit" onclick="return false" value="Submit">	</td>  </tr></table></fieldset></form>

    Paste this code at the bottom of your HTML document

    <script type="text/javascript"><!--  initInputHighlightScript();//--></script>

    Best regards,

  16. Hi, this cool script created by: Manzi Olivier (http://www.imanzi.com/) verifies in real time that a input string is numeric, otherwise it deletes the non-numeric character. To configure it follow this steps:

    Paste this code into an external JavaScript file named: validNum.js

    // calculate the ASCII code of the given characterfunction CalcKeyCode(aChar) {  var character = aChar.substring(0,1);  var code = aChar.charCodeAt(0);  return code;}function checkNumber(val) {  var strPass = val.value;  var strLength = strPass.length;  var lchar = val.value.charAt((strLength) - 1);  var cCode = CalcKeyCode(lchar);  /* Check if the keyed in character is a number	 do you want alphabetic UPPERCASE only ?	 or lower case only just check their respective	 codes and replace the 48 and 57 */  if (cCode < 48 || cCode > 57 ) {	var myNumber = val.value.substring(0, (strLength) - 1);	val.value = myNumber;  }  return false;}

    Paste this code into the HEAD section of your HTML document. You may need to change the path of the file.

    <script type="text/javascript" src="validNum.js"></script>

    Paste this code into the BODY section of your HTML document

    <form name="myForm" method="post" action="#">  Enter an integer here: <input name="txtNumber" type="text"	id="txtNumber" onKeyUp="java script:checkNumber(myForm.txtNumber);"></form>

    Of course, you need to add a submit or a button field and code its respective onclick or onsubmit event to really perform the submission of the data entered, but that is very easy to do, no?.

     

    Best regards,


  17. There are different database backends supported by PHP. However, most of us probably use MySQL and the books on PHP mostly use MySQL as the backend database.

     

    These are the currently supported database format:

     

    1. dBase

    2. FrontBase (functional since DB 1.7.0)

    3. InterBase (functional since DB 1.7.0)

    4. Informix

    5. Mini SQL (functional since DB 1.7.0)6. Microsoft SQL Server (NOT for Sybase. Compile PHP --with-mssql)

    6. MySQL (for MySQL <= 4.0)

    7. MySQL (for MySQL >= 4.1) (requires PHP 5) (since DB 1.6.3)

    8.Oracle 7/8/9

    9. ODBC (Open Database Connectivity)

    10. PostgreSQL

    11. SQLite

    12. Sybase

     

    Source: PHP.net- DSN

     

    Now anyone, using database format other than MySQL, may like to share his experience with us.

     

    Regards,

    Sid

     

    Hi, since i work with PHP i use MySql as my database backend and always with good results, basically because it is the most supported database in the web hosting environment.

     

    But i'm a curious person, and because of this i made some tests with others databases like access, dbase and ms sql server, basically to evaluate its performance and to know how much difficult is to use with PHP, and as a result of this, i wanna say that MySql is the better choice to work with PHP.

     

    BTW, i use phpMyAdmin as my primary tool to administer MySql's databases.

     

    Best regards,


  18. i just coded a calculator for forex that calculates pivot, support and resistance points for currencies, but it calculates it and gives results with this format : xx.xxxxxxxxxxx, i need to get results to the nearest xx.xxxx so i don't need these 11 digits, just need it to give the nearest 4 digits, what should i add to my code?

     

    Hi, for this you can use the round or the number_format functions. The round function will round your number to a specific precision and return a float value, instead, the number_format function returns a string value with a defined format, in this format you define the number of decimals, a string for the decimal point separator and a string for the thousands separator to use with.

     

    So, the following are equivalents:

    <?php$number=12.34567890123;echo "Original Number=$number<br />round function=".round($number,4) . "<br />number_format function=" . number_format($number,4);
    Best regards,

  19. For the new version of my website I'm trying to make a very simple newssytem based on php.
    Each newsitem will get it's own html page, something like this:

    <html><head><title>Welkom</title><link rel="stylesheet" type="text/css" href="../style.css" /></head><body><p>HERE COMES THE TXT</p> </body></html>

    All other data will be stored in a file called news.inc

    <?php$news = array();$news[] = '110706_jovolka.html';$news[] = '110706_lorum.html';$news[] = '090706_welkom.html';$title = array();$title[] = 'Over JoVolKa';$title[] = 'Lorum Ipsum';$title[] = 'Welkom';$date = array();$date[] = '11/07/06';$date[] = '11/07/06';$date[] = '09/07/06';?>

    And the main news page is something like this:
    <html><head><title>JoVolKa Unofficial News</head><link rel="stylesheet" type="text/css" href="../style.css" /></head><body><?phpinclude ("news.inc");$iVariabele = 0;foreach( $news as $id => $file ){  if ($iVariabele < 8)		{ 			 echo '<div class="title"><table width="100%"><tr class="title"><td class="title">';			 echo $title[$id];			 echo '</td><td class="date">';			 echo $date[$id];			 echo '</td></tr></table></div><div class="news">';			 include ("$news[$id]");			 echo '</div>';	 			 $iVariabele++;		 }}?>   </body></html>
    .
    .
    .
    then it in fact only does the include thing.

    Who can help me ???
    Hi there, your problem is caused by the title tag in your main news page, simply replace with </title> your close tag.
    <html><head><title>JoVolKa Unofficial News</title><link rel="stylesheet" type="text/css" href="../style.css" /></head><body>...

    Best regards,
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.