Forum FAQForum FAQSearchSearch MemberlistMemberlist Forum ignore listForum ignore list RegisterRegister ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in
javascript pitanje

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Client-side
View previous topic :: View next topic  
Author Message
_butch



Joined: 10 Sep 2003
Posts: 870
Location: Maichno, Krlovc

PostPosted: 19.08.2005 22:19    Post subject: javascript pitanje Add user to your forum ignore list Reply with quote

Sorry, al treba mi ovo hitno, pa ako nije prob Smile
Imam 2 funkcije , jedna za "skrivanje", a druga za otkrivanje div-a.
Problem mi je u tome sto meni treba jedna funkcija koja, ako je div vidljiv, stavlja na link funkciju da ga sakrije, a ako nije vidljiv, da ga otkrije.
hlp!

_________________
FRENCH GUARD: No chance, English bed-wetting types.
I burst my pimples at you and call your door-opening request a silly thing, you tiny-brained wipers of other people's bottoms!
Flikrac
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
che.UP
mi3.crew


Joined: 07 Sep 2003
Posts: 2320
Location: zagreb

PostPosted: 19.08.2005 22:49    Post subject: Add user to your forum ignore list Reply with quote

Code:
function show_hide(what) {
     div = document.getElementById(what);
     if (div.style.display == "none"){
          div.style.display = "block";
     } else {
          div.style.display = "none";
     }
}


evo iz glave, koja btw puca... mozda nece radit iz prve al tim putem bi trebao ic :)

_________________
UP | TypeTester | Accommodations App
Meni u Firefox-u ne radi AJAX
Back to top
View user's profile Send private message Visit poster's website
_butch



Joined: 10 Sep 2003
Posts: 870
Location: Maichno, Krlovc

PostPosted: 19.08.2005 23:02    Post subject: Add user to your forum ignore list Reply with quote

Hvala na tome!
Samo ja imam 2 custom fancy funkcije (koriste AJAX - za sudje Smile ), a htio bih to nes iskombinirati da mi se na linku u onclick="" automatski bude suprotna funkcija.. if/else..

_________________
FRENCH GUARD: No chance, English bed-wetting types.
I burst my pimples at you and call your door-opening request a silly thing, you tiny-brained wipers of other people's bottoms!
Flikrac
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
che.UP
mi3.crew


Joined: 07 Sep 2003
Posts: 2320
Location: zagreb

PostPosted: 19.08.2005 23:07    Post subject: Add user to your forum ignore list Reply with quote

pa ovo pozoves sa onclick="show_hide('id_elementa')" i onda se on sam prebacuje...

_________________
UP | TypeTester | Accommodations App
Meni u Firefox-u ne radi AJAX
Back to top
View user's profile Send private message Visit poster's website
_butch



Joined: 10 Sep 2003
Posts: 870
Location: Maichno, Krlovc

PostPosted: 19.08.2005 23:12    Post subject: Add user to your forum ignore list Reply with quote

yeah.. tnx Smile

_________________
FRENCH GUARD: No chance, English bed-wetting types.
I burst my pimples at you and call your door-opening request a silly thing, you tiny-brained wipers of other people's bottoms!
Flikrac
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
maratz
mi3.crew


Joined: 24 Nov 2003
Posts: 1207
Location: ZAG

PostPosted: 19.08.2005 23:34    Post subject: Add user to your forum ignore list Reply with quote

_butch wrote:
yeah.. tnx Smile

yeah.. AJAX Smile

_________________
STOP HITTING YOURSELF! | NETIQUETTE | TYPETESTER | Hypertext rulez™ | CREATIVE NIGHTS | ACCOMMODATIONS
Back to top
View user's profile Send private message Visit poster's website Twitter profile
che.UP
mi3.crew


Joined: 07 Sep 2003
Posts: 2320
Location: zagreb

PostPosted: 19.08.2005 23:37    Post subject: Add user to your forum ignore list Reply with quote

maratz wrote:
_butch wrote:
yeah.. tnx :)

yeah.. AJAX :)


daj pusti dečka :)

_________________
UP | TypeTester | Accommodations App
Meni u Firefox-u ne radi AJAX
Back to top
View user's profile Send private message Visit poster's website
budha



Joined: 02 Mar 2004
Posts: 1377
Location: Osijek

PostPosted: 20.08.2005 13:32    Post subject: Add user to your forum ignore list Reply with quote

maratz wrote:
_butch wrote:
yeah.. tnx Smile

yeah.. AJAX Smile

ovo mi nekak sarkasticno zvuci ^^
moze objasnjenje?

(cist pitam zasto - naletio sam na webove koji govore o ajaxu, al nisam jos stigo malo proucit)

_________________
I hate to advocate drugs, alcohol, violence, or insanity to anyone, but they've always worked for me.
Back to top
View user's profile Send private message Visit poster's website
gog



Joined: 18 Jun 2004
Posts: 679
Location: zagreb

PostPosted: 20.08.2005 14:20    Post subject: Add user to your forum ignore list Reply with quote

http://www.adaptivepath.com/publications/essays/archives/000385.php
Back to top
View user's profile Send private message Visit poster's website
che.UP
mi3.crew


Joined: 07 Sep 2003
Posts: 2320
Location: zagreb

PostPosted: 20.08.2005 21:11    Post subject: Add user to your forum ignore list Reply with quote

budha wrote:
maratz wrote:
yeah.. AJAX :)

ovo mi nekak sarkasticno zvuci ^^
moze objasnjenje?


bum ja, posto je maratz banan na tjedan dana :)
mislim da je to zbog "ja imam 2 custom fancy funkcije (koriste AJAX)", a postavio je pitanje za relativno banalnu stvar :)

_________________
UP | TypeTester | Accommodations App
Meni u Firefox-u ne radi AJAX
Back to top
View user's profile Send private message Visit poster's website
_butch



Joined: 10 Sep 2003
Posts: 870
Location: Maichno, Krlovc

PostPosted: 21.08.2005 12:47    Post subject: Add user to your forum ignore list Reply with quote

http://script.aculo.us

_________________
FRENCH GUARD: No chance, English bed-wetting types.
I burst my pimples at you and call your door-opening request a silly thing, you tiny-brained wipers of other people's bottoms!
Flikrac
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
budha



Joined: 02 Mar 2004
Posts: 1377
Location: Osijek

PostPosted: 22.08.2005 10:43    Post subject: Add user to your forum ignore list Reply with quote

che.UP wrote:
budha wrote:
maratz wrote:
yeah.. AJAX Smile

ovo mi nekak sarkasticno zvuci ^^
moze objasnjenje?


bum ja, posto je maratz banan na tjedan dana Smile
mislim da je to zbog "ja imam 2 custom fancy funkcije (koriste AJAX)", a postavio je pitanje za relativno banalnu stvar Smile


aha.
vec sam mislio da ne prolazi validaciju il nest slicno rrrrrrrah
thx!

_________________
I hate to advocate drugs, alcohol, violence, or insanity to anyone, but they've always worked for me.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Client-side All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group