A community in which webmasters can ask for help with topics such as PHP coding , MySQL , IT jobs, web design, IT security.
Current location:homephp forumphp talk in 2009 yearComplete sifr confusion sifr3 vs sifr2 config - page 1
User InfoPosts
Complete sifr confusion sifr3 vs sifr2 config#1
I(m having two major issues on my site:


A series of links is cutting off the left edges of the menu items and also seemingly transposing characters from other items in the list
I(m having a massive font-size jump: anything between 2em and 3.95em are identical in size, but the moment it steps above that the size jumps hugely.


I realise that I probably need to try offSetLeft for the first and to define the ratios for the second - I just can(t seem to do either.

My problems stem from not being able to comprehend the instructions on the site when compared with the downloadable example.

For example, the downloadable example seems to use the (new( preferred replaceElement method and doesn(t inlude a config.js file.

All the instructions I(ve seen on how to make this work rely on the more (traditional( method of setup and calling via the config file.

Unfortunately I don(t seem to be able to get it working using the traditional method - I(ve only had success at displaying anything when using the example version.

I(ve tried using sifr-debug.js and have been unable to retrieve the ratios which I feel would fix #2.

I have no idea where to insert the (offSetLeft( statement or how to use it within the new replaceElement method.

It(s all complicated by being utilised within Joomla - tho I(ve not used the available plugin as it didn(t work for me and was based on a previous version of sifr.

Here(s the statement at the bottom of my body element:

<script type="text/javascript">
//<![CDATA[
/* Replacement calls. Please see documentation for more information. */

if(typeof sIFR == "function"){
// This is the preferred "named argument" syntax
sIFR.replaceElement(named({sSelector:"ul.menu li", sFlashSrc:"<?php echo $this->baseurl ?>/templates/ambient/swf/karabine.swf",sColor:"#7c171b",sFlashVars: "leading=3", sWmode:"transparent"}));
sIFR.replaceElement(named({sSelector:".categories h3", sFlashSrc:"<?php echo $this->baseurl ?>/templates/ambient/swf/joehand.swf",sColor:"#7c171b",sWmode:"transparent"}));
sIFR.replaceElement(named({sSelector:".blog h1", sFlashSrc:"<?php echo $this->baseurl ?>/templates/ambient/swf/joehand.swf",sColor:"#7c171b",sWmode:"transparent"}));
}
//]]>
</script>


I(m really tearing my hair out here, so any help would be hugely appreciated.

posted date: 2009-04-11 21:23:00


Re: Complete sifr confusion sifr3 vs sifr2 config#2
I had made out the solution of this problem. click to view my topic...

hope that hepls.

posted date: 2009-04-11 21:23:01


Re: Complete sifr confusion sifr3 vs sifr2 config#3
As you say in your question, you(re confused between the sIFR 2 and sIFR 3 configuration. I can(t really help with that — try starting from scratch with the latest sIFR 3 version.

posted date: 2009-04-12 07:32:00


Re: Complete sifr confusion sifr3 vs sifr2 config#4
Hi there - I'm actually unclear on how to setup entirely in sIFR 3: The example download seems to be a 'how to' for sIFR 3, but the instructions on the site seem to be sIFR 2. I've followed the example method.

posted date: 2009-04-13 12:37:00


select page: « 1 »
Copyright ©2008-2017 www.momige.com, all rights reserved.