User
Pass
2FA
 
 

Script

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> Trash -> Programming / Scripting / Database
Author Message1170
Geov

[Creep]



Status: Offline
(since 01-01-2018 17:11)
Joined: 23 Dec 2014
Posts: 726, Topics: 81
Location: Romania

Reputation: 41.9
Votes: 34

Post Posted: 09-04-2016, 19:04:40 | Translate post to: ... (Click for more languages)

Salut am si eu o intrebare in legatura cu un javascript pentru HTML.
Scriptul arata asa:
<script>
function openSearchbutt() {
var list = document.getElementById("searchzone");

if (list.style.display == "none"){
list.style.display = "block";}
else{
list.style.display = "none";
}
}
</script>

<img id="searchbutt" src="img/searchbutt8.jpg" alt="kek" width="40" height="40" onclick = "openSearchbutt()" />
Dupa vine <div id="searchzone" > si etc etc
Problema e urmatoarea:

Eu cum deschid siteul meu imi arata direct asa:
Spoiler:


Ideea e ca eu nu vreau sa imi arate asa ci asa:
Spoiler:

Eu cand apas pe acel search mi se deschide Searchurile, dupa mi se inchid etc.Problema mea e ca vreau sa mi se deschida pag fara Search si Search on Google..Is incepator atat in HTML cat si JS.

0 0
  
Back to top
View user's profile Send private message
shaggy

[Am si eu rank!]



Status: Offline
(since 18-11-2020 18:36)
Joined: 27 Mar 2007
Posts: 1180, Topics: 48
Location: N-ai tu treaba!

Reputation: 1012.9
Votes: 22

 
Post Posted: 10-04-2016, 00:43:08 | Translate post to: ... (Click for more languages)

Pune display none din css pe elementele de search
1 0
  
Back to top
View user's profile Send private message
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> Trash -> Programming / Scripting / Database  


The time now is 29-03-2024, 17:23:28
Copyright info

Based on phpBB ro/com
B

 
 
 







I forgot my password


This message appears only once, so
like us now until it's too late ! :D
x