obaveštenje za korisnike IE prilikom pristupa sajtu

obaveštenje za korisnike IE prilikom pristupa sajtu

offline
  • Pridružio: 14 Dec 2007
  • Poruke: 314

Pošto sajt koji radim, ne radi normalno u Internet Exploreru , a radi normalno u Operi I Firefox-u, da li postoji neka komponenta za Joomlu ili bilo šta drugo što može poslužiti, da se onda kada korisnik pristupi na sajt preko IE, ispiše neka poruka tipa - sajt je optimizovan za firefox i operu bla bla... ?
Question



Registruj se da bi učestvovao u diskusiji. Registrovanim korisnicima se NE prikazuju reklame unutar poruka.
offline
  • Pridružio: 20 Dec 2004
  • Poruke: 2887
  • Gde živiš: Na Balkanu

To se može izvesti ubacivanjem koda u odgovarajući template fajl.
Pitanje je da li hoćeš da se to obaveštenje vidi unutar same stranice ili hoćeš da se pojavi obaveštenje preko strranice i dugme OK koje se mora pritisnuti.

I jedno i drugo se može izvesti preko JavaScripta, a po meni je drugo mnogo bolje rešenje.

Najbolje rešenje je da se sajt optimizuje za IE, jer preko 50% ljudi i dalje koristi IE. Mnogi od njih (pričam iz sopstvenog iskustva) i ne znaju šta je FF ili Opera. Dešavalo mi se da ih pitam koji browser koriste, a da mi oni odgovore "Internet". Mnogi bi i odustali od posete sajtu, ako za to moraju da preuzimaju FF ili Operu, pogotovo ako koriste dial-up.

Moja preporuka je da se uloži malo truda i sajt optimizuje i za IE.



offline
  • Pridružio: 06 Dec 2007
  • Poruke: 268
  • Gde živiš: Beograd

ovo sam ja dobio uz jedan temp koji sam koristio.....
pa ako mozes iskoristi to....
/**  * RokIEWarn - An IE6 Warning to invite people upgrading to IE6  *  * @version      1.2  *  * @license      MIT-style license  * @author      Djamil Legato <djamil [at] djamil.it>  * @client      Andy Miller @ Rockettheme  * @copyright   Author  */     var RokIEWarn = new Class({    'site': 'sitename',    'initialize': function() {       var warning = "<p>Your are currently browsing this site with <strong>Internet Explorer 6</strong>. When it was released in August of 2001 Internet Explorer 6  was a cutting edge browser, unfortunately after nearly 8 years the technology behind Internet Explorer 6 has lost its luster.  Internet Explorer 6 lacks many powerful features and security enhancements of modern browsers.  It is also very poorly lacking in standards compliance which means it's simply unable to render sites properly without hours of hacks and workarounds.</p>  <p>The last version of Internet Explorer 6 was called Service Pack 1 for Internet Explorer 6 and was released in December of 2004.  By continuing to run Internet Explorer 6 you are open to any and all security vulnerabilities discovered since that date.  In October of 2006, Microsoft released version 7 of Internet Explorer that, in addition to providing greater safety in navigation, which allows the Internet Explorer browser to identify as' modern browsers'. Microsoft has launched Internet Explorer 7 as a high-priority update, and is now available to download for free without any certification requirements. As of Feb 12th, 2008 Microsoft is forcing updates to Internet Explorer 6 in order to move people towards the much improved and secure version 7. Please ensure you don't hamper this process.  It's for your own good!</p> <br /><a class=\"external\"  href=\"http://www.microsoft.com/downloads/details.aspx?FamilyId=9AE91EBE-3385-447C-8A30-081805B2F90B\">Download Internet Explorer 7 NOW!</a>";              this.box = new Element('div', {'id': 'iewarn'}).inject(document.body, 'top');       var div = new Element('div').inject(this.box).setHTML(warning);              var click = this.toggle.bind(this);       var button = new Element('a', {'id': 'iewarn_close'}).addEvents({          'mouseover': function() {             this.addClass('cHover');          },          'mouseout': function() {             this.removeClass('cHover');          },          'click': function() {             click();             }       }).inject(div, 'top');              this.height = $('iewarn').getSize().size.y;              this.fx = new Fx.Styles(this.box, {duration: 1000}).set({'margin-top': $('iewarn').getStyle('margin-top').toInt(), 'opacity': 0});       this.open = false;              var cookie = Cookie.get('rokIEWarn'), height = this.height;       //cookie = 'open'; // added for debug to not use the cookie value       if (!cookie || cookie == "open") this.show();       else this.fx.set({'margin-top': -height, 'opacity': 0});              return ;    },        'show': function() {       this.fx.start({          'margin-top': 0,          'opacity': 1       });       this.open = true;       Cookie.set('rokIEWarn', 'open', {duration: 7});    },       'close': function() {       var margin = this.height;       this.fx.start({          'margin-top': -margin,          'opacity': 0       });       this.open = false;       Cookie.set('rokIEWarn', 'close', {duration: 7});    },       'status': function() {       return this.open;    },    'toggle': function() {       if (this.open) this.close();       else this.show();    } }); window.addEvent('domready', function() {    if (window.ie6) { (function() {var iewarn = new RokIEWarn();}).delay(2000); } });

offline
  • Pridružio: 14 Dec 2007
  • Poruke: 314

gde da to stavim?
greške na IE (logo nije transparentar na IE, a jeste na FF i operi, ivice nisu uobličene, sadržaj ispada iz "ležišta"... kontam da je to template-a , a nemam živaca da sad sve to menjam, tek što sam napravio, i zadovoljan sam izgledom )
tako da bih,svejedno koje od dve mogućnosti, da se ispiše tekst... gde se kuca kod, u index fajl ili ...?
Je l' će to svima iskakati, ili samo korisnicima IE?

Ko je trenutno na forumu
 

Ukupno su 1294 korisnika na forumu :: 40 registrovanih, 4 sakrivenih i 1250 gosta   ::   [ Administrator ] [ Supermoderator ] [ Moderator ] :: Detaljnije

Najviše korisnika na forumu ikad bilo je 3466 - dana 01 Jun 2021 17:07

Korisnici koji su trenutno na forumu:
Korisnici trenutno na forumu: A.R.Chafee.Jr., Areal84, bokisha253, Boris BM, Centauro, CikaKURE, Cobi026, dijica, Dorcolac, FOX, GandorCC, Georgius, hooraay, ikan, Karla, kovinacc, Kriglord, Kubovac, Lieutenant, lord sir giga, Magistar78, Marko Marković, mercedesamg, Metanoja, milutin134, Misirac, nenad81, NoOneEver Dreams, nuke92, Papadubi, procesor, Shinobi, Stanlio, vandrej, Vlada78, vladaa012, voja64, vukdra, Zimbabwe, |_MeD_|