Jump to content

MadPotato

Members
  • Posts

    72
  • Joined

  • Last visited

Posts 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. 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

  5. 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!

  6. 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

  7. 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

  8. 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!

  9. 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! :)

  10. 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...
  11. 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 :)

  12. 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

  13. ...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

  14. 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

×
×
  • Create New...