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
Kako postaviti div iznad diva i podesavanje google translate

 
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
bobinjo



Joined: 06 Mar 2007
Posts: 49

PostPosted: 17.06.2010 10:57    Post subject: Kako postaviti div iznad diva i podesavanje google translate Add user to your forum ignore list Reply with quote

kako mogu postaviti nesto poput ovoga- http://www.tzig.hr/ - png iznad rotatora (posjetnica iznad image rotatora).
kako to rijesim u cssu?

Takoder me zanima kako se moze sprijeciti da kada se ubaci kod za google translate , da se sadrzaj ne povuce dolje, za visinu google loga
Back to top
View user's profile Send private message
darkqueliss



Joined: 27 May 2008
Posts: 1058

PostPosted: 17.06.2010 14:30    Post subject: Re: Kako postaviti div iznad diva i podesavanje google trans Add user to your forum ignore list Reply with quote

Dodaš div koji je pozicioniran apsolutno, i staviš u BG sliku koja je transparentna...

Quote:
<div id="posjeti"></div>


Quote:
#posjeti {
background:url("images/posjeti_ivanic2.png") no-repeat scroll 0 0 transparent;
height:134px;
margin-left:-5px;
margin-top:225px;
padding:0;
position:absolute;
width:196px;
z-index:20;
}


Samo nemoj stavit ko ID nego ko klasu...
Znači .posjeti, ne #posjeti i <div class="posjeti"></div>, a ne <div id="posjeti"></div>
Back to top
View user's profile Send private message
bobinjo



Joined: 06 Mar 2007
Posts: 49

PostPosted: 18.06.2010 12:48    Post subject: Add user to your forum ignore list Reply with quote

ok. napravio sam tako, ali ne radi mi. trebam li sto napraviti na divu za kojeg hocu da bude iza tog png-a.
jer mi je i dalje png iza rotatora....
Back to top
View user's profile Send private message
darkqueliss



Joined: 27 May 2008
Posts: 1058

PostPosted: 18.06.2010 16:25    Post subject: Add user to your forum ignore list Reply with quote

bobinjo wrote:
ok. napravio sam tako, ali ne radi mi. trebam li sto napraviti na divu za kojeg hocu da bude iza tog png-a.
jer mi je i dalje png iza rotatora....


Pa kako iza, probaj sa z index-om...

z-index:-1; dodaj na taj div u kojem ti je png...

Div u kojem ti je rotator skripta mora bit position:relative;

A unutar njega stavi taj div sa png-om... i on mora bit position:absolute;
Back to top
View user's profile Send private message
bobinjo



Joined: 06 Mar 2007
Posts: 49

PostPosted: 18.06.2010 19:53    Post subject: evo kako Add user to your forum ignore list Reply with quote

slika iza rotatora evo kod

.posjeti {
background:url("images/posjeti_ivanic2.png") no-repeat scroll 0 0 transparent;
height:134px;
margin-left:-10px;
margin-top:0px;
padding:0;
position:absolute;
width:196px;
z-index:20;
}


.rotator {
background-image: url(images/pozadinaHeader.jpg);
background-repeat: no-repeat;
height: 275px;
width: 960px;
vertical-align: middle;
background-position: center top;
text-align: left;
background-color: ece9e0;
padding-top: 12px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
margin-top: 0px;
margin-right: auto;
margin-bottom: 0px;
margin-left: auto;
float: none;
text-indent: 9px;
position: relative;
}

.rotatorUnutrasnji {
background-image: url(images/);
background-repeat: no-repeat;
margin: 0px;
height: 280px;
width: 960px;
padding-top: 0px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: -2px;
position: relative;
}


kod

<div class="rotator" id="rotator">
<div class="rotatorUnutrasnji" id="rotatorUnutrasnji"><div class="posjeti" ></div>
<embed
src="imagerotator.swf"
width="935"
height="258"
allowscriptaccess="always"
allowfullscreen="true"
flashvars="file=Gallery.xml&transition=blocks"
/></div>
</div>
Back to top
View user's profile Send private message
darkqueliss



Joined: 27 May 2008
Posts: 1058

PostPosted: 18.06.2010 21:51    Post subject: Re: evo kako Add user to your forum ignore list Reply with quote

Vjerojatno jer imaš flash, napravi rotator sa javascriptom, jQuery...
Back to top
View user's profile Send private message
Moebius



Joined: 26 Jan 2004
Posts: 245
Location: zagreb

PostPosted: 19.06.2010 17:44    Post subject: Add user to your forum ignore list Reply with quote

"Gurni" flashu parametar wmode="transparent"

Code:
<embed
src="imagerotator.swf"
width="935"
height="258"
allowscriptaccess="always"
allowfullscreen="true"
wmode="transparent"
flashvars="file=Gallery.xml&transition=blocks"
/>
Back to top
View user's profile Send private message Visit poster's website
bobinjo



Joined: 06 Mar 2007
Posts: 49

PostPosted: 22.06.2010 19:32    Post subject: hwala Add user to your forum ignore list Reply with quote

hvala, proradilo!1
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