61
kaotik
@font-face Compress & Create eot fonts easily
  • 2010/4/12 16:40

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


If anyone else is using @font-face to display fonts, I just found this great tool that will convert your ttf font into a compressed eot font.
It's compression ratio is around 50% which is great plus it's incredibly easy to use.
http://eotfast.com/




62
kaotik
Re: Anyone interested in a tetris-module for XOOPS 2.4x?
  • 2010/3/26 23:46

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


very nice



63
kaotik
Re: fade in fade out text
  • 2010/3/24 17:03

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


Now using jquery .toggle().
This alternates between 2 actions, in this case fadeIn and fadeOut.
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>

    <
script type="text/javascript">
    $(
document).ready(function(){
    $(
'#book2').hide(); //Initially hide the div
    
    
$('#clickme2').toggle(function() {
      $(
'#book2').fadeIn('slow', function() { }); //END FADEIN
}, function() {
      $(
'#book2').fadeOut('slow', function() { }); //END FADEOUT
});// END TOGGLE
    
   
}); //END READY
    
</script>
    
        <
div id="clickme2">
    <
a href="#">Click here for toggle</a>
    </
div>   
    <
div id="book2">Toggle is very cool!</div>



64
kaotik
Re: fade in fade out text
  • 2010/3/24 16:55

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


If you want to learn more about jquery, do a search on XOOPS news for "jquery tutorials"



65
kaotik
Re: fade in fade out text
  • 2010/3/24 16:52

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


Code to fadein a div that contains text:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>

    <
script type="text/javascript">
    $(
document).ready(function(){
    $(
'#book').hide(); //Initially hide the div
$('#clickme').click(function() { //If click occurs process what's inside
      
$('#book').fadeIn('slow', function() { // Do a fade in
        // You can perform aditional actions on fade in by placing code here
      
}); //END FADEIN
    
}); //END CLICK
   
}); //END READY
    
</script>
    
    <
div id="clickme">
    <
a href="#">Click here</a>
    </
div>
    
    <
div id="book">Hello World!</div>



66
kaotik
Re: 1--page Horizontal layouts
  • 2010/3/16 9:42

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


Very creative themes! Well done!



67
kaotik
Re: add php code and mysql query in any content module editor ?
  • 2010/3/3 13:25

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


Are you tring to add content to a module or to a wysiwyg editor?

For the first:
Yes it's possible. There are 2 ways of accomplishing this:
1- Without use of smarty templates
In this case open the corresponding php file (for ex: article.php), perform your db query and output the result [echo $var;]. Be advised that this method could break ajax functionality if it exists in the module.
2- With smarty templates
This method stats the same as method 1, but instead of using an "echo" you will insert a new smarty var. This requieres changes in 2 files; the php file and smarty template.



68
kaotik
Re: Strange jQuery conflict
  • 2010/3/1 10:14

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


have you tried searching publisher for any jquery code?

It's possible publisher is running it's own jquery code, thus causing this conflict.



69
kaotik
Re: Help with a php function for my project
  • 2010/2/18 0:20

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


send me a pm with the username you registered at dev.xoops so I can add you.



70
kaotik
Re: Help with a php function for my project
  • 2010/2/17 15:15

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


Hi
Some graphs would definitly be nice for kshop :)
I stopped developing kshop some time ago so it's nice to see someone else picking up this module.
If you like I'll place you as module developer for this module at dev.xoops.org




TopTop
« 1 ... 4 5 6 (7) 8 9 10 ... 59 »



Login

Who's Online

156 user(s) are online (123 user(s) are browsing Support Forums)


Members: 0


Guests: 156


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits