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
Preload images?

 
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
Zeus



Joined: 09 Sep 2003
Posts: 775
Location: Čakovec

PostPosted: 25.11.2008 21:32    Post subject: Preload images? Add user to your forum ignore list Reply with quote

Ovako, imam stranicu u kojoj su ucitane 4 slike koje su crno bijele. Na njima imam mouseover efekt da su u boji (znači, kada se prijeđe mišem preko slike). Ali kada se učita stranica, ne učitaju se slike, već pri prvom učitavanju to traje dosta sporo (dok učita sliku u boji kada dođeš strelicom iznad). Kako to najjednostavnije riješiti?
Back to top
View user's profile Send private message Twitter profile
base



Joined: 12 Jul 2007
Posts: 96

PostPosted: 25.11.2008 21:47    Post subject: Add user to your forum ignore list Reply with quote

po meni najbolje css-om
google
Back to top
View user's profile Send private message
Limeni



Joined: 13 Nov 2007
Posts: 109

PostPosted: 25.11.2008 23:18    Post subject: :) Add user to your forum ignore list Reply with quote

Hover mozes napravit JavaScriptom i CSS-om. Predpostavljam da si ti napravio sa JavaScriptom ali nisi rekao da se sve slike ucitaju dok se stranica ucitava, pa kad napravis hover moras cekat da se ucita i slika koja prikazuje hover.

Al najbolje ti je to CSS-om napravit. Evo ti odlicnog tutoriala: http://www.mi3dot.org/printable/tutorials/comments/65/
Back to top
View user's profile Send private message
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