Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by MadPotato

  1. you're using absolute positoin in each 'layer'...thats why you cant center itprobably it's a temporary solution, i guess...try to use relative values, and put all in a 'root' div, then center only this mother divhope i helped ^^by the way, nice design, congratulations
  2. welcome dude...i started to learn HTML in 13 too, and now i'm 19, working as a professional web developer, so i wish you the best luck, and offer any help you could useplus, you remembered my first page ever! last updates in 2001! haha, heres the link: www.geocities.com/batatabonzao/spell.html lol...a long long long time ago ^^ps.: it's all in portuguese ^^
  3. 1) to handle databases, you'll need some server-side code, like ASP or PHP2) with the server-side, you can handle the login too, try something like save each login/password (if found in your database) in a 'SESSION' of 'COOKIE' variable, and verify in each page if it has any content, if not, use something like PHP's 'exit()' functionps.: if you didn't understood anything of what i said in item 2, try learning some server-side scripting at www.w3schools.com ^^ good luck
  4. dont your forgot the <input type="submit"> ?
  5. well...i was about to post a design of mine, but i just realized my host deleted it cuz i didn't paid my bills! asHUhuashuASHUhuaswell, first, i could not see your page, just a lot of red 'X's.beware, geocities use somekind of unix system, wich is case-sensitive (that means that if your code is trying to show image.GIF, and the file in the folder is image.gif, it will not work)plus, try to learn some HTML at www.w3schools.com, dont be a WYSIWYG slave! lolbelive-me, when you first meet HTML, it'll like addict you
  6. sorry Rev...but i dont think that there's a program like that...it's somekind too 'complex' and 'specific' to call the atention of the developers, and a good online game, with good dinamic, like what you should be thinking of, would require flash...what is a...Blergh!
  7. MadPotato


    when i try the script in w3schools.com example, in Mozilla Firefox the browser load the data, but keeps showing the 'loading' icon, and the cursor with that sand clock...does the browser dont have good support for E4X ???thx 4 the atention
  8. try a function like this: function makeItGlow(obj) { obj.src="glow.gif"} and in the mouseover, call the function in this way: makeItGlow(this)you'll pass as an attribute the object itself, so the function can handle it directly
  9. ...or you can learn some Ajax, aka XMLHttpRequest...you can find how to do it right here in www.w3schools.com, in the XML section
  10. MadPotato

    Formato de data

    ola manzolibom, quanto à sua duvida, eu não estou apto a responder...eu mesmo sempre uso campos string pra armazenar datas por diversos motivos, então não posso te ajudarmas posso te dar uma dica...tente fazer sua pergunta em inglês, os membros desse fórum são de todas as partes do mundo mas quase nenhum fala pt, entao suas chances de conseguir uma resposta são muito menores assim...desculpe por nao poder te ajudar, e boa sorte!
  11. MadPotato

    Send Message by Ip

    search google for "PHP Sockets"javascript/vbscript can't do it, cuz it could be a security problemPS.: plz, try to post your msgs in the correct section of the forum...this is the SQL forum!
  12. MadPotato

    html games

    or use Blender3d (click), that have a native game engine, which is integrated with Python to make advanced scripts (but it's not needed, just a 'bonus')
  13. none of the proggies up there aew WYSIWYG, they're only text editors with syntax highlight
  14. MadPotato

    html games

    lol...thats WAY far from "simple"
  15. http://hapedit.free.fr/ (windows)open multi files...highlights: PHP, ASP, JS, HTML, CSS, SQLhttp://www.flos-freeware.ch/notepad2.html (windows)do not open multi files...highlights: HTML, XML, CSS, JavaScript, VBScript, ASP, PHP, CSS, Perl/CGI, C/C++, C#, Java, VB, Pascal, Assembler, SQL, Python, NSIS, INI, REG, INF, BAT, DIFFplus it hightlights multi lang internet files, like php-html-javascript...even Dreamweaver cant hightlight what is inside <script></script>, but np2 does!notepad2 uses the Scintilla engine, thats why it has all that power...
  16. oh, now i got it, you want the entire page to change...you cant change 3 frames href with 1 link, so do a simple code, something like<a href="#" onclick="changeLang("English")"> english </a>and <script type="text/javascript">function changelang(lang) { if (lang == "English") { document.getElementById("topFrame").href="engTop.html"; document.getElementById("mainFrame").href="engMain.html"; document.getElementById("leftFrame").href="engLeft.html"; } else if (lang == "French") { document.getElementById("topFrame").href="frTop.html"; document.getElementById("mainFrame").href="frMain.html"; document.getElementById("leftFrame").href="frLeft.html"; }}</script> hope i helped...and calm down dude, you're stressed try a little less coffee
  17. as you noticed, theres a link to the script in the coments of the second code i posted...i didn't entered it, and also i didn't tested the script, just separated it from the rest of the code there, so good luck
  18. first, they use a small code to verify if the DOM (see w3schools.com to learn about it) of the browser can handle Layers, <script type="text/javascript">if (!document.layers)document.write('<div id="divStayTopLeft" style="position:absolute">')</script> then they used the following script to do the magic: <script type="text/javascript"> /* Floating Menu script- Roy Whittle (http://www.javascript-fx.com/) Script featured on/available at http://www.dynamicdrive.com/ This notice must stay intact for use */ //Enter "frombottom" or "fromtop" var verticalpos="frombottom" if (!document.layers) document.write('</div>') function JSFX_FloatTopDiv() { var startX = document.body.clientWidth - 30, startY = 92; var ns = (navigator.appName.indexOf("Netscape") != -1); var d = document; function ml(id) { var el=d.getElementById?d.getElementById(id):d.all?d.all[id]:d.layers[id]; if(d.layers)el.style=el; el.sP=function(x,y){this.style.left=x;this.style.top=y;}; el.x = startX; if (verticalpos=="fromtop") el.y = startY; else{ el.y = ns ? pageYOffset + innerHeight : document.body.scrollTop + document.body.clientHeight; el.y -= startY; } return el; } window.stayTopLeft=function() { if (verticalpos=="fromtop"){ var pY = ns ? pageYOffset : document.body.scrollTop; ftlObj.y += (pY + startY - ftlObj.y)/8; } else{ var pY = ns ? pageYOffset + innerHeight : document.body.scrollTop + document.body.clientHeight; ftlObj.y += (pY - startY - ftlObj.y)/8; } ftlObj.sP(ftlObj.x, ftlObj.y); setTimeout("stayTopLeft()", 10); } ftlObj = ml("divStayTopLeft"); stayTopLeft(); } JSFX_FloatTopDiv(); </script> good luck hope i helped
  19. at least in my browser (IE 6.0) the top frame changed the language correctly...ps.: nice layout, congratulations
  20. if you want to change the selection of a <select>, try something like document.getElementById("yourSelect")["optionIndex"].selected = true do a loop to do it in every indexhope I helped
  21. ...or try something with 'aboslute' position divs, like:css: #yourDiv { position: absolute; visibility: hidden; } then in the onmouseover event of your link or whatever, use something like: document.getElementById("yourDiv").visibility="";document.getElementById("yourDiv").top=event.x;document.getElementById("yourDiv").left=event.y; please note the 'something like' :)hope I helped
  22. you cant do it by server side, you'll need a cliend-side script, sorryif you want the JavaScript code it's something like this: <input type="button" onclick="document.getElementById('YourChkBox').checked = 'checked'">this code check one check box only...if you want i can post how to check/unckech all of 'em
  23. if you post the link it'll help a lot
  24. lol sorry i dont speak arabian :)btw, your hosting service didn't told you your user/pass for your database account?
  • Create New...