TavoxPeru
-
Content Count
865 -
Joined
-
Last visited
Posts posted by TavoxPeru
-
-
Sorry docduke but i'm not the one who supplied that link, the correct user who did it was ardent11.TavoxPeru supplied a link to gimpshop. Following that link got me to a page that says in part: Buy this domain / Interested in this domainname? Contact ...
I'm guessing that "Gimpshop" died since that was posted a little over a month ago.
I too have used gimp, but found it difficult. It appears that graphic artists use a mouse in a way that is intuitive to them, but confusing to me...
Best regards,
-
I remember that some time ago i check that website and found some good tutorials, it's a shame but right now it doesn't work because the domain name expired last july and the owner doesn't renew it yet.For a simple introduction and tutorial check out zitag.comThey do have tutorials on all aspects of web development.
Best regards,
-
For me your problem is related with the margins and/or paddings of your divs, try to reset every one to zero and then start adding them as needed.
To reset them simply add this to your css rules, for example for the body:body { background-color: #316b16; font: normal 12px arial; margin:0; padding:0;}
Best regards,
-
I agree with jovita, The Gimp is your best choice, now, there are some others programs if you don't need all the advanced features of this program.If you can get over with the initial confusion gimp will turn out to be a good choice. Its user interface is not the most intuitive one.
The best is to get an introduction from a gimp user; if not from one of those training videos.
Best regards,
-
That is a common mistake we made -including myself- when we start using DOM, to retrieve the values from your input boxes you must use the getAttribute method, so replace your code with this:Iam using ajax and iam getting the hang of it.
var farm = document.getElementById('farm').value;var lumbermill = document.getElementById('lumbermill').value;var ironmine = document.getElementById('ironmine').value;var stonemine = document.getElementById('stonemine').value;var monument = document.getElementById('monument').value; var queryString = "?farm=" + farm + "&lumbermill=" + lumbermill + "&ironmine=" + ironmine + "&stonemine=" + stonemine + "&monument=" + monument;
These don't seem to work, they stop my script from working. Is there anyway i can get the values from the input boxes having these ids without hitting submit?
I've seen it done on other sitesvar farm = document.getElementById('farm').getAttribute("value");var lumbermill = document.getElementById('lumbermill').getAttribute("value");var ironmine = document.getElementById('ironmine').getAttribute("value");var stonemine = document.getElementById('stonemine').getAttribute("value");var monument = document.getElementById('monument').getAttribute("value");var queryString = "?farm=" + farm + "&lumbermill=" + lumbermill + "&ironmine=" + ironmine + "&stonemine=" + stonemine + "&monument=" + monument;// alert("queryString = " + queryString);
I suppose that after declaring the queryString variable you are calling the ajax request right???
Best regards,
-
The following are some simple tips you can follow to add more visibility and boost your trafic and SE rankings to your site:
Make sure that your site is complete and with unique and rich content, after that submit it to Google, Yahoo, MSN and ASK.com. Additionaly consider to submit it to high PR web and open directories, and to some social bookmarking site like del.icio.us.Create two sitemaps for your site, one in HTML format to show to your visitors and another one to submit to Google, Yahoo, MSN and ASK.com prefered in XML format or in sitemap format.Avoid duplicate content and don't create multiple pages, sub-domains, domains or sites with different domain names but the same content.Make your TITLE (60-80 characters) and ALT tags descriptive, simple and keyword rich. Your Meta tag description should be 160-180 characters, and your Keywords meta tag must be 15-20 words maximum, also make sure that they are relevant and contained in your content.Optimize pages with Headings (H1, H2, H3..) containing your primary keywords, use text instead of images in your content, links and important subjects. Optimize your link text and make sure it is descriptive and keyword rich, when possible try to make it match the header text on the linked page. Also never use hidden text and links.Validate your CSS and HTML and check for errors and broken links.Make sure you use SEO friendly URLs if your site contains dynamic pages because spiders have difficulty indexing dynamic pages.Use a Robots.txt file to manage and control search engine spiders that index your site. You can allow and disallow spiders and choose directories you want to be crawled and indexed.Avoid links to bad sites like phishing, hacker, crack, gambling, porn or scam sites and don't attempt to join in link schemes, excessive reciprocal or exchanging links. Do not buy or sell links. All of these will greatly affect your rankings.Best regards, -
Ok vujsa, next time this issue happens i will do it.I didn't realize that the problem was so big. Nor did I realize that it had been going on so long. I tried to search for a member's posts the other day when I noticed it. I sent an email to OpaQue as soon as I noticed and he resolved the problem in about 2 hours.
Be sure to PM an Admin if this happens again.
Thanks,
vujsa
Best regards,
-
I just try the View New Posts and the My Last 10 posts options to verify if these problems are fixed and right now both of them are working fine.
Best regards,
-
I recently found a Javascript library called JavaScript VectorGraphics that may be can help you. This library provides graphics capabilities for JavaScript which you can use to draw circles, ellipses, lines, triangles, rectangles, etc. dynamically into a webpage. Usage of this Javascript library should be easy even if you don't have JavaScript experience.
This library is available for download here and you can view a nice animation example here.
Best regards, -
While searching my pc for some code that i need i found this two php functions that you can use, the first one for generating your activation code and the second for validate email addresses.
generatePassword(): With this function you can set the length and strength of the generated password.
<?phpfunction generatePassword($length=9, $strength=0) { $vowels = 'aeuy'; $consonants = 'bdghjmnpqrstvz'; if ($strength & 1) { $consonants .= 'BDGHJLMNPQRSTVWXZ'; } if ($strength & 2) { $vowels .= "AEUY"; } if ($strength & 4) { $consonants .= '23456789'; } if ($strength & 8) { $consonants .= '@#$%'; } $password = ''; $alt = time() % 2; for ($i = 0; $i < $length; $i++) { if ($alt == 1) { $password .= $consonants[(rand() % strlen($consonants))]; $alt = 0; } else { $password .= $vowels[(rand() % strlen($vowels))]; $alt = 1; } } return $password;}?>
isValidEmail(): Simple case-insensitive regular expression for email validation that returns TRUE if valid and FALSE if not.<?phpfunction isValidEmail($email){ return eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$", $email);}?>
Best regards, -
Well, only to say that after following the suggestions given by levimage the result is that ccleaner fix some other problems i have but don't fix this issue.
Some other strange thing is that if i use View->Personalize this folder option with any folder it works fine.
Best regards,
-
Yeap, the problem is back and the only way is by using the My Assistant option as i said before in Post 3.
I just discover that the My last 10 posts option located under the My Assistant does not work too.
Best regards,
-
I'm not sure about this but i guess that if those programas supports that functionality, Yes you can be able to save your files as VRML directly from them. Do you use 3ds max or director??? if yes, i suggest to check the export capabilities and save as option of each software.
What is Maya????
The VRML scenes can be added to your PHP pages in the same way you include Html or Javascript code, for example you can do the following:
<?php/*php codephp codephp code*/?><html><head><script type="text/javascript">function vrmlScene() {vrml= open("", "displayWindow","width=500,height=400,status=yes,toolbar=yes,menubar=yes");// open document for further outputvrml.document.open("x-world/x-vrml");vr= vrml.document;// create VRML-scenevr.writeln("#VRML V1.0 ascii");// start vrml code /*vrml code vrml code vrml code */// end vrml code // close the document - (not the window!)vrml.document.close();}</script></head><body><h1>VRML on the fly Example</h1><form><input type="button" value="VRML on-the-fly" onclick="vrmlScene()"></form></body></html>
Also, instead of create the scene on the fly like in the example above, you can be able to open any VRML file directly as you open any other kind of file, but, as i said in my previous post, to be viewable this content in your browser you will need a plug-in.Visit the VRML Plugin and Browser Detector to verify if your browser has installed a VRML plug-in, if you don't have any VRML plug-in installed this page contains some links from where you can download it.
Feelay, as you i'm also a newbie in this area.
I just create a VRML Examples page, especially check the last option.
Best regards,
-
You are welcome Feelay, thanks.Now, one thing i forgot to mention in my previous post is that the only way a browser can be able to show your 3D content is by using a plug-in, which will handle that function. This happens with both, VRML and 3DMLW.BTW, glad to hear that i'm helpful.Best regards,
-
My Results:Your Service provider : Telefonica del PeruLocation : Lima, PeruPlan Details : Not remember right nowUp speed : 192.52 kbpsDown speed :851. kbpsPromised : 1MbReceived :851. kbpsSatisfied : Not at all, it would be fastBest regards,
-
As far as i know my answer is yes, you can mix 3D and PHP.Hey!
I wanted to know if I could mix 3D and PHP.
Because I want to do the following thing:
I want to make a text based game. Butthis time, I wanted to do it special.
I was wondering if there is a way to make a 3D scene execute when I press a form button?
and if yes, is it possible to do it, without updating the whole page?
example:
I press the fight button. Then a scene, with two characters appear, in 3D. then, outside of that window, there is a html coded attack form button. I press that button, and then the PHP script make another scene appear, without updating the page, where my character attack the other character, and then again it return to the first scene. I am not sure if this can be done in PHP. but I think it is possible. If not, can anyone please tell me what language I need to use?
And OFC can anyone please tell me how to do it (A)
So, i think that for your mix you can use a combination of PHP, HTML, Javascript and for your 3D scenes you can use a language called VRML (Vitual Reality Modelling Language) or 3DMLW (3D Markup Language for Web).
VRML is a language that you can use for creating 3D scenes. In this scenes or worlds you can define shapes like spheres or polygons with colors for it's surface, apply some transparency, etc. This worlds are able to interact with the user or may response to events, also, you can add Java or Javascript code with the use of a special script node that VRML files have.
VRML files are standard text files that are saved with the .wrl or .vrml extensions and as .wrz files when you compress it with gzip.
3DMLW is another language for creating 3D or 2D interactive content, it is similar to XHTML, supports style sheets and as VRML has scripting capabilities.
3DMLW files are also standard text files that are saved with .3dmlw extension, and one difference with VRML is that is based on the XML standard 1.0.
More information:
VRML (Vitual Reality Modelling Language) Website VRML - Wikipedia 3DMLW (3D Markup Language for Web) Website 3DMLW - Wikipedia Best regards, -
You have a lot of choices for the first one, the following code is a very simple function that i use:Whats the php function that generates a random activation code then sends it to the email the user used to sign up. Also how do you check if the inputed email has corrected format? meaning its xxx@something.com
<?php /*** Generate an activation code* @param int $length is the length of the activation code to generate* @return string*/function generateCode($length = 10){ $password=""; $chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"; srand((double)microtime()*1000000); for ($i=0; $i<$length; $i++) { $password .= substr ($chars, rand() % strlen($chars), 1); } return $password; } ?>
For the second one, you can use the is_valid_email() function to verify the format of any email, also, i strongly recommend you to review the following topic Preventing Spam When Using Php's Mail Function because there you can find a complete review of this and the original article where i got the code.<?php function is_valid_email($email) { return preg_match('#^[a-z0-9.!\#$%&\'*+-/=?^_`{|}~]+@([0-9.]+|([^\s]+\.+[a-z]{2,6}))$#si', $email);}?>
Other topics that i think can be helpul: Safety Need Help With A PHP - MySQL Registration Script PHP Tutorial: Form Verification And Simple ValidationBest regards, -
Of them i think that the second one is the best choice and may be in a near future i will register to its free hosting plan, but comparing them with Xisto i still consider that Xisto is the best choice ever.
Best regards,
-
Thanks Darasen for the links, there are very useful, the first one is a must because it covers all the fundamental database theory in a very simple way that everybody would undestand and follow, also, this site under it's sql links section contains a lot of other useful links.
Another good one is The Library of Free Data Models, it helps me some time ago to develop a database for one of my clients.
sparkx at the MySql.com website you can find all information needed to correctly install it, but honestly, if you will install it on a windows machine you even don't need to visit the site, because the installation procedure of it is extremely easy.
Best regards,
-
Two good hosts i know are:
- db4free project: This host offers MySql 5.1 and MySql 6.0 databases, all users are allowed to create only two databases per email address.
- FreeSQL.org: This host offers MySql and PostgreSql databases, users are allowed to create one database only.
For more information related please check this topic Free Mysql Server Sites, Give me some links but take in consideration that both of them are recommended for development purposes not for production.
Finally, I agree with yordan and sincerely i recommend you to try Xisto, it rocks.
EDIT: Search for free database hosting on Google if you need more features.
- db4free project: This host offers MySql 5.1 and MySql 6.0 databases, all users are allowed to create only two databases per email address.
-
WeaponX: Please forgive me, I absolutely forgot your reply i will try it later.
magiccode9: I try the Office 2003 auto repair feature and also the repair option from the help menu of all office's applications and in all cases them don't work.
Best regards,
-
You can do that with a crontab job, view the following topics for some information: Want To Update Every Hour How To Use Cron Jobs To Save Two Images?2-I want a script to run every X minutes, how do i do that?
Yes, you can.3-In a script, i call some data from the database having a same trait and put them in a table through a while loop. Now after the loop ends i want to use them again, can i put them in an aray or somethign while in the loop?
You can do that with PHP and plain Javascript, aditionally you can also use Ajax. View the following topic How To Create An Online Timed Test With PHP? for some ideas about it, and if you decide to use it please let me know if you want the code.4-I want to make a countdown timer for my entier site, meaning it has to be in the database or something, also when it is viewed i want it to keep counting down , meaning the viewer doesn't need to refresh the page to see how much time is left. Also when the time hits 0 i want it to reset back to a value i set and i want a php script to be automatically run.
Best regards,
-
The CSS filters (CSS hacks) is a page where you can find a lot of useful information in case you need to verify if a browser will apply some CSS rule(s) or hacks.
In the CSS filters (CSS hacks) page you can find individual test pages for the following OS and browsers:
Windows (IE, Mz, Op, NS).Mac OS X (iC IE Mz Ns Om Op Sf).Macintosh (IE Mz Ns Op)Other (Ko).Best regards, -
I completely agree with mastercomputers and what he said is correct, that is what happens when you view the source code of the page.
If you use Firefox you can view all the source code including the loaded code with Ajax if you use Firebug for example.
Best regards,
Getting Value Without Submiting
in Programming
Posted · Report reply
khalilov no problem, you are welcome.
Now, i just upload a simple page to test how this work and i can say that the getAttribute() has some issues. The getAttribute("value") and .value Test Page includes a simple form with two text boxes and a submit button, also i set up a default value for the first input box while the second input box is empty.
Here are the results:
Firefox 3
both empty
first input box value using getAttribute = value
first input box value using value =
second input box value using getAttribute =
second input box value using value =
First with value Second empty
first input box value using getAttribute = value
first input box value using value = value
second input box value using getAttribute =
second input box value using value =
First empty Second with value
first input box value using getAttribute = value
first input box value using value =
second input box value using getAttribute =
second input box value using value = value
First with default value Second with value
first input box value using getAttribute = value
first input box value using value = value
second input box value using getAttribute =
second input box value using value = value
First with other value Second with value
first input box value using getAttribute = value
first input box value using value = value1
second input box value using getAttribute =
second input box value using value = value
both empty
first input box value using getAttribute =
first input box value using value =
second input box value using getAttribute =
second input box value using value =
First with value Second empty
first input box value using getAttribute = value
first input box value using value = value
second input box value using getAttribute =
second input box value using value =
First empty Second with value
first input box value using getAttribute =
first input box value using value =
second input box value using getAttribute = value
second input box value using value = value
First with default value Second with value
first input box value using getAttribute = value
first input box value using value = value
second input box value using getAttribute = value
second input box value using value = value
First with other value Second with value
first input box value using getAttribute = value1
first input box value using value = value1
second input box value using getAttribute = value
second input box value using value = value
BTW, I hope that someone can post the results of this test using another browsers like Internet Explorer 7, Safari or Opera, because i don't use any of them.
Best regards,