Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
opet ja show Login kada kliknem Button ! :P
Author Message
Storm Offline
Novi korisnik
*

Posts: 52
Joined: Jun 2011
Reputation: 1
Post: #1
Question opet ja show Login kada kliknem Button ! :P
Sorry za ime nisam znao kako bi stavio title ...
e sada sta zelim a neznam :)

zelim klickom na tipku prijavi se primjer ! http://ogame.ba/ ! da izbaci Login u malom prozorcicu ... Eto to bi bilo to ... HappyHappyHappy


Hvala unaprjed ! :)
10-07-2011 12:02 PM
Find all posts by this user Quote this message in a reply
danielvast Offline
Forumaš
***

Posts: 432
Joined: Dec 2009
Reputation: 22
Post: #2
RE: opet ja show Login kada kliknem Button ! :P
Pa ovo bi vise bio javascript nego css dakle napravis login formu i sakrijes ju sa display:none; zatim napravis funkciju u javascriptu koja ce ju prikazati:
Code:
<script type="text/javascript">
function toggle (divId) {
  var divStil = document.getElementById(divId).style;
  if(divStil.display == "block") {
    divStil.display = "none";
  }else{
    divStil.display = "block";
  }
}
</script>
Zatim ideHtml:
Code:
<div id="login">.....</div>
<a href="javascript:toggle('login')">Klikni za prikaz</a>
Naravno kao sto sam vec rekao div login moraš sakriti sa display:none; i to je to, bar se nadam nisam stigao testirati ali mislim da je uredu Namigivanje

"When all else fails, read the manual."
(This post was last modified: 10-07-2011 09:54 PM by danielvast.)
10-07-2011 09:53 PM
Find all posts by this user Quote this message in a reply
Storm Offline
Novi korisnik
*

Posts: 52
Joined: Jun 2011
Reputation: 1
Post: #3
RE: opet ja show Login kada kliknem Button ! :P
Hvala , hvala pokusam pa javim ! :) jedini ti i odg na forumu na postove i gogy ... hvaala ! mnogo za 10 si ...
10-07-2011 10:34 PM
Find all posts by this user Quote this message in a reply
danielvast Offline
Forumaš
***

Posts: 432
Joined: Dec 2009
Reputation: 22
Post: #4
RE: opet ja show Login kada kliknem Button ! :P
Nema problema, ma ovdje ti je ekipa super odgovoriti ce uvjek netko Namigivanje

"When all else fails, read the manual."
10-07-2011 11:26 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: