WebSite X5Help Center

 
Łukasz S.
Łukasz S.
User

Problem with html object in header.  en

Автор: Łukasz S.
Просмотрено 2288, Подписчики 2, Размещенный 0  

Hi i make a web www.blackleaf.co with two sites inside. I wan't to make an shortcut to changesite, first of site, but i have problem with that. I put html object at my header place like this:

[a href="http://www.blackleaf.co/"><img alt="" src="http://www.salarias.pl/blackleaf/images/logo.jpg" style="width: 224px; height: 139px; " position: absolute /></a]

 But this isn't work correctly, if you go to f.e. http://www.blackleaf.co/creativeagency/ half graphic work as link :( don;t know how to make it correctly in this place wher logo is.

Размещено
18 Ответы - 3 Полезно
JJ. JUAG
JJ. JUAG
User

Hello,

the correct code are:

<a href="http://www.blackleaf.co/"><img alt=""src="http://www.salarias.pl/blackleaf/images/logo.jpg"style="width: 224px; height: 139px; "position: absolute /></a>

not [ and ]  for first and last clip, correct < and >

greats

JBr.

Читать больше
Размещено От JJ. JUAG
Łukasz S.
Łukasz S.
User
Автор

omg it's the same i put the wrong first and last [] becouse page change my code into www. It's the same, still wrong :(

Читать больше
Размещено От Łukasz S.
Incomedia
Claudio N.
Incomedia

Hello Łukasz,

The code you placed in your header is wrong. Looking into the source code of your site I see there are some errors.

First, don't open again the <body> tag (and, of course, don't close it).

Second, don't use the <font> tag because it is deprecated so it doesn't work anymore.

Moreover, where you close the <body> tag, there's also a </div> which shouldn't be there. Wink

Keep me informed.

Читать больше
Размещено От Claudio N.
Łukasz S.
Łukasz S.
User
Автор

So how should I make this thing? Can you write correct html code for this html object in my header? :(

Читать больше
Размещено От Łukasz S.
Incomedia
Claudio N.
Incomedia

Just type:

<ahref="http://blackleaf.co/creativeagency/" style="text-decoration: none" onMouseOver="logo30.src='http://blackleaf.co/images/on.jpg'"onMouseOut="logo30.src='" target="_blank" rel="nofollow">http://blackleaf.co/images/off.jpg'"><imgsrc="http://blackleaf.co/images/off.jpg" border="0" name="logo30"> Polski (PL) </a>

<ahref="http://blackleaf.co/creativeagency/eng/" style="text-decoration: none" onMouseOver="logo32" src='http://blackleaf.co/images/on.jpg' " onMouseOut="logo32.src='http://blackleaf.co/images/off.jpg' "><imgsrc="http://blackleaf.co/images/off.jpg" border="0" name="logo32"> English (ENG) </a>

<ahref="http://blackleaf.co/creativeagency/ger/" style="text-decoration: none" onMouseOver="logo33.src='http://blackleaf.co/images/on.jpg' " onMouseOut="logo33.src='http://blackleaf.co/images/off.jpg' "><imgsrc="http://blackleaf.co/images/off.jpg" border="0" name="logo33"> Deutsch (GER)</a>

Then style the links using CSS instead of the <font> tag.

Читать больше
Размещено От Claudio N.
Łukasz S.
Łukasz S.
User
Автор

That;s not the problem, problem is leaf on left, it should be shortcut to first site but it works in half :(

Читать больше
Размещено От Łukasz S.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

(Linguaggio Italiano     ) --------------------------------------------- -

... LINK sul LOGO, regolare con IE; ... parziale con CHROME ...!...

... provare con :

#imHeader {position:relative; z-index: 99999; ... ; ... ; ... }

...

... oppure posizionare il logo senza interferire con la barra del  MENU...

... oppure usare un LOGO in formato SWF (Flash), con azione link incorporata...

.

.

bye, KoloAsim

Читать больше
Размещено От  ‪ KolAsim ‪ ‪
Incomedia
Claudio N.
Incomedia

Kolasim is right. You should also remove the properties "absolute="" position:=""" from the img tag.

In the site header, you can place an image with a link simply using the template editor included in WebSite X5 (step 1 -> edit template).Wink

Читать больше
Размещено От Claudio N.
Łukasz S.
Łukasz S.
User
Автор

"In the site header, you can place an image with a link simply using the template editor included in WebSite X5 (step 1 -> edit template).Wink" - i made this with this methode, but as you see this logo is half on menu and menu cut's! rest part of logo is on background of all site. Still don't know how to make that and wish you now understand my problem :(

Читать больше
Размещено От Łukasz S.
Incomedia
Claudio N.
Incomedia

From what I can see in your site, you used a custom HTML code to show the leaf.

You should put an image object in your header, load inside it the belack leaf and then add a link on it. In this way you will get the black leaf together with the correct link.

Читать больше
Размещено От Claudio N.
Łukasz S.
Łukasz S.
User
Автор

I made as you write, but it didn't work as you see. Blackleaf in the middle is on the menu with with subsites and it cuts leaf as url ;(

Читать больше
Размещено От Łukasz S.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

(Linguaggio Italiano     ) --------------------------------------------- -

... hai gà provato come ho detto prima...?...

#imHeader {position:relative; z-index: 99999;}

.

bye KolAsim

Читать больше
Размещено От  ‪ KolAsim ‪ ‪
Cheeky Man
Cheeky Man
User

Wink

Use a transparency in the header and resize it to what you want over any graphic/drawing/image....

Then insert the link function to it...... NO CODE IS NEEDED!!

.

www.frankscybercafe.com

Читать больше
Размещено От Cheeky Man
Łukasz S.
Łukasz S.
User
Автор

 ‪ KolAsim - thx only your method works correct! Thank you man!!!

Читать больше
Размещено От Łukasz S.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

... grazie ... 

Читать больше
Размещено От  ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

(Linguaggio Italiano     ) --------------------------------------------- -

... ci sono degli errori nella pagina, per esempio un tag <body>***</body> replicato e che invece deve essere univoco nel codice...

...

... attualmente il BODY ha il margine sinistro impostato a "0px", (zero pixel)...

... provare ad impostare 38px per avere un allineamento compatibile con l'immagine dello sfondo del sito...

...

... consiglierei un approccio diverso, per esempio, provando a creare il LOGO in formato SWF, che dovrebbe sovrastare tutti i livelli del HEADER, come quello che gira in questa pagina:  http://www.zspace.it/kolasim/wsx5_v8/altobasso/

.

ciao, KolAsim 

Читать больше
Размещено От  ‪ KolAsim ‪ ‪