Page 1 of 1

Problems to show correctly flags from a {lang} tag in the menu

Posted: Thu Jan 17, 2008 11:07 am
by ottyscom
Hello

I have a Problem on mi webpage

www.megatopradio.com/_newpage

the flags generated from the {lang} Tag will not showen correctly. The flags will show not horizontal.

At my other page www.ottyscomputerservice.com/_newpage the flaggs will show correctly.

I have used the same code only the flaggs on megatopradio.com are bigger.

this is my code at the template:


 

{* Start lang *}               
                   
          {lang}
       
{menu template='simple_navigation.tpl' collapse='1'}



 


this is my code at the stylesheet:

div#lang {
    position: absolute;
    right:  200px;
    top:  110px;


Can anywhere help me? Where is the problem?

Re: Problems to show correctly flags from a {lang} tag in the menu

Posted: Thu Jan 17, 2008 5:25 pm
by Dr.CSS
I think it may be coming from these not being written correctly...













Should be...







It's showing a bunch of errors in the other parts of the page that I know are not errors...

Re: Problems to show correctly flags from a {lang} tag in the menu

Posted: Sat Jan 19, 2008 9:46 pm
by ottyscom
Hi Mark!

Many many thanks to give me the solution of my errors. i was searched them many time. So now the errors are eliminated. thanks for your help.

at another web www.otschuster.com i have one error too but i don't can eliminate it. i can not find the problem.

can you help me here?

thank you

ottyscom

Re: Problems to show correctly flags from a {lang} tag in the menu

Posted: Sun Jan 20, 2008 4:41 am
by Dr.CSS
The if IE7 call for a script is written wrong...









Should be...







Re: Problems to show correctly flags from a {lang} tag in the menu

Posted: Sun Jan 20, 2008 12:12 pm
by ottyscom
Ok Great! many thanks! The error is solucioned with your help :-)

Now i have another 2 Questions.

The First: How can i integrate the smf Forum in my cmsmadesimple site?

The Second: I will place the server time (ticker) at my page header at right. So i was found a code but i don't know how tu put in on the cmsmadesimple correctly for funcioning:

This is the code:





);

function UhrzeitAnzeigen()
{
    if(!document.all && !document.getElementById)
    {
        return;
    }

    var Stunden = Serverzeit.getHours();
    var Minuten = Serverzeit.getMinutes();
    var Sekunden = Serverzeit.getSeconds();
    Serverzeit.setSeconds(Sekunden+1);

    if(Stunden

Uhrzeit des Webservers mit Javascript und PHP dynamisch anzeigen


Uhrzeit:



HAve you an solution of my two questions?

Thank You

Ottyscom

Re: Problems to show correctly flags from a {lang} tag in the menu

Posted: Mon Jan 21, 2008 12:39 am
by Dr.CSS
I've made smf look like it was part of a site by adding the site menu to the top of it's html/template but it was hard coded not dynamic, you have to render a page on your site then look at the source and copy the menu ul li and paste it into the smf template and then use your CSS for the menu adding it to the CSS for your forum...

There is a tag for the date time in Tags, the help for it explains how to format it...

Re: Problems to show correctly flags from a {lang} tag in the menu

Posted: Mon Jan 21, 2008 3:02 am
by cubix
http://forum.cmsmadesimple.org/index.ph ... 785.0.html

regarding the code pasted.

you can use {literal} and {/literal} tags around the js. and UDT for the one line of php.

Re: Problems to show correctly flags from a {lang} tag in the menu

Posted: Mon Jan 21, 2008 10:25 am
by ottyscom
This i have do but how do i put the body onload ?

The body onload in cmsmms not works :-(